pysolfc fails to launch

Bug #2107306 reported by Krish Nagarajan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pysolfc (Ubuntu)
New
Undecided
Unassigned

Bug Description

pysolfc fails to launch as imp module has become importlib in python 3.12 in ubuntu Noble

 pysolfc
Traceback (most recent call last):
  File "/usr/games/pysolfc", line 36, in <module>
    from pysollib.main import main # noqa: E402,I202
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/games/pysolfc/pysollib/main.py", line 30, in <module>
    from pysollib.app import Application
  File "/usr/share/games/pysolfc/pysollib/app.py", line 31, in <module>
    from pysollib.gamedb import GAME_DB, GI, loadGame
  File "/usr/share/games/pysolfc/pysollib/gamedb.py", line 25, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'

This problem is solved in the plucky version of this package.
I have verified by manually downloading pysolfc_3.1.0-2_all.deb and python3-pysol-cards_0.16.0-3_all.deb from plucky and installing in Noble.

The program then launches normally.

Revision history for this message
Krish Nagarajan (krish-nagarajan-public) wrote :

The plucky version should be BACKPORTED to Noble not forcing users to wait for TWO YEARS to get fix.

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.