Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78971 - [pysolfc] fails to launch

Attached to Project: Arch Linux
Opened by phonemic (phonemic) - Monday, 03 July 2023, 20:37 GMT
Last edited by Christian Heusel (gromit) - Sunday, 03 September 2023, 17:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
pysolfc fails to launch

Additional info:
* package version(s)
2.20.1

* config and/or log files etc.
```
Traceback (most recent call last):
File "/usr/bin/pysol", line 36, in <module>
from pysollib.main import main # noqa: E402,I202
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pysollib/main.py", line 30, in <module>
from pysollib.app import Application
File "/usr/lib/python3.11/site-packages/pysollib/app.py", line 32, in <module>
from pysollib.actions import PysolMenubar
File "/usr/lib/python3.11/site-packages/pysollib/actions.py", line 28, in <module>
from pysollib.help import help_about, help_html
File "/usr/lib/python3.11/site-packages/pysollib/help.py", line 29, in <module>
from pysollib.pysoltk import HTMLViewer
File "/usr/lib/python3.11/site-packages/pysollib/pysoltk.py", line 28, in <module>
from pysollib.ui.tktile.tkutil import * # noqa: F401,F403
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pysollib/ui/tktile/tkutil.py", line 250, in <module>
class PIL_Image(ImageTk.PhotoImage):
File "/usr/lib/python3.11/site-packages/pysollib/ui/tktile/tkutil.py", line 291, in PIL_Image
def resize(self, xf, yf, resample=Image.ANTIALIAS):
^^^^^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
```

* link to upstream bug report, if any

Steps to reproduce:
Attempt to launch pysol
This task depends upon

Closed by  Christian Heusel (gromit)
Sunday, 03 September 2023, 17:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  Already fixed in version 2.21.0
Comment by merlock (merlock) - Monday, 03 July 2023, 21:29 GMT
This is caused by an update to python-pillow (9.5.0-2 -> 10.0.0-1).

Reversing the pillow upgrade fixes.

Upstream: https://github.com/shlomif/PySolFC/issues/323

Comment by Dimitri Merejkowsky (dmerej) - Thursday, 06 July 2023, 19:22 GMT
Upstream patch here : https://github.com/shlomif/PySolFC/commit/75a3000ca1301e15d5fdbc6bae6df8dbf1cac066.patch - if you can't wait for upstream releasing a new version :)
Comment by Dimitri Merejkowsky (dmerej) - Thursday, 06 July 2023, 19:45 GMT
And here's a PKGBUILD patch if you want
Comment by phonemic (phonemic) - Thursday, 20 July 2023, 12:59 GMT
When will 2.21.0 be packaged? It released last week and (hopefully) will fix this.

https://github.com/shlomif/PySolFC/releases/tag/pysolfc-2.21.0
https://github.com/shlomif/PySolFC/issues/323

Loading...