[Spacewalk-list] create_channel: cannot marshal None unlessallow_none is enabled

Wojtak, Greg GregWojtak at quickenloans.com
Thu Dec 4 13:47:55 UTC 2008


I got the same error when I was trying to create my first channel yesterday.  I had to do:

./create_channel.py --user=<admin-user> --password=<admin-password> --label=centos-5-i386 --name "CentOS 5 32-bit" --summary "32-bit CentOS 5 channel"

See if that helps.  I'm still stuck with the broken links within Spacewalk, so I didn't get much further than that, but it's one step closer than I was.

Greg


From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Wolf, Christian
Sent: Thursday, December 04, 2008 4:10 AM
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] create_channel: cannot marshal None unlessallow_none is enabled

I get failure message if i want to create channel
I use:
# ./create_channel.py --label=fedora-9-i386 --name "Fedora 9 32 bit" -- summary "32-bit Fedora channel"

I download the create_channel.py from https://fedorahosted.org/spacewalk/wiki/UploadFedoraContent 

Error message: 
Traceback (most recent call last):
  File "./create_channel.py", line 66, in <module>
    main()
  File "./create_channel.py", line 62, in main
    summary = options.summary)
  File "./create_channel.py", line 57, in create
    parent)
  File "/usr/local/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/lib/python2.6/xmlrpclib.py", line 1483, in __request
    allow_none=self.__allow_none)
  File "/usr/local/lib/python2.6/xmlrpclib.py", line 1132, in dumps
    data = m.dumps(params)
  File "/usr/local/lib/python2.6/xmlrpclib.py", line 677, in dumps
    dump(v, write)
  File "/usr/local/lib/python2.6/xmlrpclib.py", line 699, in __dump
    f(self, value, write)
  File "/usr/local/lib/python2.6/xmlrpclib.py", line 703, in dump_nil
    raise TypeError, "cannot marshal None unless allow_none is enabled"
TypeError: cannot marshal None unless allow_none is enabled

What is my mistake?
System: CentOS 5.2


Gruß
Christian 





More information about the Spacewalk-list mailing list