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

Romu <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
Hi,

2011/3/26 Chris Lumens <[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

The version I was using is:
commit 31139f1d0b760c84dd1afa44ed9cb954f5f01b83
Author: Radek Vykydal <[email protected]>
Date:   Mon Jan 31 22:16:04 2011 +0100

I updated it and now the problem is gone.  Thanks.


Regards,
rmu
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.