Advanced search  

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

Pages: [1]   Go Down

Author Topic: Problem with ImageMagick  (Read 11731 times)

0 Members and 1 Guest are viewing this topic.

Megachip

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Problem with ImageMagick
« on: February 20, 2009, 06:05:47 pm »

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?

Code: [Select]
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
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Problem with ImageMagick
« Reply #1 on: February 20, 2009, 11:32:57 pm »

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
Logged

Megachip

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: Problem with ImageMagick
« Reply #2 on: February 22, 2009, 05:47:18 pm »

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
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Problem with ImageMagick
« Reply #3 on: February 22, 2009, 10:04:55 pm »

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
Logged

Megachip

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: Problem with ImageMagick
« Reply #4 on: March 14, 2009, 03:32:41 am »

Anything new on it? Still get the error with 3.4.1a
Code: [Select]
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?
Logged

Desim

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Problem with ImageMagick
« Reply #5 on: July 09, 2009, 01:21:17 pm »

*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:
Quote
14: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)
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Problem with ImageMagick
« Reply #6 on: July 09, 2009, 05:24:19 pm »

* 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
Logged

Megachip

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: Problem with ImageMagick
« Reply #7 on: July 09, 2009, 06:09:07 pm »

For my information: ImageMagick is really better than GD ?
Don't compared it myself, only read some tests and comparisons...
Logged

Desim

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Problem with ImageMagick
« Reply #8 on: July 09, 2009, 06:15:55 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... :-\
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Problem with ImageMagick
« Reply #9 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
Logged

Desim

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Problem with ImageMagick
« Reply #10 on: July 13, 2009, 01:57:19 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?
Logged

Desim

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Problem with ImageMagick
« Reply #11 on: July 13, 2009, 02:00:57 pm »

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

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Problem with ImageMagick
« Reply #12 on: July 15, 2009, 11:36:47 am »

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
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Problem with ImageMagick
« Reply #13 on: July 15, 2009, 03:00:44 pm »

Ok,

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

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

Etienne

Logged

bitcloud

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
Re: Problem with ImageMagick
« Reply #14 on: July 29, 2009, 03:52:59 pm »

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 :)

Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Problem with ImageMagick
« Reply #15 on: August 03, 2009, 05:46:51 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 19 queries.