Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

EventGhost crashing Assetto Corsa (game) while running

If you have a question or need help, this is the place to be.
Post Reply
Baccata
Posts: 4
Joined: Fri Jan 23, 2015 6:33 am

EventGhost crashing Assetto Corsa (game) while running

Post by Baccata »

Hi friends

I'm using the latest version of EventGhost (0.4.1.r1691) which uses Python 2.x.

However every time I wanna play Assetto Corsa using Steam, the game crashes while loading my car. If I read the log file of the game, it's a python error. Assetto Corsa using Python 3.x

If I close EventGhost and then start Assetto Corsa again the game will work without any problems.

How can I fix this problem without closing EventGhost every time? Can I use EventGhost with Python 3.x?

Thanks in advance
Baccata
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: EventGhost crashing Assetto Corsa (game) while running

Post by jonib »

Baccata wrote:However every time I wanna play Assetto Corsa using Steam, the game crashes while loading my car. If I read the log file of the game, it's a python error. Assetto Corsa using Python 3.x
What error are you getting?
How can I fix this problem without closing EventGhost every time? Can I use EventGhost with Python 3.x?
I have a hard time believing the game tries to use or is conflicting with EventGhosts Python 2 as they should be separate. I think there must be something else conflicting.
And it would not be easy to move EventGhost to Python 3.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Baccata
Posts: 4
Joined: Fri Jan 23, 2015 6:33 am

Re: EventGhost crashing Assetto Corsa (game) while running

Post by Baccata »

Hi jonib
jonib wrote:What error are you getting?
windows error window "acs.exe stopped working" (acs.exe is the Assetto Corsa game exe)

It's without a debt a python error.
jonib wrote:I have a hard time believing the game tries to use or is conflicting with EventGhosts Python 2 as they should be separate.
To be clear: If I close EventGhost (which starts with windows) before starting Assetto Corsa the game will work every time. If EventGhost is still running, the game will never work.
jonib wrote:I think there must be something else conflicting.
I also tried to install python 3.4.2 but no success.
jonib wrote:And it would not be easy to move EventGhost to Python 3.
What a pity.
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: EventGhost crashing Assetto Corsa (game) while running

Post by jonib »

Baccata wrote:
jonib wrote:What error are you getting?
windows error window "acs.exe stopped working" (acs.exe is the Assetto Corsa game exe)

It's without a debt a python error.
I meant what error are you getting that makes you think it's Python related?
jonib wrote:I have a hard time believing the game tries to use or is conflicting with EventGhosts Python 2 as they should be separate.
To be clear: If I close EventGhost (which starts with windows) before starting Assetto Corsa the game will work every time. If EventGhost is still running, the game will never work.
I understood that, I'm just thinking it it should(could) be something else in EventGhost thats conflicting.
I also tried to install python 3.4.2 but no success.
I would assume the game is using an internal version of Python, as is EventGhost so installing a separate Python won't have any effect.
jonib wrote:And it would not be easy to move EventGhost to Python 3.
What a pity.
Hopefully someone will look into updating EventGhost to use a newer version of Python, even if a newer version of 2.x.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Baccata
Posts: 4
Joined: Fri Jan 23, 2015 6:33 am

Re: EventGhost crashing Assetto Corsa (game) while running

Post by Baccata »

jonib wrote:I meant what error are you getting that makes you think it's Python related?
The Assetto Corsa log file. The Assetto Corsa support also interprets it as a python error (after reading the log file).
jonib wrote:I understood that, I'm just thinking it it should(could) be something else in EventGhost thats conflicting.
I also though about that, but I didn't find any way to disable EventGhost while the game is running.
jonib wrote:I would assume the game is using an internal version of Python, as is EventGhost so installing a separate Python won't have any effect.
Good point.

btw: If I'm closing EventGhost, running Assetto Corsa, closing Assetto Corsa and starting EventGhost again and then starting Assetto Corsa again (while EventGhost is still running) the game will work. How's that possible? I'm confused :?
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: EventGhost crashing Assetto Corsa (game) while running

Post by jonib »

Baccata wrote:
jonib wrote:I meant what error are you getting that makes you think it's Python related?
The Assetto Corsa log file. The Assetto Corsa support also interprets it as a python error (after reading the log file).
You do realize I can't log into your computer to read the Assetto Corsa log file, so I'm asking for the third and last time WHAT (not where or why or how ) error you are getting that makes you think it's Python related.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Baccata
Posts: 4
Joined: Fri Jan 23, 2015 6:33 am

Re: EventGhost crashing Assetto Corsa (game) while running

Post by Baccata »

jonib wrote:You do realize I can't log into your computer to read the Assetto Corsa log file, so I'm asking for the third and last time WHAT (not where or why or how ) error you are getting that makes you think it's Python related.
Assetto Corsa log.txt last 3 lines:

Code: Select all

[...]
Initialise Python Interface
Cleaning Python Cache apps/python/system/
CORRECT MODULE LOAD
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: EventGhost crashing Assetto Corsa (game) while running

Post by jonib »

Baccata wrote:Assetto Corsa log.txt last 3 lines:

Code: Select all

[...]
Initialise Python Interface
Cleaning Python Cache apps/python/system/
CORRECT MODULE LOAD
That don't really look like an error to me.

But any way try to have EventGhost running but with an empty config, so nothing is loaded except for EventGhost itself. And see if there is a problem running the game.
So we might be able to identify what is causing the conflict.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Post Reply