Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#72 closed defect (fixed)

Error displaying Journal on 21" screen

Reported by: erikos Owned by: tomeu
Priority: major Milestone:
Component: journal Version:
Severity: Major Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Resolved

Description

on my 21 inch screen the journal has problems to display its entries :)

[erikos@localhost ~]$ cat .sugar/default/logs/org.laptop.JournalActivity-1.log 
1228146294.225439 WARNING root: Activity directory lacks a MANIFEST file.
** (sugar-activity:4106): DEBUG: Got client ID "10498169382305271d122814629494620100000040040000"
** (sugar-activity:4106): DEBUG: Setting initial properties
Traceback (most recent call last):
  File "/usr/share/sugar/activities/Journal.activity/listview.py", line 291, in _reflow_idle_cb
    self._do_scroll(force=True)
  File "/usr/share/sugar/activities/Journal.activity/listview.py", line 144, in _do_scroll
    jobjects = self._result_set.read(self._page_size)
  File "/usr/share/sugar/activities/Journal.activity/query.py", line 108, in read
    ' (%i).' % (max_count, ResultSet._CACHE_LIMIT))
RuntimeError: max_count (18) too big for ResultSet._CACHE_LIMIT (80).
** (sugar-activity:4106): DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, SmInteractStyleNone, !Fast) in state idle
** (sugar-activity:4106): DEBUG: Sending SaveYourselfDone(True) for initial SaveYourself
** (sugar-activity:4106): DEBUG: Received SaveComplete message in state save-yourself-done

Change History (8)

comment:1 Changed 12 years ago by tomeu

  • Component changed from sugar to journal

comment:2 Changed 12 years ago by gregdek

  • Bug Status set to Unconfimed
  • Distribution/OS set to Unspecified
  • Milestone set to 0.84
  • Severity set to Major
  • Summary changed from sugar does not work for rich kids to Error displaying Journal on 21" screen

As much as I like the original title (sugar does not work for rich kids), it is not sufficiently descriptive. ;)

comment:3 Changed 12 years ago by erikos

  • Bug Status changed from Unconfimed to Assigned

comment:4 Changed 12 years ago by valhalla

Nothing appears on the journal on my big monitor (resolution 1280x1240) either, even if saved activities can be found elsewhere on the interface (e.g. via the Read activity).

1235584804.515738 DEBUG root: ResultSet.read position: 0
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/jarabe/journal/journalactivity.py", line 198, in _query_changed_cb
    self._list_view.update_with_query(query)
  File "/usr/lib/python2.5/site-packages/jarabe/journal/listview.py", line 196, in update_with_query
    self.refresh()
  File "/usr/lib/python2.5/site-packages/jarabe/journal/listview.py", line 208, in refresh
    self._result_set.setup()
  File "/usr/lib/python2.5/site-packages/jarabe/journal/model.py", line 98, in setup
    self.ready.send(self)
  File "/usr/lib/python2.5/site-packages/sugar/dispatch/dispatcher.py", line 125, in send
    response = receiver(signal=self, sender=sender, **named)
  File "/usr/lib/python2.5/site-packages/jarabe/journal/listview.py", line 228, in __result_set_ready_cb
    self._do_scroll()
  File "/usr/lib/python2.5/site-packages/jarabe/journal/listview.py", line 145, in _do_scroll
    metadata_list = self._result_set.read(self._page_size)
  File "/usr/lib/python2.5/site-packages/jarabe/journal/model.py", line 126, in read
    ' (%i).' % (max_count, BaseResultSet._CACHE_LIMIT))
RuntimeError: max_count (17) too big for BaseResultSet._CACHE_LIMIT (80).
1235584804.534206 DEBUG root: ListView.update_dates

comment:5 Changed 12 years ago by tomeu

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

comment:6 Changed 12 years ago by erikos

Awesome - western kids have been waiting for this for long! Works fine here.

comment:7 Changed 12 years ago by erikos

  • Bug Status changed from Assigned to Resolved

comment:8 Changed 8 years ago by godiard

  • Milestone 0.84 deleted

Milestone 0.84 deleted

Note: See TracTickets for help on using tickets.