mttroff can't be started: dependency libavg dropped gameapp
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | libavg (Ubuntu) |
Undecided
|
Unassigned | ||
| | mttroff (Ubuntu) |
High
|
Unassigned | ||
Bug Description
apt-get install mttroff
mttroff
-> ERROR: Cannot find mttroff package: reinstall the game.
apt-get source mttroff
cd mttroff-
python troff.py
-> Traceback (most recent call last):
-> File "troff.py", line 21, in <module>
-> from libavg import avg, gameapp, Point2D
-> ImportError: cannot import name gameapp
dpkg -L python-libavg | grep game
-> Empty
| Hans Joachim Desserud (hjd) wrote : | #1 |
| Changed in mttroff (Ubuntu): | |
| status: | New → Confirmed |
| tags: | added: amd64 i386 trusty utopic vivid |
| Hans Joachim Desserud (hjd) wrote : | #2 |
Found that gameapp was removed in this commit https:/
Looks like some demo program was ported to simply use app instead. Presumably something similar can be done for mttroff and sponc.
| Changed in mttroff (Ubuntu): | |
| status: | Confirmed → Triaged |
| importance: | Undecided → High |
| Hans Joachim Desserud (hjd) wrote : | #3 |
Since gameapp.py was intentionally removed from libavg upstream (see comment above), I reckon this issue won't be fixed in the libavg package. Instead the apps will need to be updated/ported.
| Changed in libavg (Ubuntu): | |
| status: | New → Invalid |


Thanks for taking your time to report this issue and help making Ubuntu better.
I get the same error message when attempting to run mttroff 1.0+svn6432+ dfsg-0ubuntu2 on 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 1409879 which seems to have the same underlying cause.)