2008/11/12 Valerio Valerio <[EMAIL PROTECTED]> > > > 2008/11/12 Søren Kristiansen <[EMAIL PROTECTED]> > >> >> Hello >> >> I'm working on a small python app for my freerunner. The app runs smoothly >> without any graphical user interface but when I use either ETK or GTK it >> causes a segmentation fault. I've tried to run each of the example scripts >> at http://wiki.openmoko.org/wiki/Python . >> >> When using ETK: >> [Etk-Warning] (ecore_evas_x11.c:190 - _engine_init()): >> Ecore_X initialization failed! >> >> [Etk-Warning] (etk_engine.c:221 - etk_engine_load()): >> Etk can not initialize the requested engine! >> >> Segmentation fault >> >> When using GTK (note python-pygtk wasn't installed so I had to install it >> with opkg): >> /usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py:69: GtkWarning: >> could not open display >> warnings.warn(str(e), _gtk.Warning) >> Segmentation fault > > > You probably need pygtk after this try this: > > DISPLAY=:0 app_name.py > Or DISPLAY=:0 python app_name.py , if the app isn't a script and don't have execution permissions.
> > > Best regards, > > -- > Valério Valério > > http://www.valeriovalerio.org > > >> >> >> And some more details: >> Image: >> >> http://downloads.openmoko.org/framework/milestone4/openmoko-fso-image-glibc-ipk--20081111-om-gta02.rootfs.jffs2 >> Kernel: >> >> http://downloads.openmoko.org/framework/milestone4/uImage-2.6.24+r10+gitr9706327002caebe6633c93e605882ea37172ec57-r10-om-gta02.bin >> opkg update && upgrade doesn't fix the issue. I've tried reflashing the >> image too. >> >> Thanks in advance for your help :) >> -- >> View this message in context: >> http://n2.nabble.com/-FSO--ETK-and-GTK-python-apps-cause-%22Segmentation-fault%22-tp1491701p1491701.html >> Sent from the Openmoko Support mailing list archive at Nabble.com. >> >> >> _______________________________________________ >> support mailing list >> [email protected] >> https://lists.openmoko.org/mailman/listinfo/support >> > > > > > -- Valério Valério http://www.valeriovalerio.org
_______________________________________________ support mailing list [email protected] https://lists.openmoko.org/mailman/listinfo/support
