Re: [Zim-wiki] zim lanuch failure on mac 10.5.8
Ha, starting from the the X-terminal works great! Thanks a lot guys.. Bin On Dec 15, 2011, at 5:10 AM, Jeffrey Liu wrote: Yes X11 comes with the Mac. The simplest way to start the X server - Try running an xterm. Sent from my iPhone On Dec 15, 2011, at 8:08 AM, Jaap Karssenberg > wrote: On Thu, Dec 15, 2011 at 9:20 AM, BIN ZHANG 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 from zim.gui.pageview import PageView File "/sw/lib/python2.7/site-packages/zim/gui/pageview.py", line 2791, in 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 ___ 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 ___ 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
Re: [Zim-wiki] zim lanuch failure on mac 10.5.8
Yes X11 comes with the Mac. The simplest way to start the X server - Try running an xterm. Sent from my iPhone On Dec 15, 2011, at 8:08 AM, Jaap Karssenberg wrote: On Thu, Dec 15, 2011 at 9:20 AM, BIN ZHANG 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 > > from zim.gui.pageview import PageView > File "/sw/lib/python2.7/site-packages/zim/gui/pageview.py", line 2791, > in > 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 ___ 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 ___ 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
Re: [Zim-wiki] zim lanuch failure on mac 10.5.8
On Thu, Dec 15, 2011 at 9:20 AM, BIN ZHANG 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 > > from zim.gui.pageview import PageView > File "/sw/lib/python2.7/site-packages/zim/gui/pageview.py", line 2791, > in > 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 ___ 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
[Zim-wiki] zim lanuch failure on mac 10.5.8
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 [] DEBUG: Set XDG_CONFIG_HOME to /Users/bingo/.config DEBUG: Set XDG_CONFIG_DIRS to [] 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 from zim.gui.pageview import PageView File "/sw/lib/python2.7/site-packages/zim/gui/pageview.py", line 2791, in 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