Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If Imagemagick lib is missing locally, failure mode is pretty harsh #42

Open
starsinmypockets opened this issue Jun 1, 2018 · 3 comments

Comments

@starsinmypockets
Copy link
Contributor

description

If the uploadfs consumer is trying to use imagemagick backend without the imagemagick library installed locally, the current implementation falls back to jimp (whatever Jimp is!) and jimp just Borks... for me at least. The resulting callstack does little to help troubleshoot the error... for me at least.

steps to reproduce

I hit this using https://github.com/apostrophecms/apostrophe-enterprise-testbed but should be easy to reproduce by running the tests locally without imagemagick installed.

Action

Probably we should catch this error and offer a polite explanation that the imagemagick library needs to be installed in order to use the imagemagick backend. Maybe even a link to the installation instructions if we're feeling generous ;)

@boutell
Copy link
Member

boutell commented Jun 1, 2018 via email

@boutell
Copy link
Member

boutell commented Jun 1, 2018 via email

@starsinmypockets
Copy link
Contributor Author

Probably need better steps to reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants