Opened 11 years ago

Closed 9 years ago

#4339 closed defect (duplicate)

Journal model: traceback

Reported by: manuq Owned by: manuq
Priority: Normal Milestone: Unspecified
Component: Sugar Version: Git as of bugdate
Severity: Major Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed


This may be similar to #3888 .

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/sugar3/graphics/", line 1442, in __long_pressed_event_cb
  File "/usr/lib/python2.7/site-packages/sugar3/graphics/", line 967, in notify_right_click
  File "/usr/lib/python2.7/site-packages/sugar3/graphics/", line 955, in _ensure_palette_exists
    palette = self.parent.create_palette()
  File "/usr/lib/python2.7/site-packages/jarabe/journal/", line 641, in create_palette
    metadata = tree_model.get_metadata(self.props.palette_invoker.path)
  File "/usr/lib/python2.7/site-packages/jarabe/journal/", line 103, in get_metadata
    return model.get(self[path][ListModel.COLUMN_UID])
  File "/usr/lib/python2.7/site-packages/gi/overrides/", line 782, in __getitem__
    aiter = self._getiter(key)
  File "/usr/lib/python2.7/site-packages/gi/overrides/", line 776, in _getiter
    aiter = self.get_iter(key)
  File "/usr/lib/python2.7/site-packages/gi/overrides/", line 798, in get_iter
    path = TreePath(path)
  File "/usr/lib/python2.7/site-packages/gi/overrides/", line 1209, in __new__
    if len(path) == 0:
TypeError: object of type 'NoneType' has no len()

Change History (5)

comment:1 Changed 11 years ago by erikos

  • Bug Status changed from Unconfirmed to Assigned
  • Keywords regression removed
  • Priority changed from Unspecified by Maintainer to Normal
  • Severity changed from Unspecified to Major

From my testing this happens when a long press on an activity icon in the Journal list view does not reveal the Palette. I had this issue now two times. In the same Sugar session I could use the long-press on activity icons in the Journal fine later.

As I have seen the issue only in those cases, I will remove the 'regression' keywords.

comment:2 Changed 11 years ago by dnarvaez

  • Bug Status changed from Assigned to New

comment:3 Changed 11 years ago by dnarvaez

  • Milestone changed from 0.98 to Unspecified

comment:4 Changed 11 years ago by dnarvaez

  • Bug Status changed from New to Unconfirmed

comment:5 Changed 9 years ago by godiard

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

Closed as duplicated of #4717

Note: See TracTickets for help on using tickets.