Re: 'RHEL6_NetworkData' object has no attribute 'activate'

Chris Lumens <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.