Hi,

I am trying to install zim wiki on Mac 10.5.8, and so far not being
successful.

I installed pygtk through fink, and with that the zim installed fine.
However, when I try zim on the terminal, nothing happens, no message, no
gui...
While trying 'zim -D', I got the following message:

Any help is appreciated.
thanks,
Bin

================================================================

WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'
INFO: This is zim 0.53
DEBUG: Python version is sys.version_info(major=2, minor=7, micro=2,
releaselevel='final', serial=0)
DEBUG: Platform is posix
DEBUG: Zim revision is:
    branch: pyzim-trunk
    revision: 447 jaap.karssenb...@gmail.com-20110919202836-kzp5lvujnu3cbdid
    date: 2011-09-19 22:28:36 +0200

DEBUG: Not running from a source dir
DEBUG: Set XDG_DATA_HOME to /sw/share
DEBUG: Set XDG_DATA_DIRS to [<Dir: /sw/share>]
DEBUG: Set XDG_CONFIG_HOME to /Users/bingo/.config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /sw/etc/xdg>]
DEBUG: Set XDG_CACHE_HOME to /Users/bingo/.cache
DEBUG: Running command: gui
DEBUG: Loading /Users/bingo/Documents/zimwiki/notebook.zim
DEBUG: Wrote /Users/bingo/.config/zim/notebooks.list
INFO: Opening default notebook
INFO: Starting UnixSocketDaemon
DEBUG: Socket address: /tmp/zim-bingo/daemon-socket
DEBUG: Wrote /tmp/zim-bingo/daemon.pid
DEBUG: Sending to daemon: ["ping",[],{}]

DEBUG: Daemon replied: "Ack"
DEBUG: Sending to daemon:
["vivicate",["zim.gui.GtkInterface","file:///Users/bingo/Documents/zimwiki"],{"usedaemon":true,"notebook":"file:///Users/bingo/Documents/zimwiki"}]

DEBUG: Child spawned 20665 (u'zim.gui.GtkInterface',
u'file:///Users/bingo/Documents/zimwiki')
DEBUG: No such signal: notebook-list-changed
DEBUG: Daemon replied: true
DEBUG: Sending to daemon:
["relay",[["zim.gui.GtkInterface","file:///Users/bingo/Documents/zimwiki"],"present",null],{"geometry":null,"fullscreen":null}]

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

DEBUG: Daemon replied: true
DHCP-21-187:~ bingo$
/sw/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning:
could not open display
  warnings.warn(str(e), _gtk.Warning)
/sw/lib/python2.7/site-packages/zim/gui/pageview.py:2791: GtkWarning:
gdk_cursor_new_for_display: assertion `GDK_IS_DISPLAY (display)' failed
  CURSOR_TEXT = gtk.gdk.Cursor(gtk.gdk.XTERM) #: the C{gtk.gdk.Cursor} for
normal text
ERROR: Error in child main:
Traceback (most recent call last):
  File "/sw/lib/python2.7/site-packages/zim/daemon.py", line 550, in spawn
    self._main()
  File "/sw/lib/python2.7/site-packages/zim/daemon.py", line 564, in _main
    mod = __import__(modname)
  File "/sw/lib/python2.7/site-packages/zim/gui/__init__.py", line 34, in
<module>
    from zim.gui.pageview import PageView
  File "/sw/lib/python2.7/site-packages/zim/gui/pageview.py", line 2791, in
<module>
    CURSOR_TEXT = gtk.gdk.Cursor(gtk.gdk.XTERM) #: the C{gtk.gdk.Cursor}
for normal text
RuntimeError: could not create GdkCursor object
DEBUG: Child exited 20665 (u'zim.gui.GtkInterface',
u'file:///Users/bingo/Documents/zimwiki')
INFO: Last instance quit - exiting daemon
INFO: Stopped UnixSocketDaemon
_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to