- changed version to 0.6.0-beta1
Python Exception on dwarf vs lizardman event
Traceback (most recent call last):
File "CvRandomEventInterface", line 418, in applyExploreLairDwarfVsLizardmen2
File "CustomFunctions", line 988, in findClearPlot
AttributeError: 'NoneType' object has no attribute 'getX'
ERR: Python function applyExploreLairDwarfVsLizardmen2 failed, module CvRandomEventInterface
Comments (6)
-
reporter -
I tested that today (both with a pre-0.5 wilderness version and with an updated one) and everything worked all right. Were you able to reproduce it reliably?
-
reporter It happens only sometimes. I see it appearing on the log sometimes while running unrelated tests with auto play. Besides the error Gekko reported I've only seen it appear once on normal games. As it happens only sometimes and the code looks right, I have not been able to find what is wrong.
-
reporter - edited description
I managed to reproduce this issue again today while using auto play for a different issue. Trying to load autosaves from previous turns and running auto play again did not reproduce it. I have updated the trace in the description with the new line numbers in 0.6.
The error looks as if the unit triggering the event had no tile, which does not make much sense... Many other events use kTriggeredData.iUnitId to obtain the unit they need, so if that mechanism failed we would have this kind of error in other events too.
-
reporter Issue
#371was marked as a duplicate of this issue. -
reporter - edited description
- changed version to 0.6.0-beta2
I have got two reports in 0.6.0-beta1 already.
- Log in to comment