Syntax Error in gnome-sudoku

Bug #139312 reported by Jacob
2
Affects Status Importance Assigned to Milestone
gnome-games (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-games

When upgrading to the latest gutsy gnome-games, the following error appeared:

-----
Instellen van gnome-games (1:2.19.92-0ubuntu1) ...
INFO: using old version '/usr/bin/python2.3'
Compiling /usr/lib/python2.3/site-packages/gnome_sudoku/gnome_sudoku.py ...
  File "/usr/lib/python2.3/site-packages/gnome_sudoku/gnome_sudoku.py", line 162
    @simple_debug
    ^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.3/site-packages/gnome_sudoku/gsudoku.py ...
  File "/usr/lib/python2.3/site-packages/gnome_sudoku/gsudoku.py", line 843
    @simple_debug
    ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (65)
pycentral pkginstall: error byte-compiling files (65)
-----

Revision history for this message
AndreasRøsdal (andreasr) wrote :

You are using Python 2.3. GNOME Sudoku requires Python 2.5.

Please try upgrading python.

Version 2.20.0 is due on monday, so it would be nice if you could test this as soon as possible.

Revision history for this message
Jacob (jacob-kleerekoper) wrote :

I had both Python 2.3 and 2.5 installed on my system, but dpkg used in some way the 2.3 version.
After I removed 2.3 all went well, and dpkg used version 2.5 and fixed the broken installation.

Thanks for your explanation.

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

Thank you for your bug, the python requirement should be updated then

Changed in gnome-games:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

gnome-games (1:2.20.0.1-0ubuntu2) gutsy; urgency=low

  * debian/control.in:
    - require python 2.5 (LP: #139312)

 -- Sebastien Bacher <email address hidden> Mon, 24 Sep 2007 18:06:48 +0200

Changed in gnome-games:
status: Triaged → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

gnome-games (1:2.21.2-0ubuntu1) hardy; urgency=low

  * New upstream version:
    Chess:
    - Show threatened squares and pieces able to be taken
    - Handle carriage returns in PGN files
    - Put an asterisk in the title bar for games that need saving
    - Sped up PGN decoder by approximately 40%
    - Add support for Toga II engine
    - If no game on startup start default game of human vs AI
    - Fix overzealous game name autogeneration
    - Don't allow 3D mode if cannot get a valid OpenGL configuration
    - Reworked "No 3D" dialog to list reasons why 3D mode cannot be entered
    Sudoku:
    - Allow for empty lines in sudoku files
    - Fix decimal value in float error
    - Fix calculation of big/small borders
    Translations
    Aisleriot:
    - Add autoplay in spider when double-clicking foundation
    - Fix statistics for !HAVE_GNOME
    Chess:
    - Display error dialog and quit if unable to import glchess.glchess
    - Catch and ignore all exceptions writing to stdout
    - Catch exception killing AI
    - Fix exception when autoloading games with invalid AIs
    - Moved pygtk.require() to glchess.in so it is always called first
    - Added tests/ dir containing PGN test files
    - Add better support for informal PGN files
    - GtkFileChooser.get_current_folder() can return None, handle this case
    - Catch GLU exception building mipmaps and fallback to standard textures
    - Disable navigation buttons when at start/end of moves
    - Merged glchess-ggz branch to give glchess initial ggz support
    - Removed tab support and added game history support
    - Added ability to resign and claim draws
    - Reworked some strings that were hard to translate
    Klotski:
    - fix imposible move
    Robots:
    - Fix typo in score-category nightmare with super safe moves
    - Show highscore and new/quit option even when score is not good enough to
      enter the highscore
    Sudoku:
    - New select game/load game menu
    - don't keep all generated puzzles in memory
    - simplify print dialog
    Tali:
    - Add undo feature
    Libgames-support:
    - Fix compilation on maemo
    Translations
  * Sync with Debian
  * debian/control.in:
    - Build-Depends on liblaunchpad-integration-dev (>= 0.0patch26)
    - don't Depends on chess packages we use the gnome-games version
    - gnome-cards-data replaces gnome-games-data (<< 1:2.20.1-1)
    - gnome-games-data replaces gnome-cards-data (<< 1:2.20.1-1)
    - updated maintainer information
    - updated python requirement
  * debian/patches/01_lpi.patch:
    - launchpad integration changes
  * debian/patches/99_reautoconf.patch:
    - update and list in the series
  * debian/pyversions:
    - require python 2.5 (LP: #139312)
  * debian/rules:
    - add gnuchess to the build

 -- Sebastien Bacher <email address hidden> Wed, 21 Nov 2007 13:43:08 +0100

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.