Ask Your Question
2

Problem : ImageMagick and animate

asked 2018-02-12 16:44:56 -0600

kroko gravatar image

updated 2018-02-13 07:11:37 -0600

tmonteil gravatar image

Hi,

I have Sage 8.1 and ImageMagick (installed from 7.0.7-22-Q16-x64-dll.exe) installed on W10.

When I execute in Sage Notebook :

sines = [plot(c*sin(x), (-2*pi,2*pi), color=Color(c,0,0), ymin=-1, ymax=1) for c in sxrange(0,1,.2)]
a = animate(sines)
a.show()

I get this :

convert.exe: unable to open image
'/dot_sage/temp/my_desktop/17724/tmp_bfv0BC.gif': No such file or
directory @ error/blob.c/OpenBlob/3335.
Animation with 5 frames

And I have no animation.

How can I solve this ?

Thank you

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-02-14 21:08:11 -0600

slelievre gravatar image

The version of SageMath provided by the SageMath installer for Windows might not be able to pick up system libraries from the ambient Windows.

It might be necessary to have ImageMagick installed for the SageMath installer's underlying Cygwin.

I added a suggestion to include ImageMagick in the next version of the SageMath installer for Windows, which should be released shortly after the release of SageMath 8.2.

In the meantime, you could explore alternative ways to use Sage under Windows 10, such as those listed in the answer to:

edit flag offensive delete link more
0

answered 2018-02-13 04:24:44 -0600

tmonteil gravatar image

I can not help much more since i am not using windows, but it seems that there is a problem with the $DOT_SAGE environment variable being understood as /dot_sage/ directory.

Could you please provide what is returned when you type (from the Sage interface you are using):

import os
os.environ['DOT_SAGE']
edit flag offensive delete link more

Comments

Thank you very much for your answer.

Here is what I get :

'/dot_sage'

kroko gravatar imagekroko ( 2018-02-13 16:09:25 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-02-12 16:44:56 -0600

Seen: 135 times

Last updated: Feb 14