Bug 1215703 - After snapshot 20230922 games PySolFC crashes in python
Summary: After snapshot 20230922 games PySolFC crashes in python
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Python (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Daniel Garcia
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-26 06:39 UTC by Philippe Condé
Modified: 2023-09-26 19:40 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Condé 2023-09-26 06:39:19 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
Comment 1 Daniel Garcia 2023-09-26 06:53:41 UTC
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
Comment 2 Daniel Garcia 2023-09-26 07:02:47 UTC
I've just created a request that should solve the issue: https://build.opensuse.org/request/show/1113603
Comment 3 Carsten Ziepke 2023-09-26 16:19:05 UTC
Thank you.
https://build.opensuse.org/request/show/1113603 accepted.
Comment 4 Philippe Condé 2023-09-26 19:40:27 UTC
I installed the new version of PySolFC and it works.

Call can be closed.

many thanks