Right then, let's see now.
Had a look at all the games listed under the patch:
glchess
gnect
gnibbles
gnobots2
gnome-sudoku
gnotski
gtali
glines
gnomine
iagno
lightsoff
mahjonng
quadrapassel
and this whole 'launchpad integration' bug seems to only be affecting
gnome-sudoku because all the others run fine even without the 2
affecting packages ('launchpad-integration' and 'gir1.2-launchpad-
integration-3.0')
I've therefore used Meld to output the difference between an unpatched
main.py (before any LPI patch hits it) and the changes i posted above in
comment 3 which check for launchpad-integration, output an error if it
can't find anything, but run the program nonetheless. At least now it's
not show stopping.
Regarding this new 01_LPI.patch - only the contents between lines 132 and 157
need to be changed but i'm not 100% sure i've done it right, so i'd appreciate
it if you could give it a once over lol.
The python indentation of my revised main.py runs smoothly without indentation
errors but the way it looks on the patch looks a bit sketchy: Is it OK?
I'm also a bit confused why gnome-games 3.4.1 has 'gnome-games-3.3.91' in the
01_LPI.patch used, but i'm new to .diff and .patch files (still learning lol).
I checked and the patch in question has not changed between gnome-games
3.4.1-0ubuntu1 (Precise) and 3.4.1-0ubuntu2.1 (Precise updates).
If this new patch is used instead when building, gnome-sudoku should
check for launchpad integration and run :D
** Patch added: "new LPI patch.patch"
https://bugs.launchpad.net/ubuntu/+source/gnome-games/+bug/1050063/+attachment/3315544/+files/new%20LPI%20patch.patch
--
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:
Fix Released
Status in “gnome-games” source package in Precise:
Triaged
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