Zim

Indexing from menu does not work

Bug #1434808 reported by Pierre Rust
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Expired
Undecided
Unassigned

Bug Description

Indexing through the menu ( "tools / update index" ) does not work : the progress dialog opens but nothing happens : the progess indicator does but move, the cancel button has no effect, the dialog stays the same forever (at least 10 hours, I've left it an entire night). Closing the windows works but once it has been closed, the `udpate index` menu has no effect (the dialog is not open again).

I've tried launching zim with `zim --gui -D` the only trace I see when staring the indexing process is :

DEBUG: Action: reload_index
INFO: Index update is canceled
INFO: Updating index
DEBUG: Opening ProgressBarDialog
DEBUG: ProgressBarDialog get response -4

When I close the application, I get the following trace :

DEBUG: Action: close (delete-event)
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/zim/gui/pageindex.py", line 749, in <lambda>
DEBUG: Wrote <UnixFile: /home/bistufly/.cache/zim/notebook-home_bistufly_tmp_tesnotebook/state.conf>
 ui.connect('end-index-update', lambda o: self.reload_model())
  File "/usr/lib/pymodules/python2.7/zim/gui/pageindex.py", line 794, in reload_model
INFO: Index update is canceled
 self.treeview.set_model(model)
  File "/usr/lib/pymodules/python2.7/zim/gui/pageindex.py", line 537, in set_model
INFO: Accelerator changed for <Actions>/MainWindowExtension/show_versions
 INFO: Accelerator changed for <Actions>/MainWindowExtension/toggle_fileview
self.select_page(self.ui.page, vivificate=True)
  File "/usr/lib/pymodules/python2.7/zim/gui/pageindex.py", line 676, in select_page
 rowreference = gtk.TreeRowReference(model, treepath)
RuntimeError: could not create GtkTreeRowReference object
INFO: Accelerator changed for <Actions>/MainWindowExtensionDialog/show_calendar
INFO: Accelerator changed for <Actions>/MainWindowExtension/show_task_list
INFO: Accelerator changed for <Actions>/MainWindowExtension/insert_symbol
INFO: Accelerator changed for <Actions>/MainWindowExtension/eval_math
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/zim/plugins/tags.py", line 105, in <lambda>
 ('end-index-update', lambda o: self.reload_model()),
  File "/usr/lib/pymodules/python2.7/zim/plugins/tags.py", line 175, in reload_model
 self._reload_model(type, filter)
  File "/usr/lib/pymodules/python2.7/zim/plugins/tags.py", line 191, in _reload_model
 self.treeview.set_model(model, filter)
  File "/usr/lib/pymodules/python2.7/zim/plugins/tags.py", line 790, in set_model
 PageTreeView.set_model(self, filtermodel)
  File "/usr/lib/pymodules/python2.7/zim/gui/pageindex.py", line 537, in set_model
 self.select_page(self.ui.page, vivificate=True)
  File "/usr/lib/pymodules/python2.7/zim/plugins/tags.py", line 854, in select_page
 assert treepath, 'BUG: failed to touch placeholder'
AssertionError: BUG: failed to touch placeholder
DEBUG: Remote call from 4609: <RemoteMethodCall: 4609: zim.ipc.Server(None).on_object_quit((<RemoteObject: zim.gui.GtkInterface(file:///home/bistufly/tmp/tesnotebook)>,), {})>
INFO: Last child quit, stopping server
DEBUG: Server stopped listening
DEBUG: Remote call returned to 4609: True
INFO: Remove file: /tmp/zim-bistufly/zim-server-authkey
DEBUG: Child process 4609 quit
DEBUG: Server process 4607 quit
DEBUG: Server thread for process 4609 quit

On the other hand when I manually run `zim --index "/path/to/notebook/ -D`, it works.

I'm running zim on linux Mint 17 KDE (should be the same than ubuntu 14.04 with KDE), I've tried both the ppa and the .deb and both exhibits the same problem.

Please let me know if you need more context / information.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Can not reproduce myself, hope index redesign will fix this

Changed in zim:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Zim because there has been no activity for 60 days.]

Changed in zim:
status: Incomplete → Expired
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.