shlomif / PySolFC

A comprehensive, feature-rich, open source, and portable, collection of Solitaire games.
http://pysolfc.sourceforge.net/
GNU General Public License v3.0
445 stars 97 forks source link

crashing at startup #329

Closed RichCat6 closed 11 months ago

RichCat6 commented 11 months ago

Every time I start PySolFC on my computer, it crashes. When I run it in terminal, it says: Traceback (most recent call last): File "usr/games/pysolfc", line 36, in from pysollib.main import main # noqa: E402,I202 File "/usr/share/games/pysolfc/pysollib/main.py", line 30, in from pysollib.app import Application File "/usr/share/games/pysolfc/pysollib/app.py", line 32, in from pysollib.images import Images, SubsampledImages File "/usr/share/games/pysolfc/pysollib/images.py", line 28, in from pysollib.pysoltk import copyImage, createBottom, createImage, loadImage File "/usr/share/games/pysolfc/pysollib/pysoltk.py", line 35, in from pysollib.tile.tkhtml import * # noqa: F401,F403 File "/usr/share/games/pysolfc/pysollib/tile/tkhtml.py", line 29, in from pysollib.ui.tktile.tkhtml import Base_HTMLViewer File "/usr/share/games/pysolfc/pysollib/ui/tktile/tkhtml.py", line 24, in import formatter ModuleNotFoundError: No module named 'formatter'

Steps to reproduce:

PySolFC version: 2.6.4

System Specs if required: Sony VAIO VPCEB35FX Intel Core i3 M370 4GB RAM 1tb Toshiba HDD Xubuntu 22.04

joeraz commented 11 months ago

Versions of PySolFC prior to 2.14.0 are not compatible with Python 3.10 (see https://pysolfc.sourceforge.io/faq.html). To resolve this issue, update PySolFC to 2.14.0 or later, or downgrade your copy of Python to 3.9 or older. You can also get the latest version of PySolFC from Flathub.

If you received your copy of PySolFC from your Linux distribution's package manager, you should contact them about updating the package.