Getting python-jabber to work with OSAD (Spacewalk Client)

Bug #1256956 reported by MrMEEE
This bug affects 1 person
Affects Status Importance Assigned to Milestone (Ubuntu)

Bug Description


I'm trying to fix different issues in regards to Ubuntu integration in the Spacewalk Management server..

There are already a lot of packages in Ubuntu in regard to be managing Ubuntu servers from Spacewalk.. But a few is missing..

On of them is the OSAD push-client (basically a jabber client)...

This client depends on the package.. but something doesn't work right there, if using the current version..

osad --help
Traceback (most recent call last):
  File "/usr/sbin/osad", line 28, in <module>
    mod = __import__("osad." + mod_name)
  File "/usr/share/rhn/osad/", line 30, in <module>
    import jabber_lib
  File "/usr/share/rhn/osad/", line 339, in <module>
    class JabberProtocolNode(jabber.Protocol):
AttributeError: 'module' object has no attribute 'Protocol'

After comparing the versions from CentOS and Ubuntu I have found one differens in the:


CentOS/Fedora/SuSE this file contains:

__all__ = []

import jabber

for __s in dir(jabber):
    __val = getattr(jabber, __s)
    globals()[__s] = __val

del __s, __val

But on Ubuntu, it's empty...

Is there a chance that we can get the into the Ubuntu package???

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers