[GRASS-user] g.gui.animation

Anna Petrášová kratochanna at gmail.com
Tue Oct 1 14:07:09 PDT 2013


Hi,

I am sending this to user mailing list since I would like to let others
know that this issue is resolved.


On Tue, Oct 1, 2013 at 1:12 PM, E.J. Neafsey <eneafse at lumc.edu> wrote:

> Dear Anna,
>
> Problem with g.gui.animate solved!  It's a long story, but I had several
> versions of libpng on my system, and the most recent one (libpng16) was
> loading into GRASS along with the others and messing things up.  I moved
> the library where it could not be found, recompiled GRASS, and
> everything worked!
>
> Thanks for your assistance.  Your email said g.gui.animate worked on your
> linux
> system and that made me start to suspect something on my system outside
> of GRASS could be at fault.
>

Glad to hear that! If you have other issues, just ask.

Anna





> Thanks again.
>
> E.J. Neafsey
>
>
> Anna Petrášová <kratochanna at gmail.com> writes:
>
> > Hi,
> >
> > are you using wxGUI (Layer manager + map display) or d.mon wx0? If you
> are
> > using d.mon, it could cause this strange behavior. If that's not your
> case,
> > please try again with updated version of grass, I added some warning if
> > rendering fails. So have a look in the terminal if there is some warning.
> > You can also set debug mode before launching animation tool:
> > g.gisenv set=WX_DEBUG=5
> > g.gisenv set=DEBUG=5
> >
> > and send me the output.
> >
> > Hopefully some of these suggestions will be helpful.
> >
> > Anna
> >
> > On Mon, Sep 30, 2013 at 6:26 PM, E.J. Neafsey <eneafse at lumc.edu> wrote:
> >
> >> Dear Anna,
> >>
> >> Thanks for your reply.  I set the "computational region" to one of my
> >> rasters but still could not get the actual rasters to display on the
> >> screen.
> >>
> >> The filename of the first raster is present at the upper left corner,
> but
> >> no actual
> >> picture appears.  In addition, the filename does NOT change as the
> >> slider moves across.
> >>
> >> In addition, if I check the "Show raster legend" box in the "Add new
> >> animation" window, , I receive the following error message, which may
> >> help:
> >>
> >> ===============================================================
> >> Traceback (most recent call last):
> >>   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/animation/
> >> frame.py", line 156, in OnAddAnimation
> >>
> >> self.controller.AddAnimation()
> >>   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/animation/
> >> controller.py", line 256, in AddAnimation
> >>
> >> self._setAnimations()
> >>   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/animation/
> >> controller.py", line 312, in _setAnimations
> >>
> >> self._updateBitmapData()
> >>   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/animation/
> >> controller.py", line 371, in _updateBitmapData
> >>
> >> self._loadLegend(animData)
> >>   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/animation/
> >> controller.py", line 403, in _loadLegend
> >>
> >> bitmap = prov.LoadOverlay(animationData.legendCmd)
> >>   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/animation/
> >> mapwindow.py", line 503, in LoadOverlay
> >>
> >> return wx.BitmapFromImage(autoCropImageFromFile(filename))
> >>   File
> >> "/usr/local/grass-7.0.svn/etc/gui/wxpython/core/utils.py",
> >> line 1104, in autoCropImageFromFile
> >>
> >> pilImage = Image.open(filename)
> >>   File "/usr/local/lib/python2.7/site-
> >> packages/PIL/Image.py", line 2006, in open
> >>
> >> raise DecodeError("cannot identify image file")
> >> Image
> >> .
> >> DecodeError
> >> :
> >> cannot identify image file
> >> ===============================================================
> >>
> >> Thanks for your help.
> >>
> >> I wasn't sure if I should reply to the list, so I sent this directly to
> >> you.
> >>
> >> --
> >> E.J. Neafsey / eneafse at lumc.edu
> >> My YouTube Channel:
> >> http://www.youtube.com/channel/UCwCu_G_7KpSpSp48MHvyOYg?feature=mhee
> >>
> >>
> >>
>
> --
> E.J. Neafsey / eneafse at lumc.edu
> My YouTube Channel:
> http://www.youtube.com/channel/UCwCu_G_7KpSpSp48MHvyOYg?feature=mhee
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20131001/6c94b730/attachment.html>


More information about the grass-user mailing list