Hi,

I had to „patch“ /usr/bin/gensystemid on my spacewalk-server to resolve this 
error.

> [root@xxxxxx ~]# gensystemid --release=6Server /var/mrepo
> gensystemid: Architecture not supplied, using system architecture x86_64
> RHN Username: <username>
> RHN Password:
> Traceback (most recent call last):
>  File "/usr/bin/gensystemid", line 271, in <module>
>    main()
>  File "/usr/bin/gensystemid", line 238, in main
>    except rpclib.Fault, f:
> AttributeError: 'module' object has no attribute 'Fault'

I added the line

   sys.path.insert(0, '/usr/share/mrepo/')

above the line

   from up2date_client import config, rpcServer, up2dateErrors

to make sure, gensystemid uses the rpclib from mrepo and not from the spacewalk 
installation.

I am on Centos6 with python-2.6.6 and mrepo-0.8.8 


Regards,
Bernhard

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to