childsplay does not start on Trusty (14.04)

Bug #1316557 reported by Yannis Tsop on 2014-05-06
66
This bug affects 15 people
Affects Status Importance Assigned to Milestone
childsplay (Debian)
Fix Released
Unknown
childsplay (Ubuntu)
Critical
Unassigned

Bug Description

$ /usr/games/childsplay

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

running childsplay on 14.04 you get an error. This is due to some changes in libraries.

Yannis Tsop (ogiannhs) wrote :

The attachment "Fix for installed files" 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
Pierre (pierrewinnipeg) wrote :

Affect me too. Could not start in 13.10 either and WAS REPORTED THEN.

That is an important package. Please fix package with patch in repository so we do not have to wait till 14.10 is out.

Even major packages in Ubuntu take over a year to patch... bad for Ubuntu reputation.

Thanks.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in childsplay (Ubuntu):
status: New → Confirmed

Affects me as well. Just did a new install of 14.04. My daughters favorite software. Looking forward to a fix.

Thanks,

Onno Zweers (onnozweers) wrote :

I had the same issue. To satisfy my kids I applied the fix of Yannis Tsop (comment #1) by hand. It worked perfectly, thanks Yannis!

For who has impatient children too:

  sudo nano /usr/lib/python2.7/dist-packages/childsplay_sp/SPMainCore.py

Search for the line:

  from sqlalchemy import exceptions as sqla_exceptions

Replace it with:

  from sqlalchemy import exc as sqla_exceptions

omvsj (omvsj) wrote :

Comment #6 solved it.

Kevin Williams (bthylafh) wrote :

Onno Zweers's suggestion fixed it for me as well.

xoristzatziki (simsonbike-bugs) wrote :

Onno Zweers's suggestion fixed it for me as well.

oposit (julio-poisot) wrote :

Thank you for the solution in comment #6, but I have to edit /usr/share/pyshared/childsplay_sp/SPMainCore.py

I have just installed Childsplay and is having the same error.

Tomasz Pudlo (tpudlo) wrote :

Thank you Yannis (#1) and Onno (#6) :-) Works perfectly.

Rolf Leggewie (r0lf) wrote :

This problem still affects Trusty but later releases should have seen a fix (new upsteam release)

Changed in childsplay (Ubuntu):
importance: Undecided → Critical
Changed in childsplay (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.