Public bug reported:

Hi

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 jabber.py 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/osad.py", line 30, in <module>
    import jabber_lib
  File "/usr/share/rhn/osad/jabber_lib.py", 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:

/usr/lib/python2.7/dist-packages/jabber/__init__.py

CentOS/Fedora/SuSE this file contains:

__all__ = []

import jabber

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

del __s, __val


But on Ubuntu, it's empty...

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

** Affects: jabber.py (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1256956

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jabber.py/+bug/1256956/+subscriptions

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

Reply via email to