QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: baizq on November 9, 2015, 20:52

Title: generating gif movie
Post by: baizq on November 9, 2015, 20:52
Hi All,

I am trying to generate an animation gif file for the relaxation process of a system from the nc file. Although it says "generating movie - please wait", it does not generate a movie at all even after several hours waiting

May I know whether it is a bug? I am running VNL 15.0 on Ubuntu 14.04.

Thanks,
baizq
Title: Re: generating gif movie
Post by: Anders Blom on November 9, 2015, 23:04
Run "vnl" from the terminal instead of the desktop icon and look for error messages in the terminal. Probably you are missing some jpeg library or similar. Please share your message to let others know if they search for the same issue! Thanks!
Title: Re: generating gif movie
Post by: baizq on November 9, 2015, 23:43
Hi Anders,

Thank you. Here is the error msg:

Code
Traceback (most recent call last):
  File "./zipdir/NL/GUI/Graphics/GL/GLCanvas.py", line 896, in exportGIF
  File "./zipdir/NL/GUI/Core/AnimatedGIF.py", line 573, in writeGif
  File "./zipdir/NL/GUI/Core/AnimatedGIF.py", line 289, in handleSubRectangles
  File "./build/lib/python2.7/site-packages/PIL/Image.py", line 677, in convert
  File "./build/lib/python2.7/site-packages/PIL/Image.py", line 743, in copy
  File "./build/lib/python2.7/site-packages/PIL/ImageFile.py", line 164, in load
  File "./build/lib/python2.7/site-packages/PIL/PngImagePlugin.py", line 381, in load_prepare
  File "./build/lib/python2.7/site-packages/PIL/ImageFile.py", line 231, in load_prepare
  File "./build/lib/python2.7/site-packages/PIL/Image.py", line 37, in __getattr__
ImportError: The _imaging C module is not installed

You are right that the _imaging C module is not installed on my workstation. What should I do with the problem?

Thanks,
baizq
Title: Re: generating gif movie
Post by: ams_nanolab on November 10, 2015, 07:07
Search for the library from synaptics package manager in Ubuntu. Also be sure to have all the developer libraries for C, C++ installed in Linux.
Title: Re: generating gif movie
Post by: Anders Blom on November 10, 2015, 21:43
Thanks for posting the message, we're checking if this is something you can fix yourself, or needs to be done on our side.
Title: Re: generating gif movie
Post by: baizq on November 11, 2015, 04:31
Thank you, Anders! Hope to hear back from you soon.
Title: Re: generating gif movie
Post by: Anders Blom on February 14, 2016, 22:04
Did you resolve this by installing some package, or should I follow up with our developers? I forgot to post a bug report back then, can do it now unless it's gone away (14.04 is quite old, maybe time to upgrade your Ubuntu :) )