jabber folder is superfluous and breaks import
Bug #129276 reported by
Ralph Janke
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jabber.py (Debian) |
Fix Released
|
Unknown
|
|||
jabber.py (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: python-jabber
The module is installed into the folder "/usr/share/
Solution: Move all files in the jabber folder into its parent folder.
Changed in jabber.py: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in jabber.py: | |
status: | Unknown → New |
Changed in jabber.py (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
The __init.py__ is broken, that is why it is not importing correctly (At least I think so...)
The following works for me:
Change the content of python- support/ python- jabber/ jabber/ __init_ _.py
/usr/share/
to
__all__ = ['jabber', 'xmlstream']
and everthing works like a charme.
(Version of python-jabber = 0.5.0-1.4 on Gutsy)