CX_Freeze:Python error in main script

Post your technical problems here.
User avatar
Tomislav Uzelac
2x2 Games
Posts: 1956
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: CX_Freeze:Python error in main script

Unread postby Tomislav Uzelac » Thu Nov 19, 2020 12:59 pm

@Dayvit78: it seems that you may have deleted the file "settings.pyc" (which you should never delete), as opposed to "settings.yml".

Please go to Steam -> Library -> Unity of Command II -> (right click) Properties -> Local Files -> Verify Integrity...

Once this verification is done please try running the game and report what happened.

We'll take it from there.

Cheers!

Dayvit78
Cadet
Posts: 4
Joined: Mon Nov 09, 2020 8:04 am

Re: CX_Freeze:Python error in main script

Unread postby Dayvit78 » Fri Nov 20, 2020 2:39 am

Well, the problem resolved itself without my doing anything further. Sometimes computers are finnicky. (Save file was corrupted but the game opens and I can start a new campaign)

I did indeed delete the pyc! I will not do that again ^_^ Thank you for your reply.