[maemo-developers] [maemo-developers] python runtime problems with import GTK on new firmware?

From: Kalle Vahlman kalle.vahlman at gmail.com
Date: Sun Apr 30 11:54:09 EEST 2006
On 4/30/06, Tom Wolf <tomwwolf at gmail.com> wrote:
> anybody experienced / duplicated or resolved the following issue?
>
> start python / import gtk
> response
> file
> "/home/ruda/pymaemo/pool/main/p/python-gtk2/python-gtk2-2.6.1/debian/tmp/usr/lib/python2.4/site-packages/gtk-
> 2.0/gtk/_init__.py", line 37 in ?
> RuntimeError: could not open display

If you run it in a ssh shell, use the run-standalone.sh script to run python.

From Xterm it should run as-is.

--
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi
More information about the maemo-developers mailing list