Talk:PyPenNotes

From Openmoko

Revision as of 22:28, 26 October 2008 by Maelvon (Talk | contribs)

Jump to: navigation, search

Installed python-pygtk python-pygtk-dev but still have an init() error with gtk. Asking for a "_init()" instead of "init()". find some threads about the def init(),as in Mofi.


I edited the "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py" file and add a "_" at line 82

if not hasattr(sys.modules['__main__'], 'python_launcher_enabled'):
_init()
Personal tools

Installed python-pygtk python-pygtk-dev but still have an init() error with gtk. Asking for a "_init()" instead of "init()". find some threads about the def init(),as in Mofi.


I edited the "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py" file and add a "_" at line 82

if not hasattr(sys.modules['__main__'], 'python_launcher_enabled'):
_init()