Several programs can't be started: dependency libavg dropped gameapp, newer versions needed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
empcommand (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
libavg (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
magictouch (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
mttroff (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
multitet (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
planarity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
sponc (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
When libavg 1.8 was released, a file named gameapp.py was removed from it. Several packages which depend upon libavg ceased to work because they attempted to import and use this file.
Thanks to OXullo Intersecans, they have now been fixed upstream to work with post-1.8 libavg. These packages should be updated to the latest upstream version in order to start working properly again.
In the meantime, they print an error message when attempting to run one of them, see for instance sponc below:
--- Original description
apt-get install sponc
sponc
-> ERROR: Cannot find sponc package: reinstall the game.
apt-get source sponc
cd sponc-1.
python Game.py
-> Traceback (most recent call last):
-> File "Game.py", line 29, in <module>
-> from libavg import avg, gameapp,Point2D, AVGApp
-> ImportError: cannot import name gameapp
dpkg -L python-libavg | grep game
-> Empty
Changed in sponc (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
description: | updated |
tags: | removed: needs-packaging |
summary: |
- sponc can't be started: dependency libavg dropped gameapp + Several programs can't be started: dependency libavg dropped gameapp, + newer versions needed |
Changed in magictouch (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
status: | Triaged → Confirmed |
importance: | High → Undecided |
Changed in mttroff (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
Thanks for taking your time to report this issue and help making Ubuntu better.
I get the same error message when attempting to run sponc 1.0+svn6822- 0ubuntu2on Ubuntu Vivid.
Looks like the underlying reason is that gameapp.py was removed from python-libavg as mentioned in the title. (Compare http:// packages. ubuntu. com/precise/ i386/python- libavg/ filelist with http:// packages. ubuntu. com/trusty/ i386/python- libavg/ filelist) I don't know whether it was removed completely or whether there is now a drop-in replacement which should be imported instead.
(Also related to bug 1409877 which seems to have the same underlying cause.)