Crash on SNAPSHOT-r842 ubuntu16.04.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Hi! I just tried this snapshot, reporting what happened.
After installing the snapshot, I restarted Zim. It opened normally and indexed (much faster!). I explored the new tasklist sidebar and date notation, until I noticed some extra tasks on the list. Clicking on them opened an empty calendar page "Week #NUMBER (1)" (I use Weeks for the Journal plugin), which do not exist. The existing calendar pages "Week #NUMBER" actually had these extra tasks. They were marked as done in the checkbox, all had !!! and some had due dates others not.
Since the tasks are linked to an empty page, I cannot clear them from the list. It looks like an indexing issue, but I'm not sure what could trigger it.
I tried removing the Zim's cache directory, but after restarting Zim crashes. I can't get it to start. Here is a zim -D output:
$ zim -D
INFO: This is zim 0.65
DEBUG: Python version is sys.version_
DEBUG: Platform is posix
DEBUG: No bzr version-info found
DEBUG: Not running from a source dir
DEBUG: Set XDG_DATA_HOME to /home/nelas/
DEBUG: Set XDG_DATA_DIRS to [<Dir: /usr/share/gnome>, <Dir: /usr/local/share>, <Dir: /usr/share>, <Dir: /var/lib/
DEBUG: Set XDG_CONFIG_HOME to /home/nelas/.config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg/
DEBUG: Set XDG_CACHE_HOME to /home/nelas/.cache
DEBUG: Got error in dispatch: Error while connecting
DEBUG: Registered object line
WARNING: Could not find all icon sizes for the application icon
DEBUG: Starting primary process
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
l = Listener(
File "/usr/lib/
self._listener = SocketListener(
File "/usr/lib/
self.
File "/usr/lib/
return getattr(
error: [Errno 98] Address already in use
ERROR: Exception in main()
Traceback (most recent call last):
File "/usr/lib/
ZIM_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
_ipc_
File "/usr/lib/
raise AssertionError, 'Listener did not start'
AssertionError: Listener did not start
DEBUG: Running ErrorDialog
The dialog that pops up says:
This is zim 0.65
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 12, 'final', 0)
Gtk: (2, 24, 30)
Pygtk: (2, 24, 0)
No bzr version-info found
======= Traceback =======
File "/usr/lib/
ZIM_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
_ipc_
File "/usr/lib/
raise AssertionError, 'Listener did not start'
AssertionError: Listener did not start
If you need more info to debug, I'm happy to provide!
description: | updated |
description: | updated |
Changed in zim: | |
status: | Confirmed → Fix Committed |
Hi, just to inform that after a full system restart, Zim is not crashing at startup anymore.
I also investigated a bit more and noticed that the files for these extra calendar pages already existed. After their removal, the phantom tasks disappeared. So, it's likely just a duplicate page/tasks issue and not related to the new indexing.
Cheers and sorry for the trouble