[Spacewalk-list] rhnpush error - unexpected keyword argument 'file'

Andrew Prowant aprowant at vailsys.com
Mon Apr 23 19:54:01 UTC 2012


That was it. For some reason yum check-update was not showing the latest
rhnpush available from http://spacewalk.redhat.com/yum/1.7/RHEL/5/i386/ .

I was running spacewalk-backend 1.7.38-1 and rhnpush 5.5.24-1. I just
manually upgraded to rhnpush 5.5.48-1 and everything appears to be
working properly.

Thanks so much everyone for the help!
Andrew

Michael Mraka wrote:
> Andrew Prowant wrote:
> % Here it is. Thanks for looking at this.
> % 
> % Traceback (most recent call last):
> %   File "/usr/bin/rhnpush", line 22, in ?
> %     sys.exit(mod.main() or 0)
> %   File "/usr/share/rhn/rhnpush/rhnpush.py", line 153, in main
> %     ret = upload.packages()
> %   File "/usr/share/rhn/rhnpush/rhnpush.py", line 338, in packages
> %     (server_digest_hash, pkgs_info, digest_hash) =
> % self.check_package_exists()
> %   File "/usr/share/rhn/rhnpush/rhnpush.py", line 488, in
> % check_package_exists
> %     header, payload_stream = rhn_mpm.load(file=f)
> % TypeError: load() got an unexpected keyword argument 'file'
> 
> What's your spacewalk-backend and rhnpush version?
> 
> Regards,
> 
> --
> Michael Mráka
> Satellite Engineering, Red Hat
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list