Bug 7619 - childsplay installed but non-functional
Summary: childsplay installed but non-functional
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA2-32-OK MGA2-64-OK
Keywords: PATCH, UPSTREAM, validated_update
: 7628 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-29 02:55 CEST by Kevin Bulgrien
Modified: 2012-10-06 18:55 CEST (History)
4 users (show)

See Also:
Source RPM: childsplay-1.6-1.mga2.src.rpm
CVE:
Status comment:


Attachments

Description Kevin Bulgrien 2012-09-29 02:55:52 CEST
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.
Comment 1 Kevin Bulgrien 2012-09-29 03:01:09 CEST
$ 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.
Comment 2 Kevin Bulgrien 2012-09-29 03:06:34 CEST
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")
Comment 3 Kevin Bulgrien 2012-09-29 03:30:56 CEST
I have positively confirmed that this patch works.childsplay-sounds-en_GB-1.6-1.mga2.noarch.rpm
Comment 4 Kevin Bulgrien 2012-09-29 03:31:54 CEST
Sorry spurious text pasted accidentally.  Applying the aforementioned patch to childsplay-1.6-1.mga2.src.rpm corrects the issue.
Manuel Hiebel 2012-09-29 19:13:43 CEST

Keywords: (none) => PATCH, UPSTREAM
Assignee: bugsquad => lists.jjorge

Comment 5 Manuel Hiebel 2012-09-29 19:14:30 CEST
*** Bug 7628 has been marked as a duplicate of this bug. ***

CC: (none) => anaselli

Manuel Hiebel 2012-09-29 19:14:43 CEST

Hardware: i586 => All

Comment 6 José Jorge 2012-09-30 10:54:05 CEST
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

José Jorge 2012-09-30 10:54:14 CEST

Assignee: lists.jjorge => qa-bugs

Comment 7 Angelo Naselli 2012-09-30 22:00:21 CEST
Tested on x86_64, it works ok now.
Comment 8 user7 2012-09-30 23:51:19 CEST
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

Comment 9 Kevin Bulgrien 2012-10-01 05:47:57 CEST
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

Comment 10 claire robinson 2012-10-01 09:39:54 CEST
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_update
CC: (none) => sysadmin-bugs
Whiteboard: MGA2-32-OK => MGA2-32-OK MGA2-64-OK

Comment 11 Thomas Backlund 2012-10-06 18:55:14 CEST
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0206

Status: ASSIGNED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.