CX_Freeze:Python error in main script

Post your technical problems here.
Herrscher5
Cadet
Posts: 2
Joined: Mon Nov 18, 2019 7:12 pm

CX_Freeze:Python error in main script

Unread postby Herrscher5 » Mon Nov 18, 2019 7:22 pm

Hi

while starting the tutorial my game crashes and gives me this crash report attacht to this post.
Also when starting a campaing the screen starts to freeze and overlap with the previous menue.

Thanks for any help in advance
IMG_20191118_201911.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
Tomislav Uzelac
2x2 Games
Posts: 1762
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: CX_Freeze:Python error in main script

Unread postby Tomislav Uzelac » Tue Nov 19, 2019 8:13 pm

Hi, please check that your graphics card drivers are up to date. Sometimes with windows 7 (UI looks like that) the driver can be out of date by a few years. If you need help with updating, please post the make and model of your card here.

Also, if your card is an older model, go to Options/Video and set the video quality preset to "Low".

If the game works on "Low" you can try "Medium" etc.

Cheers!

Herrscher5
Cadet
Posts: 2
Joined: Mon Nov 18, 2019 7:12 pm

Re: CX_Freeze:Python error in main script

Unread postby Herrscher5 » Tue Nov 19, 2019 10:31 pm

Hi thanks for the reply.

I tried changing the resolution in game, when this didnt worked I tried it in Steam before opening the game, there I set the resolution to 800/600. Now im unable to open the game.
As for my graphiqe card, it is an AMD Radeon R9 200 series, witch has the newest driver software (tested by clicking in device management on it and choosing the internet search button)

vonstauffenberg
Newcomer
Posts: 1
Joined: Thu Nov 21, 2019 9:14 pm

Re: CX_Freeze:Python error in main script

Unread postby vonstauffenberg » Thu Nov 21, 2019 9:26 pm

Tomislave, imam isti problem vezano za taj cx_Freeze: Python error in main script. Probao sam sve da to riješim. Grafička mi je Radeon RX 560 i ima zadnji instaliran driver.

User avatar
Tomislav Uzelac
2x2 Games
Posts: 1762
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: CX_Freeze:Python error in main script

Unread postby Tomislav Uzelac » Fri Nov 22, 2019 6:28 am

OK, if the drivers are up to date (in both cases) I will need the logs to take a look. THIS TOPIC explains where to find them, please find and post them it's not complicated.

@vonstauffenberg: javite se e-mailom na support at unityofcommand dot net sa istim pitanjem pa ćemo rješavati tim putem. Javni forum bi trebao ostati na engleskom. Molim vas logove u svakom slučaju.

kirkibost
Cadet
Posts: 3
Joined: Wed Nov 27, 2019 5:57 pm

Re: CX_Freeze:Python error in main script

Unread postby kirkibost » Wed Nov 27, 2019 6:02 pm

Hi there I am also getting this error on launch. I have already played 14 hours of the game with no problems and my drivers are up to date. I have uninstalled from Stema and re-installed and verified the files. Hope you can help.

Image

User avatar
Tomislav Uzelac
2x2 Games
Posts: 1762
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: CX_Freeze:Python error in main script

Unread postby Tomislav Uzelac » Wed Nov 27, 2019 6:08 pm

@kirkibost: please supply the logs as explained in THIS POST.

One thing you might want to try right away is deleting your settings.yml file. The game will create a new default one when restarting.

Cheers!

kirkibost
Cadet
Posts: 3
Joined: Wed Nov 27, 2019 5:57 pm

Re: CX_Freeze:Python error in main script

Unread postby kirkibost » Fri Nov 29, 2019 1:32 am

Hi, deleting the settings.yml file worked.

Thank you for your help. I'm really enjoying your game.

kirkibost
Cadet
Posts: 3
Joined: Wed Nov 27, 2019 5:57 pm

Re: CX_Freeze:Python error in main script

Unread postby kirkibost » Fri Nov 29, 2019 2:02 am

Hi, just to let you know deleting the settings.yml file worked.

Thank you for your help. I'm really enjoying your game.