SevoPedia - Promotions Graph

cpt.tripps.2012

Warlord
Joined
May 25, 2012
Messages
176
So I made some changes to the unit promotions and now I get a python error and no promotion tree.

Here is the error log:
Spoiler :
Code:
Traceback (most recent call last):

  File "CvScreensInterface", line 405, in pediaMain

  File "SevoPediaMain", line 246, in pediaJump

  File "SevoPediaMain", line 305, in showContents

  File "SevoPediaMain", line 486, in placePromotionTree

  File "UnitUpgradesGraph", line 293, in getGraph

KeyError: 21
ERR: Python function pediaMain failed, module CvScreensInterface

Does anyone have any idea about this? It seems to have been a problem in the past, but all the forum post I have read seem to deal with cutting it out instead of fixing it. any help would be appreciated.
 
Neither do I. I would disable it, but it is also used for the ship upgrades (which is working). I didn't change the promotion pre-wreks at all, just the tech requirements. That and I deleted some of promotions and added some new ones but those didn't have and pre-wreks or were prewreks for anything else.
 
The units are completely different, but the unit upgrade tree is unaffected by the bug. It is only the promotion upgrade tree that has the bug.

[SOLVED]

I got rid of all the <or> prewreks. that solved it.
 
Back
Top Bottom