openequella / openEQUELLA

Core openEQUELLA sources
https://openequella.github.io/
Apache License 2.0
42 stars 44 forks source link

Latest Image Magick doesn't work cleanly on Windows #705

Open cbeach47 opened 5 years ago

cbeach47 commented 5 years ago

Describe the bug Modern versions of Image Magick don't have identify and convert as executable applications. On Windows, you need to run magick identify, and on CentOS, the identify and convert commands are automatically setup as aliases to magick.

Note: On CentOS, IM 7.0.6-10 looks to work with oE without issue.

To Reproduce Steps to reproduce the behavior:

  1. On Windows, install the latest IM (7.0.8)
  2. Open a command terminal, and run identify. Note the error.
  3. Run magick identify. Note it works
  4. Tie in oE's IM config to the IM install location and restart. Note the error in the logs.

Expected behavior oE should be able to run against the latest version of IM without custom aliases or system changes.

Screenshots n/a

Stacktrace n/a

Platform:

Additional context Some discussion should be had on how to more future-proof the oE / IM integration. Hard coding magick convert and magick identify could put us back in this same situation.

mrblippy commented 5 years ago

Also logged here https://github.com/equella/Equella/issues/339

edalex-ian commented 5 years ago

@cbeach47 did you end up getting it working though (work around style - maybe a batch script or something)?

Or until we do a code change we're stuck at version 6 on Windows?

edalex-ian commented 5 years ago

Anything else @cbeach47

cbeach47 commented 5 years ago

We ended up installing IM 7.0.7 and selected the option to install the legacy utilities of convert and identify.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.