childsplay crashes

Bug #1247442 reported by Stas Zytkiewicz
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
childsplay (Debian)
Fix Released
Unknown
childsplay (Ubuntu)
Confirmed
High
Unassigned

Bug Description

The version of childsplay in Ubuntu 13.10, childsplay version 1.6, is to old and isn't compatible with the version of sqlalchemy.
Version packaged in Ubuntu 13-10 is 1.6 while the current childsplay is version 2.5 which is compatible with Ubuntu >= 12.04.
Childsplay version 1.6 is more than 3 years old.

description: updated
description: updated
description: updated
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

I can confirm that childsplay fails to start and I get an errormessage related to sqlalchemy:
Traceback (most recent call last):
  File "/usr/games/childsplay", line 118, in <module>
    import childsplay_sp.SPMainCore as SPMainCore
  File "/usr/lib/python2.7/dist-packages/childsplay_sp/SPMainCore.py", line 64, in <module>
    from sqlalchemy import exceptions as sqla_exceptions
ImportError: cannot import name exceptions

I also found that this issue has been reported upstreams in Debian, so I attached a bug watch.

Changed in childsplay (Ubuntu):
status: New → Confirmed
tags: added: saucy trusty
Revision history for this message
Stas Zytkiewicz (stas-zytkiewicz) wrote : Re: [Bug 1247442] Re: childsplay crashes

As I'm the author of childsplay I can confirm that the latest version of
childsplay will run without any problems on ubuntu >=12.04.
On Nov 2, 2013 8:15 PM, "Hans Joachim Desserud" <email address hidden>
wrote:

> Thanks for taking your time to report this issue and help making Ubuntu
> better.
>
> I can confirm that childsplay fails to start and I get an errormessage
> related to sqlalchemy:
> Traceback (most recent call last):
> File "/usr/games/childsplay", line 118, in <module>
> import childsplay_sp.SPMainCore as SPMainCore
> File "/usr/lib/python2.7/dist-packages/childsplay_sp/SPMainCore.py",
> line 64, in <module>
> from sqlalchemy import exceptions as sqla_exceptions
> ImportError: cannot import name exceptions
>
> I also found that this issue has been reported upstreams in Debian, so I
> attached a bug watch.
>
> ** Changed in: childsplay (Ubuntu)
> Status: New => Confirmed
>
> ** Tags added: saucy trusty
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1247442
>
> Title:
> childsplay crashes
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/childsplay/+bug/1247442/+subscriptions
>

Changed in childsplay (Debian):
status: Unknown → New
Changed in childsplay (Ubuntu):
importance: Undecided → High
Revision history for this message
Luděk Sladký (ludek-sladky) wrote :

I have the same problem in Linux Mint 16 with KDE. It's clean installation on computer, childsplay was installed from synaptic.

Revision history for this message
Maksim Sokolski (misokolsky) wrote :

Meanwhile, waiting for fixes, you can do the following:

1. sudo vim /usr/lib/python2.7/dist-packages/childsplay_sp/SPMainCore.py
2. Change string 64 to "from sqlalchemy import exc as sqla_exceptions".

diff /usr/lib/python2.7/dist-packages/childsplay_sp/SPMainCore_CHANGED.py /usr/lib/python2.7/dist-packages/childsplay_sp/SPMainCore.py

64c64
< from sqlalchemy import exc as sqla_exceptions
---
> from sqlalchemy import exceptions as sqla_exceptions

I can't run tests because I can't find test.
I think that this is not a complete fix, but my daughter plays this game for an hour and then everything is fine :)

Revision history for this message
Stas Zytkiewicz (stas-zytkiewicz) wrote :

Yes that will fix it.
(I'm the author of childsplay)
On Mar 17, 2014 7:11 PM, "Maksim Sokolski" <email address hidden>
wrote:

> Meanwhile, waiting for fixes, you can do the following:
>
> 1. sudo vim /usr/lib/python2.7/dist-packages/childsplay_sp/SPMainCore.py
> 2. Change string 64 to "from sqlalchemy import exc as sqla_exceptions".
>
> diff /usr/lib/python2.7/dist-
> packages/childsplay_sp/SPMainCore_CHANGED.py /usr/lib/python2.7/dist-
> packages/childsplay_sp/SPMainCore.py
>
> 64c64
> < from sqlalchemy import exc as sqla_exceptions
> ---
> > from sqlalchemy import exceptions as sqla_exceptions
>
>
> I can't run tests because I can't find test.
> I think that this is not a complete fix, but my daughter plays this game
> for an hour and then everything is fine :)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1247442
>
> Title:
> childsplay crashes
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/childsplay/+bug/1247442/+subscriptions
>

Revision history for this message
Stas Zytkiewicz (stas-zytkiewicz) wrote :

The problem is that the packaged version in ubuntu is very old. So the
proper solution is to package the current version :-)
On Mar 18, 2014 12:01 PM, "Maksim Sokolski" <email address hidden>
wrote:

> Not sure whether it is necessary, but here's a patch.
>
> ** Patch added: "Bugfix #1247442"
>
> https://bugs.launchpad.net/ubuntu/+source/childsplay/+bug/1247442/+attachment/4030180/+files/1247442.patch
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1247442
>
> Title:
> childsplay crashes
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/childsplay/+bug/1247442/+subscriptions
>

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Bugfix #1247442" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Constantine Mousafiris (kvisitor) wrote :

ok guys, I followed Maxim Sokolski's advice and although the programme will run, but at the terminal level I get the following message:

schoolsplay - ERROR - unhandled exception in toplevel, traceback follows:
Traceback (most recent call last):
  File "/usr/games/childsplay", line 132, in <module>
    language=LANG)
  File "/usr/lib/python2.7/dist-packages/childsplay_sp/SPMainCore.py", line 202, in __init__
    except sqla_exceptions.SQLError:
AttributeError: 'module' object has no attribute 'SQLError'

Could anybody make some useful suggestion as to what to do???
Thanx again.

P.S.
I run Ubuntu GNOME 13.10

Revision history for this message
Stas Zytkiewicz (stas-zytkiewicz) wrote :

Just download the tarball from www.childsplay.mobi and run from source
until Ubuntu decides to package the upstream stable version.
Your trying to get a childsplay version from three years ago to run :-(
On Mar 28, 2014 9:30 PM, "Constantine Mousafiris" <
<email address hidden>> wrote:

> ok guys, I followed Maxim Sokolski's advice and although the programme
> will run, but at the terminal level I get the following message:
>
> schoolsplay - ERROR - unhandled exception in toplevel, traceback follows:
> Traceback (most recent call last):
> File "/usr/games/childsplay", line 132, in <module>
> language=LANG)
> File "/usr/lib/python2.7/dist-packages/childsplay_sp/SPMainCore.py",
> line 202, in __init__
> except sqla_exceptions.SQLError:
> AttributeError: 'module' object has no attribute 'SQLError'
>
> Could anybody make some useful suggestion as to what to do???
> Thanx again.
>
> P.S.
> I run Ubuntu GNOME 13.10
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1247442
>
> Title:
> childsplay crashes
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/childsplay/+bug/1247442/+subscriptions
>

Changed in childsplay (Debian):
status: New → 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.