Categories > OpenTBS with DOCX >

TinyButStrong Error OpenTBS Plugin: 74 The process is ending, unless you set NoErr property to true.

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: frock81
Date: 2014-04-11
Time: 22:07

TinyButStrong Error OpenTBS Plugin: 74 The process is ending, unless you set NoErr property to true.

First I'd like to congratulate you guys for the support and for the amazing tool that is TinyButStrong.

TinyButStrong Error OpenTBS Plugin: 74 The process is ending, unless you set NoErr property to true.

This one spent some time of mine until I went debugging.

I was trying to merge a block of pictures without success. No helpful output. The merge was ok on an odt file.

2316: function OpenXML_CTypesCommit($Debug) {

[...]

2344: if ($ct==='') {
2345:                     $this->RaiseError("(OpenXML) '"+$ext+"' is not an picture's extension recognize by OpenTBS.");
2346:                 } else {
2347:                     $x .= '<Default Extension="'.$ext.'" ContentType="'.$ct.'"/>';
2348:                 }

The +$ext+ part was in the way (not javascript). It prevents the expected exhibition of the message.

Happens that I was using pictures without extensions in the name (just the hash). Seems it is needed for the OpenXML, but not for the ODT. Not mentioned in the docs.

Using OpenTBS version 1.9

Any hints about how to modify OpenTBS to accept a picture without an extension?
By: Skrol29
Date: 2014-04-11
Time: 23:11

Re: TinyButStrong Error OpenTBS Plugin: 74 The process is ending, unless you set NoErr property to true.

Hi,

Thanks for reporting the bug in the code.

>Any hints about how to modify OpenTBS to accept a picture without an extension?

You can add the extension in the name of the internal name using parameter "as":
[onshow.x;ope=changepic;as='[val].png']
By: frock81
Date: 2014-04-11
Time: 23:23

Re: TinyButStrong Error OpenTBS Plugin: 74 The process is ending, unless you set NoErr property to true.

I had tried it already. Didnt work. Same error. The name of the file acts as the extension.
By: Skrol29
Date: 2014-04-16
Time: 01:42

Re: TinyButStrong Error OpenTBS Plugin: 74 The process is ending, unless you set NoErr property to true.

Hi,

I've tested with parameter "as" and it worked for me.
What is the format of your file to insert, and what is the format of the picture in the template ?
By: frock81
Date: 2014-04-16
Time: 18:46

Re: TinyButStrong Error OpenTBS Plugin: 74 The process is ending, unless you set NoErr property to true.

I'm a little bit out of time with some deadlines. Back then, I was able to modified the application to work, not the plugin, in attempt to save some time. Maybe I can give it a try in a couple of weeks. Perhaps I was doing something wrong using the parameter "as". Anyway, thank you for your time and support. You've always been helpful.