zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #01461
Re: zim lanuch failure on mac 10.5.8
On Thu, Dec 15, 2011 at 9:20 AM, BIN ZHANG <zhngbn@xxxxxxxxx> wrote:
> 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:
>
...
> 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
>
It looks like Gtk can not find the display.
On linux I would say this probably means that either you don't have X
running, or your terminal doesn't have the environment variables set for
your X session.
However I have no idea how this is supposed to work on Mac. From what I
heard I believe you have an X window running on top of the Mac interface,
but not sure how that works.
Maybe some other Mac user can help ? (Do we have any here ?)
Regards,
Jaap
Follow ups
References