taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Dunlop <ianwdun...@gmail.com>
Subject Re: player portal image magick error
Date Wed, 24 Aug 2016 09:35:30 GMT
Hello,

It's some sort of identify/imagemagickissue. If you  get rid of the
paperclip styles in app/model/workflow.rb then it works. But that kind of
defeats the point. Seems like it is a known issue
https://github.com/thoughtbot/paperclip/issues/1405.

So, I went to the Dockerfile that Finn created

https://hub.docker.com/r/fbacall/taverna-player-portal/~/dockerfile/

and installed the packages it recommends that  were not already present on
my machine:
apt-get install -y libtool libmagickwand-dev graphviz

I have the feeling  it may be libmagickwand that sorted it out.

and it now works.

Cheers,

Ian

On 23 August 2016 at 16:56, Ian Dunlop <ianwdunlop@gmail.com> wrote:

> Hello,
>
> With docker it all works but I wanted to run the portal outside it to make
> debugging easier. But of course I got an error when uploading a workflow:
>
>
>    - Diagram Paperclip::Errors::NotIdentifiedByImageMagickError
>
> From development log
>
> Command :: file -b --mime '/tmp/image_123432070214370880320160823-
> 18831-ln4fte'
> Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/
> 76f4a67e378439c2501975a8de824cc020160823-18831-fkmog1[0]' 2>/dev/null
> [paperclip] An error was received while processing: #<Paperclip::Errors::
> NotIdentifiedByImageMagickError: Paperclip::Errors::
> NotIdentifiedByImageMagickError>
>
> Any ideas? ImageMagick was  installed from apt on ubuntu 14.04, ruby 1.9.3
>
> Cheers,
>
> Ian
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message