$ mount -o loop F-7-x86_64-DVD.iso tmpmount
$ cobbler import --name=F-7-x86_64 --mirror=tmpmount
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 636, in main
BootCLI(sys.argv).run()
File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 37, in __init__
self.api = api.BootAPI()
File "/usr/lib/python2.5/site-packages/cobbler/api.py", line 41, in __init__
self.deserialize()
File "/usr/lib/python2.5/site-packages/cobbler/api.py", line 171, in deserialize
return self._config.deserialize()
File "/usr/lib/python2.5/site-packages/cobbler/config.py", line 158, in deserialize
if not serializer.deserialize(x):
File "/usr/lib/python2.5/site-packages/cobbler/serializer.py", line 69, in deserialize
datastruct = yaml.load(data).next() # first record
File "/usr/lib/python2.5/site-packages/cobbler/yaml/load.py", line 83, in next
self.nestedDocs.nestToNextLine()
File "/usr/lib/python2.5/site-packages/cobbler/yaml/stream.py", line 131, in nestToNextLine
indentation = indentLevel(line)
File "/usr/lib/python2.5/site-packages/cobbler/yaml/stream.py", line 6, in indentLevel
while n < len(line) and line[n] == ' ':
TypeError: object of type 'NoneType' has no len()
$
On 6/7/07, Michael DeHaan
<mdehaan@xxxxxxxxxx> wrote:
Rick Vinyard wrote:
> Is there currently a bug in cobbler?
>
> Trying a cobbler import on F7-i386 results in a python type error.
> ------------------------------------------------------------------------
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
Please post the full command line used and the traceback, plus what
cobbler version you are using.
Thanks,
Michael
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools