Zim (http://zim-wiki.org) is a powerful //Desktop Wiki//. It is platform-independent and thus available under different flavours of Linux, BSD and Windows. Some three years ago, [http://www.klumpp.net/blog/archives/95-Gentoo-und-Zim,-das-Desktop-Wiki-Hinweis-zum-Update-auf-Version-0.27.html we mentioned it for the first time on our site]. Ironically, the blog entry back then was about updating Zim - and so is this one.
Recently, I upgraded to version 0.57. I encountered the following behaviour after starting {{zim}}:
Traceback (most recent call last):
File "/usr/bin/zim", line 73, in
//Problem:// Zim 0.57 crashes at startup. It needs around one minute until it produces the traceback shown.
//Debugging://
zim --help
[..]
General Options:
[..]
-V, --verbose print information to terminal
-D, --debug print debug messages
[..]
then
zim --VD
//Solution://
cd /tmp/zim-
whoami
rm daemon-socket
rm zim-server-socket
//Rationale:// If {{zim}} ended unexpectedly, the socket files of the newly-introduced server component remain in {{/tmp/zim-YOURUSERNAME}}. This in turn causes {{zim}} to crash at startup just as seen above. Deleting the socket files before calling {{zim}} prevents this behaviour.
On Dec 15th, Jaap Karssenberg released version 0.58 which should fix this issue. As of writing, Gentoo's portage still carries 0.57.