Oh, i see now! 
Launchpad integration is added via a patch called 01_lpi.patch in (for example) 
gnome-games_3.4.1-0ubuntu2.1.debian.tar.gz in folder "/debian/patches" from 
lines 132-159.

and that's where the true bug lies because the code that it adds to
gnome-sudoku should be more like what i've suggested above in comment 3.
This situation will repeat itself with further versions of gnome-sudoku
while that patch is added as it is.

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

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

Status in “gnome-games” package in Ubuntu:
  New

Bug description:
  ant@laptoppy:~$ gnome-sudoku
  ERROR:root:Could not find any typelib for LaunchpadIntegration
  Traceback (most recent call last):
    File "/usr/games/gnome-sudoku", line 23, in <module>
      start_game()
    File "/usr/lib/python2.7/dist-packages/gnome_sudoku/gnome_sudoku.py", line 
21, in start_game
      import main
    File "/usr/lib/python2.7/dist-packages/gnome_sudoku/main.py", line 9, in 
<module>
      from gi.repository import LaunchpadIntegration
  ImportError: cannot import name LaunchpadIntegration

  
  This is a minimalistic system and as such a lot of packages have been taken 
out. 
  Any attempt to start the program is met with no visible activity.

  
  Commenting out lines 9, 182 and 183 from 
/usr/lib/python2.7/dist-packages/gnome_sudoku/main.py  disables launchpad 
integration but the program then runs perfectly again.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: gnome-sudoku 1:3.4.1-0ubuntu2.1
  ProcVersionSignature: Ubuntu 3.2.0-31.50-generic-pae 3.2.28
  Uname: Linux 3.2.0-31-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu13
  Architecture: i386
  Date: Wed Sep 12 22:03:58 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120322)
  PackageArchitecture: all
  SourcePackage: gnome-games
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to