Hi,

I have installed on my Drupal 8 the ImageMagick Module. The ImageMagick module is installed on my server.

On the field "Path to the package executable", I wrote the path : /usr/bin/

But, when I click on the button, I have the following message "ImageMagick error -1: No error message."

Do you have an idea ?

Thank you in advance.
Best regards.

Kévin

CommentFileSizeAuthor
#10 2824084-10.patch1.54 KBmondrake

Comments

kevin671 created an issue. See original summary.

mondrake’s picture

Category: Bug report » Support request
Priority: Critical » Normal

Hi @kevin671

besides the error message, does the toolkit work? Asking because I've seen other cases where even if the return code of the op sys execution of the ImageMagick command is not zero, there are no evident error messages and the command is actually executed ok.

Does the 'VERSION INFORMATION' box report the ImageMagick version details?

Any more info in the dblog?

You may also want to enable debugging, see #2078943-3: Occasional User error: ImageMagick error 9: No error message, and report back the output you'll get in the dblog.

earelin’s picture

I have the same message on the log. I have added the -debug All option but no errors are reported. Also I am not able to load the edit style page, the browser is waiting webserver response that does not come. I have check the webserver log and I have no errors, also there are no server load when you try to load the edit style page. I will try to trace what is happening.

Regards,
Xavier

mondrake’s picture

Are you running on Windows?

There are a couple of issues there, that are solved in the 8.x-2.x branch but still need to be ported to the 8.x-1.x branch:
#2761205: Unable to configure path for Windows
#2779981: identify() has problems on Windows

earelin’s picture

The error in the image styles is related to memcache module. But I am geting that "ImageMagick error 1: No error message." log entry.

mondrake’s picture

But is the toolkit functional? I am also getting that log entry with ImageMagick 6.8.9-9, but only when I open the toolkit configuration form, as a result of running 'convert -list format', but I have no side effects - images get identified and converted correctly.

earelin’s picture

The toolkit looks OK.

mondrake’s picture

Thanks for feedback @earelin.

I start thinking that to avoid confusing messages, we should refrain from logging entries where there is no error message returned from the execution of convert/identify. Or at least log as warning, adding a flag in the configuration screen if we want that. Currently, any time the return code from the execution of convert/identify is different from 0, an entry is logged. That seems too much.

mondrake’s picture

Version: 8.x-1.0-alpha1 » 8.x-1.x-dev
mondrake’s picture

Status: Active » Needs review
StatusFileSize
new1.54 KB

Something like this (no config option yet)

mondrake’s picture

  • mondrake committed 9135fd4 on 8.x-2.x
    Issue #2824084 by mondrake, earelin, kevin671: ImageMagick error -1: No...

  • mondrake committed bf46d39 on 8.x-1.x
    Issue #2824084 by mondrake, earelin, kevin671: ImageMagick error -1: No...
mondrake’s picture

Status: Needs review » Fixed

So let's do #10 for now, this will help to sort out bug reports between 'errors' (when we have a material error message from ImageMagick) and 'warnings' (when we have a non-zero return code but no error message).

mondrake’s picture

Category: Support request » Task

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.