gnome-games should depend on python-glade2

Bug #230163 reported by righthere
24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-games (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

gnome-sudoku in Hardy Heron Kubuntu 8.04 crashes on start from command line with the following:
Traceback (most recent call last):
  File "/usr/games/gnome-sudoku", line 58, in <module>
    start_game()
  File "/var/lib/python-support/python2.5/gnome_sudoku/gnome_sudoku.py", line 20, in start_game
    import main
  File "/var/lib/python-support/python2.5/gnome_sudoku/main.py", line 7, in <module>
    import gtk, gobject, gtk.glade
ImportError: No module named glade

This was a fresh install of 8.04 with kubuntu-restricted and gnome-games packages added.

Revision history for this message
kpitn (pierre-basile) wrote :

I confirm the bug on Hardy amd64

same message on launch.

Revision history for this message
Jason D. Clinton (me-jasonclinton) wrote :

Hi, I'm an Gnome Games maintainer in upstream. This appears to be a dependency problem in the Ubuntu package. It should depend on python.*gnome.*desktop.

Revision history for this message
kpitn (pierre-basile) wrote :

I just test to install python-gnome2-desktop package but the package is already install.

Any Idea ?

Revision history for this message
Jason D. Clinton (me-jasonclinton) wrote :

On Debian, you need python-gnome2 and python-gnome2-desktop.

Changed in gnome-sudoku:
status: New → Confirmed
Revision history for this message
barnacle (nailed-barnacle) wrote :

On Kubuntu Hardy 8.04, same issue: requires the installation of python-glade2.

Revision history for this message
ronny (ronny-standtke) wrote :

Fresh install of Kubuntu 8.04.1 and still the same issue.

Revision history for this message
Kamalakar Agashe (kagashe) wrote :

I have used sudoku (installed through gnome-games) for many days but now it fails. I am using LXDE and the packages python-gnome2, python-gnome2-desktop even python-glade2 is already installed.
$ gnome-sudoku
Traceback (most recent call last):
  File "/usr/games/gnome-sudoku", line 55, in <module>
    start_game()
  File "/var/lib/python-support/python2.5/gnome_sudoku/gnome_sudoku.py", line 21
, in start_game
    main.start_game()
  File "/var/lib/python-support/python2.5/gnome_sudoku/main.py", line 1039, in s
tart_game
    u = UI()
  File "/var/lib/python-support/python2.5/gnome_sudoku/main.py", line 200, in __
init__
    if self.select_game():
  File "/var/lib/python-support/python2.5/gnome_sudoku/main.py", line 64, in _
    ret = fun(ui,*args,**kwargs)
  File "/var/lib/python-support/python2.5/gnome_sudoku/main.py", line 214, in se
lect_game
    choice = game_selector.NewOrSavedGameSelector().run_swallowed_dialog(self.sw
allower)
  File "/var/lib/python-support/python2.5/gnome_sudoku/game_selector.py", line 1
91, in run_swallowed_dialog
    self.setup_dialog()
  File "/var/lib/python-support/python2.5/gnome_sudoku/game_selector.py", line 7
6, in setup_dialog
    self.make_saved_game_model()
  File "/var/lib/python-support/python2.5/gnome_sudoku/game_selector.py", line 1
51, in make_saved_game_model
    sudoku.sudoku_grid_from_string(g['game'].split('\n')[1].replace(' ','')).gri
d,
  File "/var/lib/python-support/python2.5/gnome_sudoku/sudoku.py", line 232, in
sudoku_grid_from_string
    assert(len(s)<=GROUP_SIZE**2)
AssertionError

sh: bug-buddy: not found

Revision history for this message
bilkan (vkanellopoulos) wrote :

Same problem here. Tried to reinstall python2.5 and glade2, but the problem still occurs.

Revision history for this message
Hew (hew) wrote :

Is this still a problem with Intrepid? Thanks in advance.

Changed in gnome-sudoku:
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
ronny (ronny-standtke) wrote :

I just tested with Kubuntu-8.10RC and the bug is still there:
$ apt-get install gnome-sudoku
$ gnome-sudoku
Traceback (most recent call last):
  File "/usr/games/gnome-sudoku", line 50, in <module>
    start_game()
  File "/var/lib/python-support/python2.5/gnome_sudoku/gnome_sudoku.py", line 20, in start_game
    import main
  File "/var/lib/python-support/python2.5/gnome_sudoku/main.py", line 7, in <module>
    import gtk, gobject, gtk.glade
ImportError: No module named glade

sh: bug-buddy: not found

Changed in gnome-games:
status: Incomplete → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the submitter is using the gnome-sudoku and not the gnome-games version

Revision history for this message
Hew (hew) wrote :

Reassigning to gnome-games after talking with Sebastien.

Could you please specify the version of gnome-games you have installed (eg. 1:2.24.1-0ubuntu2)? Is python-glade2 installed, or if not, does installing it fix the problem? Thanks.

Changed in gnome-games:
assignee: nobody → desktop-bugs
status: Confirmed → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in gnome-games:
status: Incomplete → Invalid
Revision history for this message
ronny (ronny-standtke) wrote :

Here are the steps to reproduce the bug:
1) Start up Kubuntu-8.10 from the desktop Install CD.
2) Open K -> Applications -> System -> Terminal
3) type "sudo apt-get install gnome-sudoku" and press Enter
4) type "gnome-sudoku" and press Enter

Changed in gnome-games:
status: Invalid → New
Revision history for this message
Hew (hew) wrote :

Ronny: Could you please specify the version of gnome-games you have installed (eg. 1:2.24.1-0ubuntu2)? Is python-glade2 installed, or if not, does installing it fix the problem? Thanks.

Changed in gnome-games:
status: New → Incomplete
Revision history for this message
Jason D. Clinton (me-jasonclinton) wrote : Re: gnome-sudoku should be removed from ubuntu repos

I am upstream. The issue is that "gnome-sudoku" is still in your repos. despite being told repeatedly (elsewhere) to remove it. gnome-sudoku is part of Gnome Games now and uses the same .py files and paths that the (very) old gnome-sudoku uses. This is a case that python-support cannot handle correctly. That is the issue and that is why there is so much confusion over this bug.

Changed in gnome-games:
status: Incomplete → New
Revision history for this message
Hew (hew) wrote :

gnome-sudoku does not exist in the latest releases of Ubuntu. The only reference to gnome-sudoku is that gnome-games provides gnome-sudoku. There is no package called gnome-sudoku. Please check the Ubuntu repositories to see that this is the case.

The issue only seems to be occuring on KDE systems, which suggests it is caused by a missing dependency that is otherwise included on GNOME systems. This is why I've asked if someone experiencing the problem can check if python-glade2 is installed, and if installing it fixes the problem.

I have changed the sourcepackage back to gnome-games as I have previously checked this with Sebastien Bacher. Hopefully the "confusion" in this bug will be resolved once someone answers my previous questions.

Changed in gnome-sudoku:
status: New → Incomplete
Revision history for this message
ronny (ronny-standtke) wrote :
Download full text (42.0 KiB)

If you follow the steps to reproduce the bug I gave you above you will get the following console output:

# apt-get install gnome-sudoku
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting gnome-games instead of gnome-sudoku
The following extra packages will be installed:
  gamin gconf2 gconf2-common ggzcore-bin gnome-cards-data gnome-games gnome-games-data gnome-icon-theme
  gnome-keyring gnome-media gnome-media-common gnome-mime-data gnome-mount gstreamer0.10-alsa
  gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-x guile-1.8-libs gvfs gvfs-backends
  libavahi-glib1 libavc1394-0 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common
  libcamel1.2-14 libcdio-cdda0 libcdio-paranoia0 libcdio7 libdv4 libebook1.2-9 libecal1.2-7
  libedataserver1.2-11 libgamin0 libgconf2-4 libggz2 libggzcore9 libggzmod4 libglade2-0 libgnome-desktop-2-7
  libgnome-keyring0 libgnome-media0 libgnome2-0 libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common
  libgnomecups1.0-1 libgnomeprint2.2-0 libgnomeprint2.2-data libgnomeprintui2.2-0 libgnomeprintui2.2-common
  libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra libgp11-0
  libgtksourceview-common libgtksourceview1.0-0 libgtop2-7 libgtop2-common libgvfscommon0 libidl0
  libiec61883-0 liblaunchpad-integration1 libmetacity0 libnautilus-burn4 libnotify1 liboil0.3 libopenobex1
  liborbit2 libpam-gnome-keyring libpanel-applet2-0 libpolkit-gnome0 librsvg2-common libsexy2 libshout3
  libsoup2.4-1 libstartup-notification0 libtotem-plparser12 libv4l-0 libwnck-common libwnck22 libxres1
  metacity-common notification-daemon obex-data-server policykit-gnome python-cairo python-gconf
  python-gnome2 python-gnome2-desktop python-gnomecanvas python-gtk2 python-numeric python-pyorbit
Suggested packages:
  python-gtkglext1 python-opengl gnome-hearts gnome-games-extra-data cryptsetup libbonobo2-bin libdv-bin
  desktop-base libgnomevfs2-bin python-gconf-dbg python-gnome2-desktop-doc python-gnome2-desktop-dbg
  python-gnomecanvas-dbg python-gtk2-doc python-gtk2-dbg python-numeric-tutorial python-numeric-ext
  python-numeric-dbg python-pyorbit-dbg
The following NEW packages will be installed:
  gamin gconf2 gconf2-common ggzcore-bin gnome-cards-data gnome-games gnome-games-data gnome-icon-theme
  gnome-keyring gnome-media gnome-media-common gnome-mime-data gnome-mount gstreamer0.10-alsa
  gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-x guile-1.8-libs gvfs gvfs-backends
  libavahi-glib1 libavc1394-0 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common
  libcamel1.2-14 libcdio-cdda0 libcdio-paranoia0 libcdio7 libdv4 libebook1.2-9 libeca...

Revision history for this message
Hew (hew) wrote :

Ronny, I'm not running Kubuntu, and don't have a Kubuntu image here to install so I'm not able to test. Running sudoku on Ubuntu does not produce the problem for me.

I apologise if it seems like I'm asking an unnecessary question, but it would really help if you could install python-glade2 and report on whether the problem still occurs for you. Thanks in advance.

Revision history for this message
ronny (ronny-standtke) wrote :

> I'm not running Kubuntu, and don't have a Kubuntu image here to install so I'm not able to test.
That's easy to fix:
$ wget http://ubuntu.media.mit.edu/ubuntu-releases/kubuntu/intrepid/kubuntu-8.10-desktop-i386.iso
$ sudo apt-get install qemu
$ qemu -cdrom kubuntu-8.10-desktop-i386.iso
... or use virtualbox-ose if you like this better...

> it would really help if you could install python-glade2 and report on whether the problem still occurs for you.
Installing python-glade2 fixes the problem.

PS: I am not using anything of this. I just run into this bug when I was giving Kubuntu a test run. Therefore my time and effort when testing and verifying the bug (or the repair) is as high as yours.

Revision history for this message
Jason D. Clinton (me-jasonclinton) wrote :

gnome-sudoku IS NOT gnome-games. Please stop confusing the two; do not file any more bug reports on gnome-sudoku; it should have been removed from the Ubuntu repositories ages ago.

Revision history for this message
Hew (hew) wrote :

Thanks for the info Ronny, this confirms the problem is due to the missing dependency, marking triaged. This isn't really the place to discuss my testing situation, but the short version is that download quota is limited in Australia.

Jason, I appreciate the input of upstream in this report, but I don't think you understand that there is no gnome-sudoku package in the Ubuntu repositories (except for Dapper). gnome-sudoku is simply a Provides dependency for gnome-games. Anyone that tries to install "gnome-sudoku" will get gnome-games instead. Again I urge you to check the Ubuntu repositories to see what I mean [1][2][3]. gnome-sudoku was indeed removed from the repositories ages ago, and bugs are no longer (meant to be) filed against that package since it doesn't exist (except for Dapper). As you may have noticed, the way I found this bug was due to it being incorrectly reported against gnome-sudoku. It is now correctly a gnome-games bug, has been tested and triaged, and is only waiting for the dependency to be added. Thanks again for your input :-)

[1] https://launchpad.net/ubuntu/+source/gnome-sudoku
[2] https://launchpad.net/ubuntu/+source/gnome-games
[3] https://launchpad.net/ubuntu/jaunty/i386/gnome-games/1:2.24.1.1-0ubuntu2

Changed in gnome-games:
status: Incomplete → Triaged
Changed in gnome-games (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-games - 1:2.26.0-0ubuntu3

---------------
gnome-games (1:2.26.0-0ubuntu3) jaunty; urgency=low

  * debian/control:
    - Add missing dependency for python-glade2 (LP: #230163)
  * debian/patches/81_deprecate_gnome_print.patch:
    - Remove python-gnome dependencies from configure (LP: #349026)
  * debian/patches/99_autotools.patch:
    - Regenerate autotools

 -- Robert Ancell <email address hidden> Fri, 27 Mar 2009 10:46:10 +0000

Changed in gnome-games:
status: Fix Committed → Fix Released
Revision history for this message
Terence Simpson (tsimpson) wrote :

This issue is back in 1:2.26.1-0ubuntu2 (Kubuntu Jaunty)

Changed in gnome-games (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Terence Simpson (tsimpson) wrote :

also missing is python-gconf

Revision history for this message
Sebastien Bacher (seb128) wrote :

the karmic version doesn't use glade and is 2.27

Changed in gnome-games (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.