The program starts without AVBin succsessfully (and says: "AVBin not detected. Music disabled.")
But with AVBin installed in the system it crashes (It shows a window filled with white, eats CPU and memory)
IDLE output:
Unexpected error loading library avbin: [WinError 193] %1 is not a valid Win32 application
Warning: Could not load AVbin. Music disabled.
This is usually due to Windows Data Execution Prevention (DEP). Due to a bug in
AVbin, a library used for decoding sound files, music is not available when DEP is enabled. To enable music, disable DEP for Brain Workshop. To simply get rid of this message, set USE_MUSIC = False in your config.ini file.
To disable DEP:
Open Control Panel -> System
Select Advanced System Settings
Click on Performance -> Settings
Click on the Data Execution Prevention tab
Either select the "Turn on DEP for essential Windows programs and services only" option, or add an exception for Brain Workshop.
Press any key to continue without music support.
Traceback (most recent call last):
File "C:\Users\User\Desktop\bw_new\brainworkshop.pyw", line 4760, in
Message(msg)
File "C:\Users\User\Desktop\bw_new\brainworkshop.pyw", line 662, in init
font_name=self.fontlist_serif,
AttributeError: 'Message' object has no attribute 'fontlist_serif'
"Turn on DEP for essential Windows programs and services only" option already set.
The program starts without AVBin succsessfully (and says: "AVBin not detected. Music disabled.") But with AVBin installed in the system it crashes (It shows a window filled with white, eats CPU and memory)
IDLE output: Unexpected error loading library avbin: [WinError 193] %1 is not a valid Win32 application Warning: Could not load AVbin. Music disabled.
This is usually due to Windows Data Execution Prevention (DEP). Due to a bug in AVbin, a library used for decoding sound files, music is not available when DEP is enabled. To enable music, disable DEP for Brain Workshop. To simply get rid of this message, set USE_MUSIC = False in your config.ini file.
To disable DEP:
Press any key to continue without music support.
Traceback (most recent call last): File "C:\Users\User\Desktop\bw_new\brainworkshop.pyw", line 4760, in
Message(msg)
File "C:\Users\User\Desktop\bw_new\brainworkshop.pyw", line 662, in init
font_name=self.fontlist_serif,
AttributeError: 'Message' object has no attribute 'fontlist_serif'
"Turn on DEP for essential Windows programs and services only" option already set.