[BTS] Selected civilization and No User Interface error

Sword_Of_Geddon

Arbiter of the Sword
Joined
Dec 21, 2003
Messages
14,184
Location
New England, USA
I have updated this first post to reflect new information, the problem is not restricted as orginally thought but the following::

I looked this up and apparently this kind of error is known collectively as a stack trace.

Edit: Looking over it:

thelumerianerror-jpg.513129


Shows I believe what is a tech tree(related to the tech xml file) error. Does anyone have experience dealing with this kind of error, again, help would be appreciated.
 
Last edited:
Open CivilizationIV.ini and set HidePythonExceptions to 0. If the interface is missing, it's because something goes wrong in the main python interface to such an extend that it crashes. It can't crash without an error message. Once you have an error message, you might be able to tell what goes wrong or at least you can copy paste it to the forum. Yes it can be copy pasted even if the interface hides that fact very well.
 
Thankyou my friend I will do that, and I'll show what I can very soon.

Update: Here is the Python errors that are related to the missing interface, again, this only happens when this one particular civilization is played.

TheLumerianError.jpg
 
Last edited:
Sounds like you may have a tech defined incorrectly in the modular civilization. Either a tech is spelt wrong or the one(s) referenced in the module don't exist. The starting techs would be my guess.
 
It was a guess after getting home from a 10 hour drive :lol:.

The error actually says that it is having trouble placing the icons on the tech tree, so check that the art is defined correctly for everything in the civ. Especially that the button art exists and is in the correct form.
 
Update again, not the city graphics. I don't know whats going on at all now, tried everything I can think of.

Correction, it was the new city graphics, but it was the manner I had added them. For now I've placed the new civ on the shelf, until I figure out the city graphics.
 
Last edited:
Update reinstalling did not help, the other civ that previously had no problems but i changed briefly to use the new cityset(which is not present in this version of the mod, just the other version), continues to show no interface on start. It is like the game is saving errors. Can anyone help?
 
Only thing the two civs(new Mu civ and old Totonac civ) have in common is they use the Totec artstyle. This was not a problem before this. Here is the original(Mu civ) as well as the civ which is also starting the same bug, where it didn't before, the Totonacs:

Only thing I don't understand(well there is alot more going on to be fair that I don't understand) is how the Python errors and a c++ problem could arise...

Edit: Removed file. The problem is not confined and is now occuring with all civs. Seems like broken python more than anything..Very odd because I have not touched anything.
 
Last edited:
Could it be a gamefont issue?
No. Technically GameFont is a bunch of characters linked to certain unicode characters (starting with 8483). When the game displays unicode in python or wide strings in the DLL, those characters will then display from the GameFont file. GameFont issues means using the wrong character, which will then either be a wrong icon or an invisible icon. GameFont issues will not crash the game or python.

Something goes wrong in the DLL and it seems to be something like reading xml info out of bounds or something like that. It crashes the DLL, though DLL code called from python seems to be inside try-catch code, meaning it displays the error code rather than crashing the game.
 
Back
Top Bottom