Package: childsplay
Version: 1.5.1-1
Severity: serious
Tags: patch

--- Please enter the report below this line. ---

Hello,

$ childsplay
2011-08-21 16:28:49,653 - schoolsplay.SPDataManager - ERROR - No sqlalchemy package found
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/childsplay_sp/SPDataManager.py", line 41, in <module>
    import sqlalchemy.exceptions as sqlae
ImportError: No module named exceptions
Traceback (most recent call last):
  File "/usr/games/childsplay", line 118, in <module>
    import childsplay_sp.SPMainCore as SPMainCore
File "/usr/lib/pymodules/python2.6/childsplay_sp/SPMainCore.py", line 59, in <module>
    import SPDataManager as SPDataManager
File "/usr/lib/pymodules/python2.6/childsplay_sp/SPDataManager.py", line 45, in <module>
    raise Exception
Exception

From the python-sqlalchemy 0.7.0b1 changelog:
The "sqlalchemy.exceptions" alias in sys.modules has been removed. Base SQLA exceptions are available via "from sqlalchemy import exc". The "exceptions" alias for "exc" remains in "sqlalchemy" for now, it's just not patched into sys.modules.

Cheers, Petr Gajdůšek

--- System information. ---
Architecture: i386
Kernel:       Linux 3.0.0-1-686-pae

Debian Release: wheezy/sid
  990 unstable        ftp.gajim.org
  990 unstable        ftp.cz.debian.org
  500 testing         ftp.cz.debian.org
  500 stable-updates  ftp.cz.debian.org
  500 stable          security.debian.org
  500 stable          ftp.cz.debian.org
  500 experimental    ftp.cz.debian.org
  100 experimental-snapshots qt-kde.debian.net

--- Package information. ---
Depends                 (Version) | Installed
=================================-+-============
python                   (>= 2.4) | 2.6.7-3
python-support        (>= 0.90.0) | 1.0.14
python-gtk2                       | 2.24.0-2
python-numpy                      | 1:1.5.1-2+b1
python-sqlalchemy                 | 0.7.2-1
python-pygame            (>= 1.7) | 1.8.1release-2+b2
ttf-dejavu                        | 2.33-1


Recommends                      (Version) | Installed
=========================================-+-===========
childsplay-alphabet-sounds                |


Package's Suggests field is empty.

--- SPDataManager.py	2010-05-20 07:44:00.000000000 +0200
+++ /tmp/SPDataManager.py	2011-08-21 16:23:21.870061695 +0200
@@ -38,7 +38,7 @@
 
 try:
     import sqlalchemy as sqla
-    import sqlalchemy.exceptions as sqlae
+    from sqlalchemy import exc as sqlae
     import SQLTables
 except ImportError:
     module_logger.exception("No sqlalchemy package found")

Reply via email to