[Bugs] #1463 UNSP: palette breaks when importing image from the Journal

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Oct 6 22:16:21 EDT 2009


#1463: palette breaks when importing image from the Journal
------------------------------------------+---------------------------------
    Reporter:  rgs                        |          Owner:  rgs                                     
        Type:  defect                     |         Status:  new                                     
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team             
   Component:  Turtleart                  |        Version:  Git as of bugdate                       
    Severity:  Unspecified                |       Keywords:  turtle art palette frozen journal object
Distribution:  Unspecified                |   Status_field:  Unconfirmed                             
------------------------------------------+---------------------------------
 Steps to reproduce:

 - make sure you've got an image on your Journal (from any source)
 - start a fresh instance of TA
 - grab the show block from the Turtle palette
 - select an image from Journal (by clicking on the Journal object icon)
 - palette should now be unusable

 I got this on the activity log:

 Traceback (most recent call last):
   File "/usr/share/sugar/activities/TurtleArt.activity/tawindow.py", line
 150, in buttonpress_cb
     button_press(tw, event.get_state()&gtk.gdk.CONTROL_MASK, x, y)
   File "/usr/share/sugar/activities/TurtleArt.activity/tawindow.py", line
 166, in button_press
     unselect(tw)
   File "/usr/share/sugar/activities/TurtleArt.activity/tawindow.py", line
 659, in unselect
     i = int(tw.selected_block.label)
 ValueError: invalid literal for int() with base 10: 'None'

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


More information about the Bugs mailing list