[Butia-devel-list] The layer problem

Alan Jhonn Aguiar Schwyn alanjas en hotmail.com
Mar Mar 20 00:27:23 UYT 2012






Hi,
This problem.. you can reproduce it?
Traceback (most recent call last):  File "/usr/lib/python2.7/threading.py", line 530, in __bootstrap_inner    self.run()  File "/usr/lib/python2.7/threading.py", line 734, in run    self.function(*self.args, **self.kwargs)  File "/home/olpc/Activities/TurtleBots.activity/plugins/butia/butia.py", line 674, in bobot_poll    self.check_for_device_change()  File "/home/olpc/Activities/TurtleBots.activity/plugins/butia/butia.py", line 482, in check_for_device_change    self.change_butia_palette_colors()  File "/home/olpc/Activities/TurtleBots.activity/plugins/butia/butia.py", line 462, in change_butia_palette_colors    self.tw.show_toolbar_palette(palette_name_to_index('butia'), regenerate=True, show=False)  File "/home/olpc/Activities/TurtleBots.activity/TurtleArt/tawindow.py", line 753, in show_toolbar_palette    self._create_proto_blocks(n)  File "/home/olpc/Activities/TurtleBots.activity/TurtleArt/tawindow.py", line 874, in _create_proto_blocks    self.palettes[n][-1].spr.set_layer(PROTO_LAYER)  File "/home/olpc/Activities/TurtleBots.activity/TurtleArt/sprites.py", line 258, in set_layer    if layer < self._sprites.get_sprite(i).layer:AttributeError: 'NoneType' object has no attribute 'layer'
I have it in new sugar (0.94.1).. in the old LATU's image (0.88.1) no...
The latest build.. http://www.fing.edu.uy/~aaguiar/files/TurtleBots-7.xo
Regards!
Alan
 		 	   		  
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: https://www.fing.edu.uy/mailman/private/butia-devel-l/attachments/20120320/c748fb65/attachment.html" 


Más información sobre la lista de distribución Butia-devel-l