Martin Minka wrote:
hello,
I installed Cobbler on CentOS 4.5, but "cobbler check" (but also
"cobbler") returns error: "TypeError: sort() takes no keyword arguments".
# cobbler
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 719,
in main
BootCLI(sys.argv).run()
File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 42,
in __init__
self.api = api.BootAPI()
File "/usr/lib/python2.3/site-packages/cobbler/api.py", line 40, in
__init__
self.deserialize()
File "/usr/lib/python2.3/site-packages/cobbler/api.py", line 170, in
deserialize
return self._config.deserialize()
File "/usr/lib/python2.3/site-packages/cobbler/config.py", line 169,
in deserialize
if not serializer.deserialize(x,topological=True):
File "/usr/lib/python2.3/site-packages/cobbler/serializer.py", line
79, in deserialize
datastruct.sort(cmp=__depth_cmp)
TypeError: sort() takes no keyword arguments
zsh: exit 1 cobbler
Please help me to fix this problem.
Best regards,
Martin Minka
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
If I recall correctly, this appeared in one of the 0.5.x testing builds
(possibly 0.5.1).
0.6.0 is out now, please upgrade to that and this will go away.
You can add EPEL as a repository if you like and just use yum to update
cobbler.
http://download.fedora.redhat.com/pub/epel/testing/4/i386/
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools