Opened 13 years ago

Closed 13 years ago

#2851 closed defect (fixed)

v4 fails to start , v2 was ok

Reported by: tonyforster Owned by: walter
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Portfolio Version: Unspecified
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed


Traceback (most recent call last):

File "/usr/bin/sugar-activity", line 21, in <module>


File "/usr/lib/python2.6/site-packages/sugar/activity/", line 152, in main

create_activity_instance(activity_constructor, activity_handle)

File "/usr/lib/python2.6/site-packages/sugar/activity/", line 37, in create_activity_instance

activity = constructor(handle)

File "/home/olpc/Activities/Portfolio.activity/", line 82, in init


File "/home/olpc/Activities/Portfolio.activity/", line 105, in _setup_workspace

if lighter_color(self._colors) == 0:

File "/home/olpc/Activities/Portfolio.activity/", line 40, in lighter_color

if _luminance(colors[0][1:6]) > _luminance(colors[1][1:6]):

File "/home/olpc/Activities/Portfolio.activity/", 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

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

Change History (1)

comment:1 Changed 13 years ago by walter

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in v5

regarding the suggestions, I really want to keep this as simple as possible. Turtle Art can be used to make more nuanced presentations.

Note: See TracTickets for help on using tickets.