Description of problem: childsplay installed but non-functional Run from console: $ childsplay ** (process:3961): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (process:3961): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (process:3961): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' 2012-09-28 19:47:08,292 - schoolsplay.SPDataManager - ERROR - No sqlalchemy package found Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/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/bin/childsplay", line 118, in <module> import childsplay_sp.SPMainCore as SPMainCore File "/usr/lib/python2.7/site-packages/childsplay_sp/SPMainCore.py", line 59, in <module> import SPDataManager as SPDataManager File "/usr/lib/python2.7/site-packages/childsplay_sp/SPDataManager.py", line 45, in <module> raise Exception Exception Version-Release number of selected component (if applicable): childsplay-sounds-en_GB-1.6-1.mga2 childsplay-1.6-1.mga2 How reproducible: Install on minimally loaded fresh install of Mageia 2 Steps to Reproduce: 1. Try to launch, fails 2. Run in console. Presumably this is a packaging dependencies issue as it identifies things as being missing.
$ rpm -qa | grep childsplay childsplay-sounds-en_GB-1.6-1.mga2 childsplay-1.6-1.mga2 $ urpmq --fuzzy sqlalchemy python-sqlalchemy python-sqlalchemy-migrate $ rpm -qa | grep python-sql python-sqlite2-2.5.5-3.mga1 python-sqlalchemy-0.7.4-1.mga2 # urpmi python-sqlalchemy-migrate To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release") python-decorator 3.3.2 1.mga2 noarch python-sqlalchemy-migrate 0.7.1 1.mga2 noarch python-tempita 0.5.1 2.mga2 noarch 550KB of additional disk space will be used. 144KB of packages will be retrieved. Proceed with the installation of the 3 packages? (Y/n) y this makes no difference. The same problem occurs.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638747 has a patch for possibly the same issue, though that bug is reported on an older version. Here's another reference: http://forums.opensuse.org/english/other-forums/development/open-build-service-obs/obs-education-project/470628-childsplay.html --- 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")
I have positively confirmed that this patch works.childsplay-sounds-en_GB-1.6-1.mga2.noarch.rpm
Sorry spurious text pasted accidentally. Applying the aforementioned patch to childsplay-1.6-1.mga2.src.rpm corrects the issue.
Keywords: (none) => PATCH, UPSTREAMAssignee: bugsquad => lists.jjorge
*** Bug 7628 has been marked as a duplicate of this bug. ***
CC: (none) => anaselli
Hardware: i586 => All
Thank you for the patch, I have uploaded a package for Mageia 2. Suggested advisory: ======================== Updated childsplay packages fix startup bug: childsplay did not start. ======================== Updated packages in core/updates_testing: ======================== childsplay-1.6-1.1.mga2 childsplay-sounds-* Source rpm: =========== childsplay-1.6-1.1.mga2.src.rpm
Status: NEW => ASSIGNED
Assignee: lists.jjorge => qa-bugs
Tested on x86_64, it works ok now.
Angelo: Did you follow this procedure: https://wiki.mageia.org/en/QA_process_for_validating_updates ? If so, could you please add the MGA2-64-OK keyword to the Whiteboard?
CC: (none) => wassi
I tested the 32-bit RPM built from childsplay-1.6-1.1.mga2.src.rpm on an MGA 2 32-bit system (downloaded from the testing media). The reported bug is fixed and the games in the package are operational.
Whiteboard: (none) => MGA2-32-OK
Thankyou Angelo and Kevin for testing. Validating Advisory and SRPM in comment 6 Could sysadmin please push from core/updates_testing to core/updates Thanks!
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugsWhiteboard: MGA2-32-OK => MGA2-32-OK MGA2-64-OK
Update pushed: https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0206
Status: ASSIGNED => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED