← Back to team overview

zim-wiki team mailing list archive

can't start up zim

 

I tried to start up zim and nothing happened. Running is from the  command
line I get the output below.

I'm a bit reluctant about filing a bug as this might be a non issue. I have
my notebook in my dropbox account and open it from different computers.
Either way, a quick workaround would be helpful as I can't run zim  at
the moment.


$ zim -D
INFO: This is zim 0.48
DEBUG: Python version is (2, 6, 6, 'final', 0)
DEBUG: Platform is posix
DEBUG: Zim revision is:
branch: pyzim-trunk
revision: 290 pardus@xxxxxxxx-20100722213310-1qj38a5ozyxy06ya
date: 2010-07-22 23:33:10 +0200

DEBUG: Not running from a source dir
DEBUG: Set XDG_DATA_HOME to /home/p/.local/share
DEBUG: Set XDG_DATA_DIRS to [<Dir: /usr/local/share>, <Dir: /usr/share>,
<Dir: /usr/share/gdm>]
DEBUG: Set XDG_CONFIG_HOME to /home/p/.config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg>]
DEBUG: Set XDG_CACHE_HOME to /home/p/.cache
DEBUG: Running command: gui
DEBUG: Cache dir: /home/p/Dropbox/docs/zim_notebooks/.zim
DEBUG: Loading /home/p/Dropbox/docs/zim_notebooks/notebook.zim
DEBUG: Index database file: /home/p/Dropbox/docs/zim_notebooks/.zim/index.db
INFO: Opening default notebook
INFO: Starting UnixSocketDaemon
DEBUG: Socket address: /tmp/zim-p/daemon-socket
DEBUG: Wrote /tmp/zim-p/daemon.pid
DEBUG: Sending to daemon: ["ping",[],{}]

DEBUG: Daemon replied: "Ack"
DEBUG: Sending to daemon:
["vivicate",["zim.gui.GtkInterface","file:///home/p/Dropbox/docs/zim_notebooks"],{"usedaemon":true,"notebook":"file:///home/p/Dropbox/docs/zim_notebooks"}]

DEBUG: Child spawned 2735 (u'zim.gui.GtkInterface',
u'file:///home/p/Dropbox/docs/zim_notebooks')
DEBUG: No such signal: notebook-list-changed
DEBUG: Daemon replied: true
DEBUG: Sending to daemon:
["relay",[["zim.gui.GtkInterface","file:///home/p/Dropbox/docs/zim_notebooks"],"present",null],{"geometry":null,"fullscreen":null}]

DEBUG: Sending to child 2735:
["present",[null],{"geometry":null,"fullscreen":null}]

DEBUG: Daemon replied: true
p@revo:~$ DEBUG: Loading /home/p/.config/zim/preferences.conf
DEBUG: Gtk version is (2, 20, 1)
DEBUG: Pygtk version is (2, 17, 0)
WARNING: Could not find all icon sizes for the application icon
DEBUG: Loading /home/p/.config/zim/style.conf
DEBUG: File not found, loading /usr/share/zim/style.conf
DEBUG: Loaded plugin calendar (<CalendarPlugin object at 0x2b82730
(zim+plugins+PluginClass at 0x2cb1d20)>)
DEBUG: Loaded plugin insertsymbol (<CalendarPlugin object at 0x2b82d20
(zim+plugins+PluginClass at 0x2cb1fa0)>)
DEBUG: Loaded plugin printtobrowser (<PrintToBrowserPlugin object at
0x2cc13c0 (zim+plugins+PluginClass at 0x2cb4f00)>)
DEBUG: Loaded plugin versioncontrol (<VersionControlPlugin object at
0x2cc1d70 (zim+plugins+PluginClass at 0x2cb1ea0)>)
DEBUG: Accelmap: /home/p/.config/zim/accelmap
DEBUG: Opening notebook: file:///home/p/Dropbox/docs/zim_notebooks
DEBUG: Cache dir: /home/p/Dropbox/docs/zim_notebooks/.zim
DEBUG: Loading /home/p/Dropbox/docs/zim_notebooks/notebook.zim
DEBUG: Index database file: /home/p/Dropbox/docs/zim_notebooks/.zim/index.db
DEBUG: Loading /home/p/Dropbox/docs/zim_notebooks/.zim/state.conf
INFO: Starting background index update
DEBUG: Action: set_pathbar_none
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/zim/gui/__init__.py", line 1800, in
do_set_pathbar
    self.pathbar.set_history(self.ui.history)
  File "/usr/lib/pymodules/python2.6/zim/gui/pathbar.py", line 371, in
set_history
    self._select(history.get_current())
  File "/usr/lib/pymodules/python2.6/zim/history.py", line 129, in
get_current
    return HistoryRecord(self, self.current)
  File "/usr/lib/pymodules/python2.6/zim/history.py", line 34, in __init__
    Path.__init__(self, history.history[i])
IndexError: list index out of range
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/zim/gui/__init__.py", line 1900, in
do_open_notebook
    self.set_toolbar_style(self.uistate['toolbar_style'])
  File "/usr/lib/pymodules/python2.6/zim/gui/__init__.py", line 1813, in
set_toolbar_style
    assert style in ('icons_and_text', 'icons_only', 'text_only'), style
AssertionError
INFO: No VCS detected
ERROR: Error in child main:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/zim/daemon.py", line 541, in spawn
    self._main()
  File "/usr/lib/pymodules/python2.6/zim/daemon.py", line 585, in _main
    obj.main()
  File "/usr/lib/pymodules/python2.6/zim/gui/__init__.py", line 470, in main
    path = self.history.get_current()
  File "/usr/lib/pymodules/python2.6/zim/history.py", line 129, in
get_current
    return HistoryRecord(self, self.current)
  File "/usr/lib/pymodules/python2.6/zim/history.py", line 34, in __init__
    Path.__init__(self, history.history[i])
IndexError: list index out of range
DEBUG: Child exited 2735 (u'zim.gui.GtkInterface',
u'file:///home/p/Dropbox/docs/zim_notebooks')
INFO: Last instance quit - exiting daemon
INFO: Stopped UnixSocketDaemon

Follow ups