'RHEL6_NetworkData' object has no attribute 'activate'

Romu huruomu at gmail.com
Mon Mar 28 07:38:25 UTC 2011


Hi,

2011/3/26 Chris Lumens <clumens at redhat.com>:
>> 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 <rvykydal at redhat.com>
Date:   Mon Jan 31 22:16:04 2011 +0100

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


Regards,
rmu




More information about the Kickstart-list mailing list