Description of problem: I installed gnome-sudoku and, when launched, it instantly crashes with: > gnome-sudoku Traceback (most recent call last): File "/usr/bin/gnome-sudoku", line 23, in <module> start_game() File "/usr/lib/python2.7/site-packages/gnome_sudoku/gnome_sudoku.py", line 21, in start_game import main File "/usr/lib/python2.7/site-packages/gnome_sudoku/main.py", line 8, in <module> from gi.repository import Gtk,GdkPixbuf,GObject,Pango,Gdk,Gio File "/usr/lib64/python2.7/site-packages/gi/importer.py", line 76, in load_module dynamic_module._load() File "/usr/lib64/python2.7/site-packages/gi/module.py", line 242, in _load version) File "/usr/lib64/python2.7/site-packages/gi/module.py", line 97, in __init__ repository.require(namespace, version) RepositoryError: Typelib file for namespace 'xlib', version '2.0' not found
Probably missing requires for 'typelib(xlib)'. You can try to install it with urpmi: urpmi 'typelib(xlib)'
CC: (none) => jani.valimaa
Following your advice, I had to install: 'typelib(fontconfig)' 'typelib(Atk)' 'typelib(freetype2)' 'typelib(xlib)' before being able to run gnome-sudoku. Can you add these missing Requires?
CC: jani.valimaa => (none)
Keywords: (none) => PATCHCC: (none) => fundawang, olavSummary: gnome-sudoku crashes at start => gnome-sudoku crashes at start (missing require)Source RPM: (none) => gnome-games
please past output of `rpm -qa`, because typelib(Gtk) already pulls type(xlib).
Keywords: (none) => NEEDINFOCC: (none) => thierry.vignaud
Hoi Malo, Can you provide the answers to comment 3. Otherwise we have to close this bug. Roelof
CC: (none) => r.wobben
Created attachment 3320 [details] rpm -qa
Sorry, I forgot about that bug. But it's still present. I attach rpm -qa, but typelib(Gtk) is not installed, and does not pull typelib(xlib). Anyway, even if 'typelib(xlib)' is installed, gnome-sudoku crashes if the other packages are not there.
I figured it out. On my machine I had libxlib-gir2.0 installed, which filled all the requires and provides needed for gnome-sudoku and lib64xlib-gir2.0. To reproduce (on x86_64): 1 - install gnome-sudoku 2 - install libxlib-gir2.0 3 - remove lib64xlib-gir2.0 4 - see gnome-sudoku fail It seems some arch dependent requires are needed. I don't know the typelib thingies to know where to put them.
On my machine gnome-sudoku failed to start after I removed numerous seemingly unused packages Following comment 1, I did urpmi 'typelib(Pango)' which installed lib64pango-gir1.0-1.32.5-3.mga3.x86_64 and then urpmi 'typelib(GObject)' which installed lib64glib-gir2.0-1.34.2-2.mga3.x86_64 So 2 more requires to add
CC: (none) => andre999mga
BTW, my version is from gnome-games-3.6.1-3.mga3.src.rpm
Works fine in 5Beta3
Status: NEW => RESOLVEDCC: (none) => nicResolution: (none) => FIXED