'RHEL6_NetworkData' object has no attribute 'activate'

Chris Lumens clumens at redhat.com
Fri Mar 25 17:39:00 UTC 2011


> Traceback (most recent call last):
>   File "./kstest.py", line 44, in <module>
>     outfile.write(h.__str__())
>   File "/home/simon/oltest/pykickstart/base.py", line 284, in __str__
>     retval += obj.__str__()
>   File "/home/simon/oltest/pykickstart/commands/network.py", line 204,
> in __str__
>     retval += nic.__str__()
>   File "/home/simon/oltest/pykickstart/commands/network.py", line 89, in __str__
>     retval += "network %s\n" % self._getArgsAsStr()
>   File "/home/simon/oltest/pykickstart/commands/network.py", line 180,
> in _getArgsAsStr
>     if self.activate:
> AttributeError: 'RHEL6_NetworkData' object has no attribute 'activate'

Which version of pykickstart are you using?  I just fixed this problem
in rawhide and am doing a build (pykickstart-1.83), so it should be
fixed there.

- Chris




More information about the Kickstart-list mailing list