Hello,

I'm not quite sure if it's the same bug as this one
https://bugs.launchpad.net/zim/+bug/1181980  but the behaviour is
similar. I use zim 0.62 on archlinux. I have been looking for a
workaround in the mailing list and in the bugtracker but have had no
success so far.

I try to switch page and the index tree doesn't get updated correctly :
the focus can go on an unrelated page. Also if I try to add a new page,
the index tree gets completely messed up. 

In both cases, I delete the .zim directory and rebuild the index with
"zim --index" command and _sometimes_ it fixes it. Most of the time, I
have to rebuild the index several time in a row. Python exceptions still
arise but somehow zim gets usable again.

Actually, it does it mostly on one notebook, so maybe there is something
wrong with it. Please find attached a log.

Is there a workaround for this? It really breaks my workflow and I kind
of feel tired of it.

Thanks for your time and your answer.

-- 
  Laurent Hofer
INFO: Accelerator changed for <Actions>/MainWindowExtension/show_task_list
INFO: Accelerator changed for 
<Actions>/DiagramMainWindowExtension/insert_diagram
INFO: Accelerator changed for 
<Actions>/EquationMainWindowExtension/insert_equation
INFO: Accelerator changed for 
<Actions>/GnuplotMainWindowExtension/insert_gnuplot
INFO: Accelerator changed for <Actions>/MainWindowExtension/insert_symbol
INFO: Accelerator changed for <Actions>/ScoreMainWindowExtension/insert_score
INFO: Accelerator changed for <Actions>/MainWindowExtension/insert_screenshot
INFO: Accelerator changed for <Actions>/MainWindowExtension/insert_sourceview
INFO: Accelerator changed for <Actions>/MainWindowExtension/eval_math
INFO: Index update done
INFO: Open page: <FileStorePage: Journal de bord:Classe:54:Hiver:20150216> 
(<IndexPath: Journal de bord:Classe:54:Hiver:20150216>)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/gui/pageindex.py", line 764, in 
on_open_page
    self.treeview.select_page(path, vivificate=True)
  File "/usr/lib/python2.7/site-packages/zim/gui/pageindex.py", line 676, in 
select_page
    rowreference = gtk.TreeRowReference(model, treepath)
RuntimeError: could not create GtkTreeRowReference object
INFO: Open page: <FileStorePage: Journal de bord:Classe:54:Hiver:20150217> 
(<IndexPath: Journal de bord:Classe:54:Hiver:20150217>)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/gui/pageindex.py", line 764, in 
on_open_page
    self.treeview.select_page(path, vivificate=True)
 File "/usr/lib/python2.7/site-packages/zim/gui/pageindex.py", line 676, in 
select_page
    rowreference = gtk.TreeRowReference(model, treepath)
RuntimeError: could not create GtkTreeRowReference object
INFO: Open page: <FileStorePage: Journal de bord:Classe:54> (<IndexPath: 
Journal de bord:Classe:54>)
DEBUG: Action: new_sub_page
DEBUG: Opening dialog "Nouvelle sous-page - Zim"
DEBUG: Dialog response OK
INFO: Loading template from: <UnixFile: 
/home/laurenth/.local/share/zim/templates/wiki/Default.txt>
INFO: Open page: <FileStorePage: Journal de bord:Classe:54:Pâques> 
(<FileStorePage: Journal de bord:Classe:54:Pâques>)
ERROR: BUG: Invalid treepath: row-inserted <IndexPath: Journal de 
bord:Classe:54:Pâques> (0, 0, 0, 0)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/gui/pageindex.py", line 169, in 
on_changed
    treeiter = self.get_iter(treepath)
ValueError: invalid tree path
ERROR: BUG: Invalid treepath: row-inserted <IndexPath: Journal de 
bord:Classe:54:Pâques> (0, 0, 0, 0)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/gui/pageindex.py", line 169, in 
on_changed
    treeiter = self.get_iter(treepath)
ValueError: invalid tree path
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/gui/pageindex.py", line 764, in 
on_open_page
    self.treeview.select_page(path, vivificate=True)
  File "/usr/lib/python2.7/site-packages/zim/gui/pageindex.py", line 676, in 
select_page
    rowreference = gtk.TreeRowReference(model, treepath)
RuntimeError: could not create GtkTreeRowReference object
DEBUG: Saving page: <FileStorePage: Journal de bord:Classe:54:Pâques>
DEBUG: Wrote <UnixFile: 
/home/laurenth/Documents/Enseignements/Journal_de_bord/Classe/54/Pâques.txt>
ERROR: BUG: Invalid treepath: row-changed <IndexPath: Journal de 
bord:Classe:54:Pâques> (0, 0, 0, 0)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/gui/pageindex.py", line 169, in 
on_changed
    treeiter = self.get_iter(treepath)
ValueError: invalid tree path
ERROR: BUG: Invalid treepath: row-changed <IndexPath: Journal de 
bord:Classe:54:Pâques> (0, 0, 0, 0)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/gui/pageindex.py", line 169, in 
on_changed
    treeiter = self.get_iter(treepath)
ValueError: invalid tree path
DEBUG: Closed dialog "Nouvelle sous-page"
_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to