[GRASS-dev] [GRASS GIS] #2177: g.gui.animation fail to create gif

GRASS GIS trac at osgeo.org
Tue Jan 28 07:12:26 PST 2014


#2177: g.gui.animation fail to create gif
-----------------------------+----------------------------------------------
 Reporter:  lucadelu         |       Owner:  grass-dev@…              
     Type:  defect           |      Status:  new                      
 Priority:  normal           |   Milestone:  7.0.0                    
Component:  wxGUI            |     Version:  svn-trunk                
 Keywords:  g.gui.animation  |    Platform:  Unspecified              
      Cpu:  Unspecified      |  
-----------------------------+----------------------------------------------
 Hi dev,

 today I discovered that g.gui.animation fail to create gif image.

 Until few weeks ago it worked really well, the error that we (my colleague
 told me this problem and I'm able to replicate it) discovered is the
 following


 {{{
 must be string or buffer, not None

 Reason: must be string or buffer, not None

 Traceback (most recent call last):
   File "/home/lucadelu/compilati/grass7/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/animation/controller.py", line 554, in _export
     duration=self.timeTick / float(1000), repeat=True)
   File "/home/lucadelu/compilati/grass7/dist.x86_64-unknown-linux-
 gnu/etc/python/grass/imaging/images2gif.py", line 575, in writeGif
     gifWriter.writeGifToFile(fp, images, duration, loops, xy, dispose)
   File "/home/lucadelu/compilati/grass7/dist.x86_64-unknown-linux-
 gnu/etc/python/grass/imaging/images2gif.py", line 436, in writeGifToFile
     fp.write(globalPalette)
 TypeError: must be string or buffer, not None
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2177>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list