[Bugs] #1989 UNSP: SugarCommander fails to start if journal is empty
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Wed May 5 16:44:54 EDT 2010
#1989: SugarCommander fails to start if journal is empty
------------------------------------------+---------------------------------
Reporter: alsroot | Owner: jdsimmons
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: SugarCommander | Version: 0.88.x
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
|TestCase|
* start with empty journal
* launch SugarCommander
* it fails to start
{{{
1273091607.449096 DEBUG root: *** Act
a582503775d154222b01603eccd85dbbf9666e95, mesh instance None, scope
private
** (sugar-activity:15149): WARNING **: expected enumeration type
PangoWrapMode, but got GtkWrapMode instead
1273091607.676649 DEBUG root: Activity.__canvas_map_cb
1273091607.679863 DEBUG root: PaletteWindow.popdown immediate True
1273091607.684757 DEBUG root: PaletteWindow.popdown immediate True
1273091607.687717 WARNING root: No gtk.AccelGroup in the top level window.
1273091607.690582 WARNING root: No gtk.AccelGroup in the top level window.
/usr/lib64/python2.6/site-packages/sugar/graphics/window.py:290:
DeprecationWarning: use toolbar_box instead of toolbox
warnings.warn('use toolbar_box instead of toolbox', DeprecationWarning)
Traceback (most recent call last):
File "/usr/bin/sugar-activity", line 21, in <module>
main.main()
File "/usr/lib64/python2.6/site-packages/sugar/activity/main.py", line
152, in main
create_activity_instance(activity_constructor, activity_handle)
File "/usr/lib64/python2.6/site-packages/sugar/activity/main.py", line
37, in create_activity_instance
activity = constructor(handle)
File "/home/me/Activities/SugarCommander.activity/sugarcommander.py",
line 234, in __init__
self.load_journal_table()
File "/home/me/Activities/SugarCommander.activity/sugarcommander.py",
line 469, in load_journal_table
return ds_objects[0]
IndexError: list index out of range
1273091607.699952 DEBUG root: _cleanup_temp_files
Exited with status 1, pid 15149 data (None, <open file '<fdopen>', mode
'w' at 0x21ab828>, 'a582503775d154222b01603eccd85dbbf9666e95')
}}}
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/1989>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list