OrionVeteran
Deity
In BTS 3.19, I get the following python error in the CvWBDesc.py file:
line 827 in the CvWBDesc.py file reads:
Could this have something to do with the CIV4UnitAIInfos.xml file, which has these add on entries?
I can't seem to clear up this error. Any ideas on what may be wrong?
Respectfully,
Orion Veteran
Code:
Python Exception
Traceback (most recent call last):
File "CvWBInterface", line 18, in writeDesc
File "CvWBDesc", line 1545 in write
File "CvWBDesc", line 1193 in write
File "CvWBDesc", line 827 in write
AttributeError: 'NoneType' object has no attribute 'GetType'
line 827 in the CvWBDesc.py file reads:
Code:
f.write("\t\tUnitAIType=%s\n" %(gc.getUnitAIInfo(unit.getUnitAIType()).getType()))
Could this have something to do with the CIV4UnitAIInfos.xml file, which has these add on entries?
Code:
<UnitAIInfo>
<Type>UNITAI_INQUISITOR</Type>
<Description>UNITAI_INQUISITOR</Description>
</UnitAIInfo>
<UnitAIInfo>
<Type>UNITAI_INQUISITOR_SEA</Type>
<Description>UNITAI_INQUISITOR_SEA</Description>
</UnitAIInfo>
I can't seem to clear up this error. Any ideas on what may be wrong?
Respectfully,
Orion Veteran
