I'd like to second the above comment that a failure should be reported.
Actually, there seems to be a number of problems mixing debug and non-
debug versions of python modules and not all of them are straightforward
to resolve. While debugging a python application (gramps), I fixed a
number of missing Py_InitModule4 problems by installing appropriate -dbg
versions, but then came across what looked like an unrelated error:

  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/saxexts.py", line 75, in 
make_parser
    sys.modules[parser_name].create_parser = _create_parser
KeyError: 'xml.sax.drivers2.drv_pyexpat'

It turns out I could solve the problem by installing python-xml-dbg as
well, but this implies that you 'just have to know' all the dependencies
that any python application might use, otherwise you could get
unpredictable run-time problems.

Sorry if this is off-topic - let me know and I'll create a separate bug.

-- 
Modules won't load under python-dbg
https://bugs.launchpad.net/bugs/72049
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to