Opened 10 years ago

Closed 10 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

Description

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

Change History (1)

comment:1 Changed 10 years ago by walter

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

Fixed in v5

http://git.sugarlabs.org/portfolio/portfolio/commit/88b80c145bc8b83b9ef6bcd39193b5331f5556bc

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.