Zim

could not create GtkTreeRowReference object at startup

Bug #1031134 reported by Stefan A Keel
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
New
Undecided
Unassigned

Bug Description

Fedora 17
Zim-0.56-3.fc17

Launching Zim creates a crash report with the following error:

pageindex.py:663:select_page:RuntimeError: could not create GtkTreeRowReference object

Closing and reopening the notebook via the doesn't generate the error.

[sak@narcissus ~]$ zim -D
INFO: This is zim 0.56
DEBUG: Python version is sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
DEBUG: Platform is posix
DEBUG: Zim revision is:
  branch: pyzim-trunk
  revision: 533 <email address hidden>
  date: 2012-04-02 22:07:22 +0200
DEBUG: Not running from a source dir
DEBUG: Set XDG_DATA_HOME to /home/sak/.local/share
DEBUG: Set XDG_DATA_DIRS to [<Dir: /usr/share>, <Dir: /usr/local/share>]
DEBUG: Set XDG_CONFIG_HOME to /home/sak/.config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg>]
DEBUG: Set XDG_CACHE_HOME to /home/sak/.cache
DEBUG: Running command: gui
DEBUG: Loading /home/sak/wip/notes/notebook.zim
DEBUG: Wrote /home/sak/.config/zim/notebooks.list
INFO: Opening default notebook
DEBUG: Sending to daemon: ["ping",[],{}]

DEBUG: Daemon replied: "Ack"
DEBUG: Sending to daemon: ["vivicate",["zim.gui.GtkInterface","file:///home/sak/wip/notes"],{"usedaemon":true,"notebook":"file:///home/sak/wip/notes"}]

DEBUG: Daemon replied: true
DEBUG: Sending to daemon: ["relay",[["zim.gui.GtkInterface","file:///home/sak/wip/notes"],"present",null],{"geometry":null,"fullscreen":null}]

DEBUG: Daemon replied: true
DEBUG:

See also:
https://bugzilla.redhat.com/show_bug.cgi?id=844498

Revision history for this message
gator_ml (gator-ml) wrote :

I started getting similar looking traces (see below) after upgrading from 0.54 to 0.56.
However, as far as I can see, everything works alright.
The messages are not only when lauching zim, but whenever I switch pages.
Furthermore, in my case thes errror messages only occur,
when zim is running on a different machine than the X server.

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/zim/gui/pageindex.py", line 748, in on_open_page
    self.treeview.select_page(path, vivificate=True)
  File "/usr/lib/python2.6/dist-packages/zim/gui/pageindex.py", line 660, in select_page
    rowreference = gtk.TreeRowReference(model, treepath)
RuntimeError: could not create GtkTreeRowReference object
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/zim/plugins/tags.py", line 803, in on_open_page
    self.treeview.select_page(path)
  File "/usr/lib/python2.6/dist-packages/zim/gui/pageindex.py", line 672, in select_page
    model.select_page(path) # highlight in model
  File "/usr/lib/python2.6/dist-packages/zim/plugins/tags.py", line 56, in select_page
    treeiter = self.get_iter(treepath)
ValueError: invalid tree path

Revision history for this message
joede (joerg-desch) wrote :

Same here running the ZIM package from the PPA on Ubuntu 12.04. The crash report pops up in Unity and in XFCE4.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.