Page 1 of 1

Incomplete processing ... file left as filename.jp_

Posted: Mon Feb 08, 2016 6:28 pm
by webagent
I've been testing out NConvert as a solution to a project where rotating images is needed. It seems that on occasion the image temp file created is not completed as it remains in the .jp_ state. Are there any suggestions on how to look further into this or a known solution?

These are the arguments passed ...

<CFSET VARIABLES.arguments = "-out jpeg -jpegtrans rot90 -rotate 90 -overwrite" />

This is the Coldfusion execution ...

<CFEXECUTE NAME="#VARIABLES.imageConverter#" TIMEOUT="20" ARGUMENTS="#VARIABLES.arguments# #VARIABLES.imageSource#" VARIABLE="result"></CFEXECUTE>

UPDATE ...

changed arguments to "-out jpeg -jpegtrans rot90 -rotate 90 -overwrite -no_auto_ext" and it seems after about 50 or so rotation calls that this works but if anyone knows why when "-no_auto_ext" isn't used it randomly doesn't complete the update leaving files with the extension .jp_ .. I'd still like to know.

Re: Incomplete processing ... file left as filename.jp_

Posted: Mon Feb 08, 2016 9:15 pm
by XnTriq
Are any of those JPEGs write-protected, webagent?

Re: Incomplete processing ... file left as filename.jp_

Posted: Wed Feb 17, 2016 5:03 pm
by webagent
No write protection. The initial file name for example is "5045094165612.1.jpg" and when this fails to complete it will be "5045094165612.1.jp_". The file is actually rotated though. If I change the extension from "jp_" to "jpg" the image looks as I expect it to. For some reason though it retains the underscore on what seems to be random.

These are the commands I'm sending ... I added that last param thinking it would force no name change

"-out jpeg -jpegtrans rot90 -rotate 90 -overwrite -no_auto_ext"

Any suggestions?

Re: Incomplete processing ... file left as filename.jp_

Posted: Thu Feb 18, 2016 8:39 am
by xnview
could you send me a jpeg file used?

Re: Incomplete processing ... file left as filename.jp_

Posted: Thu Feb 18, 2016 2:29 pm
by webagent
Where should I send the files to? I tried uploading them but they're over 2mb each. One is a rotated image with the underscore fixed and the other would be the same file with the underscore issue.

Re: Incomplete processing ... file left as filename.jp_

Posted: Fri Feb 19, 2016 3:02 pm
by xnview
webagent wrote:Where should I send the files to? I tried uploading them but they're over 2mb each. One is a rotated image with the underscore fixed and the other would be the same file with the underscore issue.
on contact at xnview dot com

Re: Incomplete processing ... file left as filename.jp_

Posted: Fri Feb 19, 2016 3:39 pm
by webagent
sent

Re: Incomplete processing ... file left as filename.jp_

Posted: Mon Feb 22, 2016 9:10 am
by xnview
thanks, i've tried in a console, but no filename.jp_ exists... Could you try in a command window?