Public bug reported: As I reported incorrectly in https://bugs.launchpad.net/ubuntu/+source/pyinotify/+bug/85705/comments/4 :
When importing pyinotify from python-dbg (both 2.4 and 2.5, and both versions of pyinotify from gutsy and hardy as well), I get the following error. (for 0.7.1-1 0): python2.4-dbg Python 2.4.4 (#2, Feb 27 2008, 18:33:12) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu1)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pyinotify Traceback (most recent call last): File "<stdin>", line 1, in ? File "/var/lib/python-support/python2.4/pyinotify/pyinotify.py", line 47, in ? from inotify import inotify_init, inotify_add_watch, inotify_rm_watch File "/var/lib/python-support/python2.4/pyinotify/inotify.py", line 48, in ? from _inotify import inotify_init, inotify_add_watch, inotify_rm_watch ImportError: /var/lib/python-support/python2.4/pyinotify/_inotify.so: undefined symbol: Py_InitModule4 [32309 refs] >>> And as well: python2.5-dbg Python 2.5.2 (r252:60911, Feb 27 2008, 18:32:34) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu1)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pyinotify Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/var/lib/python-support/python2.5/pyinotify/pyinotify.py", line 47, in <module> from inotify import inotify_init, inotify_add_watch, inotify_rm_watch File "/var/lib/python-support/python2.5/pyinotify/inotify.py", line 48, in <module> from _inotify import inotify_init, inotify_add_watch, inotify_rm_watch ImportError: /var/lib/python-support/python2.5/pyinotify/_inotify.so: undefined symbol: Py_InitModule4_64 [102130 refs] As I understand the -dbg version of the module is missing, but unfortunately it overpasses my current skills to edit the rules, control and setup.py to make it build properly, so as we depend on that for a project (launchpad.net/hdlorean) we just cannot debug it while developing... which makes it so painful :). ** Affects: pyinotify (Ubuntu) Importance: Undecided Status: New -- Pyinotify lacks -dbg version https://bugs.launchpad.net/bugs/200051 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