Zim

"Start web server" fails

Bug #481167 reported by Pablo Angulo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Status tracked in Pyzim
Pyzim
Fix Released
High
Jaap Karssenberg

Bug Description

I take it from your email that pyzim 0.42-beta1 already have the web server feature. However, upon clicking the "Start web server" menu item, I get the following trace, and a crash report appears for zim. The notebook itself keeps working fine.

zim -D
INFO: This is zim 0.42-beta1
DEBUG: Python version is (2, 6, 4, 'final', 0)
DEBUG: Zim revision is:
 branch: pyzim
 revision: 140 <email address hidden>
 date: 2009-11-12 00:36:16 +0100

DEBUG: Not running from a source dir
DEBUG: Set XDG_DATA_HOME to /home/moriarty/.local/share
DEBUG: Set XDG_DATA_DIRS to [<Dir: /etc/xdg/xubuntu>, <Dir: /usr/local/share>, <Dir: /usr/share>, <Dir: /usr/share>]
DEBUG: Set XDG_CONFIG_HOME to /home/moriarty/.config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg/xubuntu>, <Dir: /etc/xdg>]
DEBUG: Set XDG_CACHE_HOME to /home/moriarty/.cache
DEBUG: Running command: gui
DEBUG: Gtk version is (2, 18, 3)
DEBUG: Pygtk version is (2, 16, 0)
DEBUG: Loaded plugin calendar (<CalendarPlugin object at 0x2ba0eb0 (zim+plugins+PluginClass at 0x2d20220)>)
DEBUG: Loaded plugin printtobrowser (<PrintToBrowserPlugin object at 0x2c3d0f0 (zim+plugins+PluginClass at 0x2d1dda0)>)
DEBUG: Cache dir: /home/moriarty/p/Textos/zim/pyzim4/.zim
DEBUG: Index database file: /home/moriarty/p/Textos/zim/pyzim4/.zim/index.db
INFO: Opening default notebook
DEBUG: Opening notebook: <Notebook object at 0x2c3d1e0 (zim+notebook+Notebook at 0x28bb960)>
INFO: Starting background index update
DEBUG: Action: set_pathbar_none
/usr/lib/pymodules/python2.6/zim/gui/pathbar.py:386: DeprecationWarning: Use the new widget gtk.Tooltip
  tooltips = gtk.Tooltips()
/usr/lib/pymodules/python2.6/zim/gui/pathbar.py:395: DeprecationWarning: Use the new widget gtk.Tooltip
  tooltips.set_tip(button, path.name)
INFO: Open page: <FileStorePage: cosa:casa> (<HistoryRecord: cosa:casa>)
INFO: Index update done
DEBUG: Action: show_server_gui
INFO: Spawning: ['/usr/bin/zim', '--server', '--gui', 'pyzim4'] (cwd: None)
DEBUG: Process started with PID: 3612
Traceback (most recent call last):
  File "/usr/bin/zim", line 40, in <module>
    zim.main(sys.argv)
  File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 255, in main
    handler = zim.www.Server(*args, **optsdict)
  File "/usr/lib/pymodules/python2.6/zim/www.py", line 246, in __init__
    self.interface = WWWInterface(notebook, **opts)
  File "/usr/lib/pymodules/python2.6/zim/www.py", line 106, in __init__
    self.open_notebook(notebook)
  File "/usr/lib/pymodules/python2.6/zim/www.py", line 109, in open_notebook
    NotebookInterface.open_notebook(self, notebook)
  File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 351, in open_notebook
    raise NotebookLookupError, _('Could not find notebook: %s') % notebook
zim.NotebookLookupError: No se pudo encontrar el cuaderno: pyzim4

Unspecified error...

DEBUG: Action: close (delete-event)
DEBUG: Wrote /home/moriarty/p/Textos/zim/pyzim4/.zim/state.conf

Changed in zim:
status: New → Invalid
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.