Skip to content

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

@starsinmypockets

Description

@starsinmypockets

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions