meanwhile i realized the same problem happens with every module that has a c extension (ie. a .so module) eg. Tkinter or sqlite
>>> import Tkinter >>> Tkinter.Tk() Segmentation fault with python-dbg: >>> import Tkinter Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 41, in <module> raise ImportError, str(msg) + ', please install the python-tk package' ImportError: /usr/lib/python2.5/lib-dynload/_tkinter.so: undefined symbol: Py_InitModule4, please install the python-tk package [32869 refs] the same happens when i use python2.4 (notice that the segfault does not happen immediately when i use non- debug python, with certain libs i could not produce segfaults while i still got the importerror in debug mode) 1 or 2 weeks ago everything worked fine and unfortunately i'm not sure what has been changed since then so the bug is not pygtk related and i have no idea what could have caused it -- import gtk:- undefined symbol: Py_InitModule4 https://bugs.launchpad.net/bugs/282320 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs