[Spacewalk-list] rhn-clone-errata.py running issue

fnwsa at yahoo.com fnwsa at yahoo.com
Tue Aug 14 14:52:41 UTC 2012


Hi, I am working on rhn-clone-errata.pynow. I've made the following changes to it:


userRHN = 'myRHNusername'
passRHN = 'myRHNpassword'

 'rhel-i386-server-5':   'spacewalk_channel_rhel_5_i386',
# python /root/rhn-clone-errata.py -s localhost -l swusername -p swpassword -c spacewalk_channel_rhel_5_i386 --publish --verbose

^C (Control+c)
Traceback (most recent call last):
  File "/root/rhn-clone-errata.py", line 643, in <module>
    main()
  File "/root/rhn-clone-errata.py", line 559, in main
    if chanMap[options.src_channel] is None:
KeyError: 'spacewalk_channel_rhel_5_i386'

# python /root/rhn-clone-errata.py -s localhost -l swusername -p swpassword --publish --verbose
^C (Control+c)
Traceback (most recent call last):
  File "/root/rhn-clone-errata.py", line 643, in <module>
    main()
  File "/root/rhn-clone-errata.py", line 559, in main
    if chanMap[options.src_channel] is None:
KeyError: None


Why did it not show any output and I have to use "Control+c" to stop the process?What else do I need to modified in rhn-clone-errata.py? 

Thank you in advance!


nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120814/8061f748/attachment.htm>


More information about the Spacewalk-list mailing list