Problem with ImageMagick Problem with ImageMagick
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Problem with ImageMagick

Started by Megachip, February 20, 2009, 06:05:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Megachip

ImageMagick doesn't work with JUpload (possible another bug of Windows Server). Is there an possiblity to force JUpload to use GD without setting it for the whole gallery?


18:04:00.464 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Error executing ImageMagick - Return value: 12

Or any ideas how to solve the ImageMagick bug? (for the rest of the gallery it worx fine)

THX

Regards Meg

etienne_sf

Hi,

You're the first to have this kind of trouble, or perhaps the only one to use imageMagic?
Just kidding.


There is currently no way to use GD only for jupload.

The correct way to manage that, is to make imageeMagik  work. I'll search about it. As I'm off for some days, it will be next week.
can you post here a picture that doesn't work? Or perhaps it works with no picture at all ?

Etienne

Megachip

Hello etienne,

No picture work. Possible i'm the only one, which use image magick with an windows server^^

But because of the much better image quality i don't want to switch to gd.

unfortunately, i couldn't find anything about Return value: 12

etienne_sf

Hi,

  I have to say that I didn't test with ImageMagick. It will have to wait a little, as download link on the ImageMagick site doesn't work, currently. I sent them a mail. I guess it will be corrected correctly.

Etienne

Megachip

Anything new on it? Still get the error with 3.4.1a

03:28:51.749 [DEBUG] [DEBUG] upload_picture.php: After jupload_add_physical_file
03:28:51.749 [DEBUG]
03:28:51.749 [DEBUG] ERROR: Error executing ImageMagick - Return value: 12
03:28:51.749 [DEBUG] End of upload_picture.php
03:28:51.765 [DEBUG] -------- Response Body End --------
03:28:51.765 [DEBUG] HTTP status: 200 OK
03:28:51.765 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Error executing ImageMagick - Return value: 12
03:28:51.765 [ERROR]  (Error executing ImageMagick - Return value: 12
03:28:51.765 [ERROR] )
03:28:51.765 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Error executing ImageMagick - Return value: 12
03:28:51.765
03:28:51.765 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:700)
03:28:51.765 at wjhk.jupload2.upload.DefaultFileUploadThread.doChunkedUpload(DefaultFileUploadThread.java:462)
03:28:51.765 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:368)
03:28:51.765 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:289)
03:29:24.883 [DEBUG] End of the FileUploadThread


i can't belive that i'm the only one which uses imageMagick?

Desim

*doum doum* le petit Etienne est demandé à l'accueil. ???

Hello,
I'm having the same problem with imageMagick,
I'm using apache server, php 5.2.9, mySQL, coppermine 1.4.25 and imageMagick 6.5.4-Q16

popup error: see attached picture

I'll print the debug output here:
Quote14:15:05.421 [DEBUG] [DEBUG] upload_picture.php: After jupload_add_physical_file
14:15:05.421 [DEBUG]
14:15:05.421 [DEBUG] ERROR: Error executing ImageMagick - Return value: 12
14:15:05.421 [DEBUG] End of upload_picture.php
14:15:05.421 [DEBUG] -------- Response Body End --------
14:15:05.437 [DEBUG] HTTP status: 200 OK
14:15:05.437 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Error executing ImageMagick - Return value: 12
14:15:05.437 [ERROR]  (Error executing ImageMagick - Return value: 12
14:15:05.437 [ERROR] )
14:15:05.437 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Error executing ImageMagick - Return value: 12
14:15:05.437
14:15:05.437    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:711)
14:15:05.437    at wjhk.jupload2.upload.DefaultFileUploadThread.doNonChunkedUpload(DefaultFileUploadThread.java:532)
14:15:05.437    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:370)
14:15:05.437    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:289)

etienne_sf

* doum doum *

  I did not have time to work on this one. I guess I'll look that...


For my information: ImageMagick is really better than GD ?

Etienne

Megachip

Quote from: etienne_sf on July 09, 2009, 05:24:19 PM
For my information: ImageMagick is really better than GD ?
Don't compared it myself, only read some tests and comparisons...

Desim

Quote from: Megachip on July 09, 2009, 06:09:07 PM
Don't compared it myself, only read some tests and comparisons...
Same here, to be honest, I made a quick comparison right now but I only have a few files uploaded yet so maybe you only see the differences with a lot of files... :-\

etienne_sf

hi,

I did a new test, with ImageMagick, It seems to work with last release (3.6.1), I made some refactoring.

Can you confirm it?

Etienne

Desim

Quote from: etienne_sf on July 11, 2009, 06:06:41 PM
hi,

I did a new test, with ImageMagick, It seems to work with last release (3.6.1), I made some refactoring.

Can you confirm it?

Etienne
Hi,
I dowloaded your last release and I get another error now,
it's a (java-like) alert message but from the moment it pops up, my browser freezes and no text related to the error is shown.
I tried in debug mode but even there it froze and no way to copy anything, I have to restart my browser (using firefox 3.5).
Any clue?

Desim

I'm incluing a printscreen of what the problem looks like.

etienne_sf

Hi,

  Yes, I discovered that applet freezing is back. I'm not happy at all !  :(

In your temporary folder, you should have (at least) one file named like this one: jupload_7136457315606794857_log.txt

Can you attach here the one relative to this error ?

Etienne

etienne_sf

Ok,

  Applet freezing is away again. Please check the attached version.

Can you test with it, and post the debug output here ?

Etienne


bitcloud

G'day Mate,

I'm getting the same problem (ImageMagick - return Code 12)
ImageMagick works everywhere else...

fwiw, I've found IM to be far more powerful than GD (handles transparencies well - overlays etc etc... loads of documentation)

OK, I've been having the problem with 3.6.2, and I also tested it with 3.6.2rc1 (that you attached in the above message) and encountered the same issue.

My debug code is attached... Cheers :)


etienne_sf

hi,

  I know there is a problem using jupload with ImageMagick. this is on my todo list.

But I'll work on in two weeks at best.

Etienne