View Full Version : Python Exception Popups


ooo6ooo
Aug 30, 2006, 12:44 PM
When I get a python error while debugging mods, there are over ten popup windows on the screen. Each contains one line text of the error messages. Why? Should I change something in the ini file? :sad:

Jeckel
Aug 30, 2006, 02:16 PM
That is just the way it is, if there is a way to change it I would also like to know, but I wouldn't hold your breathe cause there probly isn't one.

jdog5000
Aug 30, 2006, 02:20 PM
I third the wanting something different ... in addition, it seems like Warlords changed something. With Vanilla, if I had 18 instances of a particular exception (one per civ say), I still only had ~10 popups to dismiss. Now it appears to be 18*10 = 180 which is ridiculous and I just have windows close Warlords and restart it. Anybody else get this?

ocedius
Aug 30, 2006, 04:57 PM
Maybe I'am an idiot, but doesn't this do just that?

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

Lord Olleus
Aug 30, 2006, 05:00 PM
You should read the popups, open the correct python file, and solve the bug. That is, if your playing a mod; otherwise you should post about it in the bug report center. And ocedius is write.

The Great Apple
Aug 30, 2006, 06:13 PM
But if you actually want to know you're having a python error it's not too useful. The point is that the python error should come in one box instead of one box for each line.

It does it if there is an error while loading as well.

Gunner
Aug 30, 2006, 07:30 PM
Yeah, I would really love it if it all came in one popup. Is this the type of thing which could be fixed?

ooo6ooo
Aug 30, 2006, 10:48 PM
I have to set
; Set to 1 for no python exception popups
HidePythonExceptions = 1
and open the PythonErr2.log file to check the errors, but sometimes it also popups tens of error windows.