[Spacewalk-list] spacewalk-client 1.7, opensuse12.1

Alan Pittman Alan.Pittman at publix.com
Tue Mar 13 20:03:35 UTC 2012


Ralf,
   Thanks for this solution. This fixed my issue with the rhnreg_ks command. I was able to re-register my machine and download and apply the available updates.

Alan

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of yuck at hush.com
Sent: Tuesday, March 13, 2012 5:56 AM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] spacewalk-client 1.7, opensuse12.1

Hi,

same error on opensuse 11.4:

  File "/usr/sbin/rhnreg_ks", line 33, in <module>

    from up2date_client import rhnreg

  File "/usr/share/rhn/up2date_client/rhnreg.py", line 14, in <module>

    import up2dateUtils

  File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 11, in <module>

    import up2dateErrors

  File "/usr/share/rhn/up2date_client/up2dateErrors.py", line 188, in <module>

    class SSLCertificateVerifyFailedError(RepoError, Error):

TypeError: Error when calling the metaclass bases

    duplicate base class Error

Problem lies within up2dateErrors.py (rhn-client-tools-1.7.14-2.1.noarch.rpm).
Changing
class SSLCertificateVerifyFailedError(RepoError, Error)
back to
class SSLCertificateVerifyFailedError(RepoError)

seems to work (line 188 in the file).

("Error" (parameter?) was added here: http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=9b28ded9de35b00d05457c877b8e8bb9d68a37de)

Don't know much about python, so can't exactly tell what is happening, but until it's fixed this seems like a usable solution.

Regards
Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120313/75a1f776/attachment.htm>


More information about the Spacewalk-list mailing list