Crash in Sariuk's mahcade fork.

A nice (keyboard based) front end for Arcade / Console game emulators.

Moderator: battlecat

Crash in Sariuk's mahcade fork.

Postby Zombie » Mon Apr 18, 2011 6:22 pm

Traceback (most recent call last):
File "wahcade.py", line 86, in <module>
app = WinMain(options)
File "/usr/share/games/wahcade/win_main.py", line 326, in __init__
self.check_music_settings()
File "/usr/share/games/wahcade/win_main.py", line 1573, in check_music_settings
self.gstMusic.set_volume(self.music_vol)
AttributeError: WinMain instance has no attribute 'music_vol'
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: Crash in Sariuk's mahcade fork.

Postby sairuk » Mon Apr 18, 2011 11:12 pm

I'll have a look into it. Seems like the new global variable isn't working correctly.

What are your current settings that are triggering it?
Are you using a mp3 soundtrack on Wah!Cade?

You can probably do a quick fix for this by replacing the line (1573 in win_main.py)
Code: Select all
            self.gstMusic.set_volume(self.music_vol)

with
Code: Select all
            self.gstMusic.set_volume(self.wahcade_ini.getint('music_volume'))
mameau - My random bits | Wah!Ki - A Wah!Cade wiki | Mah!Cade - Experimental Wah!cade Branch | ListGen | Lazarus
User avatar
sairuk
 
Posts: 432
Joined: Sat May 22, 2010 12:37 am

Re: Crash in Sariuk's mahcade fork.

Postby Zombie » Thu Apr 21, 2011 6:20 am

Yes I am using an mp3.
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: Crash in Sariuk's mahcade fork.

Postby Zombie » Thu Apr 21, 2011 11:30 pm

Listen, I'm probably going to create a mahcade package for Mandriva, but you need to fix this bug such that WahCade and Mahcade will not crash each other if someone switches. Please patch your code to detect this issue.
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: Crash in Sariuk's mahcade fork.

Postby sairuk » Fri Apr 22, 2011 11:20 am

fix commited @ 49
mameau - My random bits | Wah!Ki - A Wah!Cade wiki | Mah!Cade - Experimental Wah!cade Branch | ListGen | Lazarus
User avatar
sairuk
 
Posts: 432
Joined: Sat May 22, 2010 12:37 am

Re: Crash in Sariuk's mahcade fork.

Postby Zombie » Fri Apr 22, 2011 12:48 pm

Thank you.
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm


Return to Wah!Cade

Who is online

Users browsing this forum: No registered users and 1 guest

cron