Iustus:
Saw your post here about the EFA Related bug.
http://forums.civfanatics.com/showpost.php?p=5046142&postcount=116
This is on Vanilla Civ IV patched to 1.61
I am using the latest version of BetterAI, the 01/30/2007 build.
I am using ruff_hi's Cobbled ModPack which contains the EFA among other things. The thread for that mod is here:
http://forums.civfanatics.com/showthread.php?t=168783
After installing ruff's mod I got the crash and assert mentioned in the post above when using the EFA. I believe I had clicked on info and that invoked the crash and assert.
Anyways, I found the above post and I added the code you mentioned (to check for No Relgion) to my CvExoticForiegnAdvisor.py file.
After doing so when the game fires off, I have absolutely
no interface. None at all.
If I go back into the .py file and comment out that line I get my interface back,
BUT I get assert errors that are
different than the codes that led you to this bug in the first place.
I have attached a screen shot of the assert and the game without interface.
Please note that I get this assert 2 times. The only difference between them is the line number. The second one calls out Line 3909.
Also these assert error screens will keep popping forever until I click Ignore Always.
After that the game seems to load fine, but I haven't spent any time playing with it after it loads.
I did however do this. After closing the assert error screens by clicking Ignore Always, I went into the game and brought up the options for ruff's mod. I then disabled the EFA, and closed the game.
When I restarted the game I still got the 2 assert errors.
I am going to post in ruff_hi's thread and point him to this post, because I have no idea whose code is the culprit.

Seems like these 2 children do not like playing with each other.