Hi

# rpm -qa | grep cobbler
cobbler-1.0.3-1

I was adding some boxes to cobbler with a script but had to kill it half 
way through due to a box being added by mistake. I killed it but now 
when i run a cobbler sync or try to restart cobbler i get this

Starting cobbler daemon: Traceback (most recent call last):
  File "/usr/bin/cobblerd", line 32, in ?
    api = bootapi.BootAPI()
  File "/usr/lib/python2.3/site-packages/cobbler/api.py", line 73, in 
__init__
    self.deserialize()
  File "/usr/lib/python2.3/site-packages/cobbler/api.py", line 381, 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 
88, in deserialize
    rc = storage_module.deserialize(obj,topological)
  File 
"/usr/lib/python2.3/site-packages/cobbler/modules/serializer_yaml.py", 
line 103, in deserialize
    datastruct = yaml.load(data).next()  # first record
  File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line 89, 
in next
    self.nestedDocs.nestToNextLine()
  File "/usr/lib/python2.3/site-packages/cobbler/yaml/stream.py", line 
137, in nestToNextLine
    indentation = indentLevel(line)
  File "/usr/lib/python2.3/site-packages/cobbler/yaml/stream.py", line 
12, in indentLevel
    while n < len(line) and line[n] == ' ':
TypeError: len() of unsized object
                                                           [FAILED]

Anyone got any ideas how to clean this back up again?

thanks

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to