Opened 10 years ago

Closed 10 years ago

#1989 closed defect (fixed)

SugarCommander fails to start if journal is empty

Reported by: alsroot Owned by: jdsimmons
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: SugarCommander Version: 0.88.x
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Resolved

Description (last modified by alsroot)

|TestCase|

  • start with empty journal
  • launch SugarCommander-4
  • 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')

Change History (2)

comment:1 Changed 10 years ago by alsroot

  • Description modified (diff)

comment:2 Changed 10 years ago by jdsimmons

  • Bug Status changed from Unconfirmed to Resolved
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.