C2C v40 python crash on game initialization

Santa Klaus

Warlord
Joined
Nov 15, 2016
Messages
112
Was very excited about the new version and downloaded it yesterday. But...
I moved the old v39 to the desktop and moved the new v40 into the Mods Folder. Starting the game, during Python Init, I receive 2 errors:

Python Exception Trace back (most recent call last):
and
Python Exception File "BugEventManager", line 307, in_handleDefaultEvent

and then I have to use TaskManger to close the programs.
I'm using Win 7, Civ IV Complete, compatability set for XP SP3 and run as admin

When I move the old version back to the Mods Folder, moving the new one out, game starts without problems.
I'm attaching Python Error logs, hope someone can give me a heads up...
 

Attachments

Could you try deleting your UserSettings folder inside Caveman2Cosmos? A few changes were made that require users to delete it.
 
Could you try deleting your UserSettings folder inside Caveman2Cosmos? A few changes were made that require users to delete it.
Thanks for reply, however, C2C does not have a UserSettings folder and the game does not initialize far enough to create one.
 
Thanks for reply, however, C2C does not have a UserSettings folder and the game does not initialize far enough to create one.

No such file or directory: 'D:\\Games\\Civilization IV Complete\\Civ4\\Beyond the Sword\\Mods\\Caveman2Cosmos\\UserSettings\\CivicScreen.txt'

Your past the point where a folder should be made, and the fact that it's not is why you're crashing.
Probly some administrator thing but I don't really know. I'm sure someone smarter will show up soon.
 
from the OP: I'm using Win 7, Civ IV Complete, compatability set for XP SP3 and run as admin

thanks for replying
'D:\\Games\\Civilization IV Complete\\Civ4\\Beyond the Sword
This looks suspicious - reinstall game.

Also use windows vista SP2 compatibility mode
 
Is this your exact C2C path?
D:\\Games\\Civilization IV Complete\\Civ4\\Beyond the Sword\\Mods\\Caveman2Cosmos\\

Inside that last folder there should be Assets, Resource, and PrivateMaps folders among other things.

Edit: When you click the explorer address bar, does any of it change to containing cyrrilic characters or something. I noticed the error word "Errno" in the logs, we've had some strange issues with operating systems that use non-latin system languages in the recent past, sadly we haven't had enough beta testers who use such systems to really work through these issues yet.

One who had a similar issue, from Ukraine, managed to get the game running by changing the system language to English, he had win 10 though, it is not a simple matter to change system language on older windows OS's.
I would like to figure out, and fix, the problem proper; so your reports, cooperation and patience may be valuable.

EditEdit: I think this is the code line that is failing when you start v40:
os.mkdir(userSettingsDir)​
where
userSettingsDir = 'D:\\Games\\Civilization IV Complete\\Civ4\\Beyond the Sword\\Mods\\Caveman2Cosmos\\UserSettings'

If we can figure out some possible reasons for why this is failing, then we may be able to fix the issue in your case, which I think is a non-typical case.

EditEditEdit: {
'D:\\Games\\Civilization IV Complete\\Civ4\\Beyond the Sword
This looks suspicious - reinstall game.
Reinstalling the game shouldn't be the initial response to something like this without more information about the case. Just saying.
Could you try deleting your UserSettings folder inside Caveman2Cosmos? A few changes were made that require users to delete it.
This shouldn't be necessary anymore. Bill automated the removal of old incompatible userSettings folders.
}
 
Last edited:
Thank you Toffer! You solved the problem.
The previous C2C version 39 was installed in "C:\Documents\My Games\Beyond The Sword\Mods", and I naturally installed the new version there as well (after removing the old one).
Installing it in the game directory "D:\\Games\\Civilization IV Complete\\Civ4\\Beyond the Sword\\Mods\\Caveman2Cosmos\\" did the trick.
Thanks again
 
I have a problem I can not replicate, in the first era (about 30+ techs in - near the fire pit tech.). But it has now occurred 3 times. Using the released V40 edition not SVN.

After about 30+ turns playing the EOT just hangs and I have to turn of the computer (Task manager does not kick in. - I also have loads of autosaves with the same date.)

I have tried to create a save, just before this happens - but with no luck.

If I reload one of the saves, it says I have been defeated.

Will try to download the SVN tomorrow and see if that solves the problem.

Sorry maybe wrong thread.

Edit.

SVN seems to be taking much longer than normal to download. (possibly 5+ times longer) :o

Using new SVN, still did not work. To old for this, I am going to take time out. Dwarf Fortress where are you. :)

Edit 2.

Problem solved thanks to Raxo.

Finger problem on my part - selected a game start option I did not mean to.
 
Last edited:
I have a problem I can not replicate, in the first era (about 30+ techs in - near the fire pit tech.). But it has now occurred 3 times. Using the released V40 edition not SVN.

After about 30+ turns playing the EOT just hangs and I have to turn of the computer (Task manager does not kick in. - I also have loads of autosaves with the same date.)

I have tried to create a save, just before this happens - but with no luck.

If I reload one of the saves, it says I have been defeated.

Will try to download the SVN tomorrow and see if that solves the problem.

Sorry maybe wrong thread.

Edit.

SVN seems to be taking much longer than normal to download. (possibly 5+ times longer) :o

Using new SVN, still did not work. To old for this, I am going to take time out. Dwarf Fortress where are you. :)
Look at title - you posted in wrong thread.

Did you delete old version of mod?
Also play in windowed mode (might want to adjust vertical resolution) so you don't have to reset computer.

Upload latest save, user settings and logs.
 
Last edited:
I have a problem I can not replicate, in the first era (about 30+ techs in - near the fire pit tech.). But it has now occurred 3 times. Using the released V40 edition not SVN.

After about 30+ turns playing the EOT just hangs and I have to turn of the computer (Task manager does not kick in. - I also have loads of autosaves with the same date.)

I have tried to create a save, just before this happens - but with no luck.

If I reload one of the saves, it says I have been defeated.

Will try to download the SVN tomorrow and see if that solves the problem.

Sorry maybe wrong thread.

Edit.

SVN seems to be taking much longer than normal to download. (possibly 5+ times longer) :o

Using new SVN, still did not work. To old for this, I am going to take time out. Dwarf Fortress where are you. :)
When was the last time you actually updated the SVN itself?
EDIT: latest version is 1.12.2 should really be using it. If you are still on 1.9.xxx you are way behind on updates which could be why the download and update took so long.
 
Last edited:
Thanks Joe - I was on an older version 1.10.1 I think. But trying again today, before updating - it worked as normal. Must have been a problem with my ISP supplier.
 
Thanks Joe - I was on an older version 1.10.1 I think. But trying again today, before updating - it worked as normal. Must have been a problem with my ISP supplier.
Or SourceForge site was being slow. That happens from time to time.
 
Back
Top Bottom