Bug also occurs on the default version of gnome-sudoku in precise 
(3.4.1-0ubuntu1) as well as precise-updates version (3.4.1-0ubuntu2.1).
Bug occurs if you remove packages "gir1.2-launchpadintegration-3.0" and 
"launchpad-integration" and try to open gnome-sudoku - since these packages are 
installed by default, users who haven't removed them will not come across this 
problem but those that do will be unable to open gnome-sudoku.

I have a patch suggestion but i'd appreciate it if someone could give it
a look over.

1) Edit main.py which resides in /usr/lib/python2.7/dist-
packages/gnome_sudoku/main.py when installed.

2) Delete line 9 containing "from gi.repository import
LaunchpadIntegration" - it only seems to be used by the setup_gui()
function on line 171 and there doesn't appear to be any harm in doing
so.

3) Change the setup_gui() function on line 171 to the following (or similar): 
http://pastie.org/4720780
(I've left some comments - for example, does gnome-sudoku actually have an 
error log to write to? Printing 'launchpad integration error' or similar to the 
terminal would suffice i think. At the very least, at least the program will 
actually run now!)

Program then runs happily. :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1050063

Title:
  gnome-sudoku ERROR:root:Could not find any typelib for
  LaunchpadIntegration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-games/+bug/1050063/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to