[SOLVED] Fedora 16 issues - not playing movies

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

Moderator: battlecat

[SOLVED] Fedora 16 issues - not playing movies

Postby RomKnight » Fri Dec 30, 2011 9:14 pm

So, I've upgraded everything from scratch to Fedora 16. And now I'm having this:
Traceback (most recent call last):
File "wahcade.py", line 86, in <module>
app = WinMain(options)
File "/usr/share/games/wahcade/win_main.py", line 365, in __init__
self.log_msg("Playing intro movie" + self.intro_movie)
TypeError: cannot concatenate 'str' and 'bool' objects


Easy one to solve even for me by editing /usr/share/games/wahcade/win_main.py line 365:
from this:
Code: Select all
self.log_msg("Playing intro movie" + self.intro_movie)

to this:
Code: Select all
self.log_msg("Playing intro movie" + str (self.intro_movie))


Or so I though.

Traceback (most recent call last):
File "/usr/share/games/wahcade/win_main.py", line 886, in on_video_timer
xpos = (img_w - self.video_width) / 2
AttributeError: WinMain instance has no attribute 'video_width'


and another window from where I can't paste because its hidden behind this one. It in wc_common.py lines 273 and 231 (that order) [edit] I remembered the debug arg so here it is what the hidden window has:[/edit]

wahcade --debug
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
VideoWidget.__init__
VideoWidget.__init__
GstVideo.__init__
GstPlayer.__init__
VideoWidget.on_realize
GstVideo.__init__
GstPlayer.__init__
Traceback (most recent call last):
File "wahcade.py", line 86, in <module>
app = WinMain(options)
File "/usr/share/games/wahcade/win_main.py", line 410, in __init__
self.on_sclGames_changed()
File "/usr/share/games/wahcade/win_main.py", line 852, in on_sclGames_changed
self.display_scaled_image(img, img_filename, self.keep_aspect, img.get_data('text-rotation'))
File "/usr/share/games/wahcade/wc_common.py", line 273, in display_scaled_image
pb = self.get_scaled_pixbuf(img, img_filename, keep_aspect, rotate=rotate)
File "/usr/share/games/wahcade/wc_common.py", line 231, in get_scaled_pixbuf
pb = gtk.gdk.PixbufAnimation(img_filename)
glib.GError: Couldn't recognize the image file format for file '/home/tsf/.mame/movies/Vertical/dirtfoxj.avi'




Solved by commenting the movie lines in .wahcade/ini/mame.ini but now I have this:

Traceback (most recent call last):
File "/usr/share/games/wahcade/win_main.py", line 661, in on_winMain_key_press
self.launch_auto_apps_then_game()
File "/usr/share/games/wahcade/win_main.py", line 938, in launch_auto_apps_then_game
self.launch_game(game_cmdline_args)
File "/usr/share/games/wahcade/win_main.py", line 1075, in launch_game
p = Popen(cmd, shell=False)
File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1228, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory


and out of ideas... But I'm getting fed up of Fedora 16 so I might go back to 15.

And it bypasses the intro video completely :x
Last edited by RomKnight on Sat Dec 31, 2011 4:30 pm, edited 1 time in total.
RomKnight
 
Posts: 103
Joined: Wed Oct 03, 2007 10:52 pm

Re: [SOLVED] Fedora 16 issues

Postby RomKnight » Sat Dec 31, 2011 4:44 am

Excuse for the double post but it'll be easier to spot the solution.

with a new install I missed the following line in wahcade.ini


fuzzy_artwork_search 1


Change that to 0 and voila'... Why?, I don't know.

Happy new year everybody :D
RomKnight
 
Posts: 103
Joined: Wed Oct 03, 2007 10:52 pm

Re: [SOLVED] Fedora 16 issues

Postby sairuk » Sat Dec 31, 2011 6:50 am

RomKnight wrote:Excuse for the double post but it'll be easier to spot the solution.

with a new install I missed the following line in wahcade.ini


fuzzy_artwork_search 1


Change that to 0 and voila'... Why?, I don't know.

Happy new year everybody :D


Thanks, i will have a look at what could have potentially caused that in the source.
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: Fedora 16 issues - not playing start/end movies

Postby RomKnight » Sat Dec 31, 2011 4:16 pm

Just to make one thing clear. The change below MUST be made or you'll get a traceback.

BTW, I'm running Fedora16 with kernel 3.1.6-1.fc16.x86_64 SMP, python 2.7.2 and gcc version 4.6.2 20111027

Easy one to solve even for me by editing /usr/share/games/wahcade/win_main.py line 365:
from this:

Code: Select all
self.log_msg("Playing intro movie" + self.intro_movie)


to this:

Code: Select all
self.log_msg("Playing intro movie" + str (self.intro_movie))


The downside of this is that I still can't see intro/end movies. The upside is that the str returns "True" so maybe there's a parse issue somewhere and MAYBE its related to the "OSerr #2 No such file or directory" in my post.

[edit]
Seems to be solved in latest devel version
[/edit]
RomKnight
 
Posts: 103
Joined: Wed Oct 03, 2007 10:52 pm


Return to Wah!Cade

Who is online

Users browsing this forum: No registered users and 3 guests

cron