Bugzilla – Bug 1215703
After snapshot 20230922 games PySolFC crashes in python
Last modified: 2023-09-26 19:40:27 UTC
After update to snapshot 20230922 and reboot I cannot more start game PySolFC from repository https://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/ The program is not displayed and seems crashing in python It worked with snapshot 20230921. In journalctl I have this trace Sep 26 08:13:13 hpprol2 systemd[2339]: Started PySol Fan Club Edition - PySolFC. Sep 26 08:13:14 hpprol2 plasmashell[15873]: Traceback (most recent call last): Sep 26 08:13:14 hpprol2 plasmashell[15873]: File "/usr/bin/pysol.py", line 36, in <module> Sep 26 08:13:14 hpprol2 plasmashell[15873]: from pysollib.main import main # noqa: E402,I202 Sep 26 08:13:14 hpprol2 plasmashell[15873]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 26 08:13:14 hpprol2 plasmashell[15873]: File "/usr/lib/python3.11/site-packages/pysollib/main.py", line 29, in <module> Sep 26 08:13:14 hpprol2 plasmashell[15873]: from pysollib.app import Application Sep 26 08:13:14 hpprol2 plasmashell[15873]: File "/usr/lib/python3.11/site-packages/pysollib/app.py", line 31, in <module> Sep 26 08:13:14 hpprol2 plasmashell[15873]: from pysollib.actions import PysolMenubar Sep 26 08:13:14 hpprol2 plasmashell[15873]: File "/usr/lib/python3.11/site-packages/pysollib/actions.py", line 27, in <module> Sep 26 08:13:14 hpprol2 plasmashell[15873]: from pysollib.help import help_about, help_html Sep 26 08:13:14 hpprol2 plasmashell[15873]: File "/usr/lib/python3.11/site-packages/pysollib/help.py", line 28, in <module> Sep 26 08:13:14 hpprol2 plasmashell[15873]: from pysollib.pysoltk import HTMLViewer Sep 26 08:13:14 hpprol2 plasmashell[15873]: File "/usr/lib/python3.11/site-packages/pysollib/pysoltk.py", line 27, in <module> Sep 26 08:13:14 hpprol2 plasmashell[15873]: from pysollib.ui.tktile.tkutil import * # noqa: F401,F403 Sep 26 08:13:14 hpprol2 plasmashell[15873]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 26 08:13:14 hpprol2 plasmashell[15873]: File "/usr/lib/python3.11/site-packages/pysollib/ui/tktile/tkutil.py", line 249, in <module> Sep 26 08:13:14 hpprol2 plasmashell[15873]: class PIL_Image(ImageTk.PhotoImage): Sep 26 08:13:14 hpprol2 plasmashell[15873]: File "/usr/lib/python3.11/site-packages/pysollib/ui/tktile/tkutil.py", line 290, in PIL_Image Sep 26 08:13:14 hpprol2 plasmashell[15873]: def resize(self, xf, yf, resample=Image.ANTIALIAS): Sep 26 08:13:14 hpprol2 plasmashell[15873]: ^^^^^^^^^^^^^^^ Sep 26 08:13:14 hpprol2 plasmashell[15873]: AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' I renamed ~/PySolFC directory but after I have still the same error
Looks lie the package PySolFC requires an update to the latest version (2.21.0) to be compatible with newer python-Pillow (10.0). https://pysolfc.sourceforge.io/#news
I've just created a request that should solve the issue: https://build.opensuse.org/request/show/1113603
Thank you. https://build.opensuse.org/request/show/1113603 accepted.
I installed the new version of PySolFC and it works. Call can be closed. many thanks