Lucid beta-1:same python script duplicate(but differrent directory) in gnome-sudoku and gnome-games-common

Bug #548819 reported by midspeclowload
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-games (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: gnome-games

I found same python script duplicate in gnome-sudoku and gnome-games-common.
Run gnome-sudoku, python use script in gnome-games-common.
----------------------
$ pdb /usr/games/gnome-sudoku
> /usr/games/gnome-sudoku(14)<module>()
-> class SafeStdout:
(Pdb) b 67
Breakpoint 1 at /usr/games/gnome-sudoku:67
(Pdb) c
> /usr/games/gnome-sudoku(67)<module>()
-> start_game()
(Pdb) s
--Call--
> /usr/lib/python2.6/dist-packages/gnome_sudoku/gnome_sudoku.py(20)start_game()
-> def start_game ():
(Pdb) q
$ dpkg -S /usr/lib/python2.6/dist-packages/gnome_sudoku/gnome_sudoku.py
gnome-games-common: /usr/lib/python2.6/dist-packages/gnome_sudoku/gnome_sudoku.py
$ dpkg -S /usr/share/pyshared/gnome_sudoku/gnome_sudoku.py
gnome-sudoku: /usr/share/pyshared/gnome_sudoku/gnome_sudoku.py
$ cd /usr/lib/python2.6/dist-packages/gnome_sudoku/
$ for py in *.py
> do
> diff $py /usr/share/pyshared/gnome_sudoku/$py
> done
$
----------------------

ProblemType: Bug
Architecture: i386
Date: Fri Mar 26 22:33:33 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
Package: gnome-sudoku 1:2.29.91-0ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=C
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1
SourcePackage: gnome-games
Uname: Linux 2.6.32-17-generic i686

Revision history for this message
midspeclowload (midspeclowload) wrote :
Revision history for this message
Victor Vargas (kamus) wrote :

Please could you upgrade your Ubuntu Lucid and check if with gnome-sudoku 2.30.0-0ubuntu6 is still affecting you? Thanks!

Changed in gnome-games (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Robert Roth (evfool)
Changed in gnome-games (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Robert Roth (evfool) wrote :

In the directories mentioned above, /usr/lib/python2.6/dist-packages/ and /usr/share/pyshared/ the directories gnome_sudoku and glchess are duplicated. The diff between them is that one of them does contain the pyc and pyo files, which if I'm right, are generated when the py file is successfully compiled. The gnome_sudoku sources duplicated are 231.6 kb, the glChess sources are 693.5 kb, that's almost 1 Mb of wasted space.
This is still a problem in the released Lucid version. Is this a packaging problem?

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Confirming it is a packaging problem, the package should install the files in /usr/share/pyshared so when the .pyc and .pyo files are generated they are not copied.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-games - 1:2.31.3-0ubuntu2

---------------
gnome-games (1:2.31.3-0ubuntu2) maverick; urgency=low

  * Merge packaging changes from Debian unstable
  * debian/rules:
  * debian/gnome-games-common.install:
   - Use CDBS python-module.mk to build python modules correctly (LP: #548819)
   - Don't install /usr/lib/python* in gnome-games-common
 -- Robert Ancell <email address hidden> Fri, 11 Jun 2010 11:22:16 +1000

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.

Other bug subscribers

Remote bug watches

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