Possible python error (temp solution?)

mephistoex

Chieftain
Joined
Oct 28, 2005
Messages
14
Problem with game hanging quite fast after the intro. If you have a PythonErr2.log in your Logs folder, you probaply have this same thing happening to you.

While I was correcting the problem with city_tittlearrows.tga, which seems to have been fixed with copying that file from Civ4/Custom --> Civ4/HUD. I noticed that I'm getting PythonErr2.log.

So I wen't to the CivilizationIV.ini file in my documents-->my games-->civ 4, at first I did the thing mentioned in Civ4.com support page to have the Logging system enabled. After this I restarted the game and after a boot up, wen't to the log folder. Now there was 3 different logs from python. The normal PythonDBG.log and PythonErr.log plus the PythonErr2.log. None of these logs define any errors so I was a bit scrambled.

Then I accidentally noticed this line on CivilizationIV.ini file:

; Set to 1 for no python exception popups
HidePythonExceptions = 1

Figuring to give it a go I placed "0" there. Restarted the game and had a popup stating a Python error, I didn't take a screenshot out of that but it had errors happening on 2 different lines on 2 different files. So I don't actually remember now what the error was. At that time figuring that it would come again I pressed "Ok" and suddenly the game works. Maybe the error couldn't be checked without the python exception popups not showing and it would automatically exit the game or something (though what it did was place my gpu on standby and I had to hard boot).

Well I figured to restart the game to take a screenshot of the exception, but alas I had the old Renderer failed to initialize error (I had it before, but fixed it with the FKP unpack). Well I decided to restart the game again, now it wen't over the Renderer thing, but jumped back to desktop, while the game was still running. I clicked the civilization 4 on my taskbar and now can play the game normally.

So everytime now that I start the game it jumps back to desktop, without showing any python exceptions and I can get back to the game without any problems. This thing is the weirdest one I've had in any game yet, and this really isn't a fix for the exception, but atleast I can play the game. Though I dunno yet what the python error would actually do.

If anyone sees the popup immedietly take a screenshot out of it and please post it here. And if anyone comes with some ideas, please be free to post.-->play the game =)
 
Back
Top Bottom