[Bugs] #2851 UNSP: v4 fails to start , v2 was ok

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue May 17 04:42:08 EDT 2011


#2851: v4 fails to start , v2 was ok
------------------------------------------+---------------------------------
    Reporter:  tonyforster                |          Owner:  walter                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Portfolio                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 Traceback (most recent call last):
   File "/usr/bin/sugar-activity", line 21, in <module>
     main.main()
   File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line
 152, in main
     create_activity_instance(activity_constructor, activity_handle)
   File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line 37,
 in create_activity_instance
     activity = constructor(handle)
   File "/home/olpc/Activities/Portfolio.activity/PortfolioActivity.py",
 line 82, in __init__
     self._setup_workspace()
   File "/home/olpc/Activities/Portfolio.activity/PortfolioActivity.py",
 line 105, in _setup_workspace
     if lighter_color(self._colors) == 0:
   File "/home/olpc/Activities/Portfolio.activity/utils.py", line 40, in
 lighter_color
     if _luminance(colors[0][1:6]) > _luminance(colors[1][1:6]):
   File "/home/olpc/Activities/Portfolio.activity/utils.py", line 35, in
 _luminance
     return int(color[0:2], 16) * 0.3 + int(color[2:4], 16) * 0.6 +
 int(color[4:6]) * 0.1
 ValueError: invalid literal for int() with base 10: 'F'
 Exited with status 1, pid 3520 data (None, <open file '<fdopen>', mode 'w'
 at 0x95a8bb0>, dbus.ByteArray('ca6fd7d823a3f2df9965cef738065e731689fb3d',
 variant_level=1))

 I like the activity

 suggestions:
 ability to launch journal entries
 ability to size image with the description sizing to match

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


More information about the Bugs mailing list