[Bugs] #3510 untriaged UNSP: TA save png failed os8 xo-1.75

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Apr 25 02:54:53 EDT 2012


#3510: TA save png failed os8 xo-1.75
------------------------------------------+---------------------------------
    Reporter:  tonyforster                |          Owner:                             
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  untriaged                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 Traceback (most recent call last):
   File "/home/olpc/Activities/TurtleArt.activity/TurtleArt/talogo.py",
 line 482, in doevalstep
     self.step.next()
   File "/home/olpc/Activities/TurtleArt.activity/TurtleArt/talogo.py",
 line 461, in _evalsym
     result = self.cfun.fcn(self, *self.arglist)
   File
 "/home/olpc/Activities/TurtleArt.activity/plugins/turtle_blocks_extras/turtle_blocks_extras.py",
 line 238, in <lambda>
     lambda self, x: primitive_dictionary['savepix'](x))
   File
 "/home/olpc/Activities/TurtleArt.activity/plugins/turtle_blocks_extras/turtle_blocks_extras.py",
 line 1099, in _prim_save_picture
     self.tw.save_as_image(name)
   File "/home/olpc/Activities/TurtleArt.activity/TurtleArt/tawindow.py",
 line 3258, in save_as_image
     save_picture(self.canvas, file_path)
   File "/home/olpc/Activities/TurtleArt.activity/TurtleArt/tautils.py",
 line 277, in save_picture
     img_surface.write_to_png(file_name)
 TypeError: Surface.write_to_png takes one argument which must be a
 filename (str), file object, or a file-like object which has a "write"
 method (like StringIO)

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3510>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list