FS#74781 - displaycal needs more recent version of python-wxpython in order to work

Attached to Project: Community Packages
Opened by Lukas Frank (Rukula) - Tuesday, 17 May 2022, 20:36 GMT
Last edited by Morten Linderud (Foxboron) - Sunday, 26 June 2022, 17:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
wxPython 4.1.1 or newer required for displaycal 3.9.3-1
standard functionality to work properly.
Current wxPython version is incompatible.

Additional info:
* package version(s)
displaycal 3.9.3-1
python-wxpython 1:4.0.7.2-3
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
If you open displaycal and delete one profile you get an unresolvable error:
_ScrolledWindowBase.Scroll(): arguments did not match any overloaded call:
...
WARNING: Your version of wxPython (4.0.7.post2) is outdated and no longer supported.
You should consider updating to wxPython 4.1.1 or newer.
This task depends upon

Closed by  Morten Linderud (Foxboron)
Sunday, 26 June 2022, 17:14 GMT
Reason for closing:  Not a bug
Comment by loqs (loqs) - Wednesday, 18 May 2022, 01:00 GMT
python-wxpython 4.1.1-1 was epoch downgraded due to  FS#70908 . Is that still an issue?
Comment by loqs (loqs) - Sunday, 22 May 2022, 23:12 GMT
@Rukula if you build python-wxpython 4.1.1 [1] does that solve both the version warning and the error?

[1] https://github.com/archlinux/svntogit-community/commit/3f9a83a65281c23bf246c62af981da13b87d50fc
Comment by Lukas Frank (Rukula) - Wednesday, 25 May 2022, 13:54 GMT
@loqs It fixed the version warning but not the error. I have now python-wxpython 4.1.1-1 and wxgtk-common 3.0.5.1-3 installed. I managed to recreate a similar error by opening displaycal, clicking on "?" and then "about" and clicking, scrolling and dragging the windows some time until it seemingly randomly appears. See screenshot Error 2.
Comment by Lukas Frank (Rukula) - Tuesday, 14 June 2022, 16:11 GMT
Filed a pull request on the displaycal repo, which should fix the bug. WXPython has already fixed the bug in their recent code too, it should come around as a release soon.
https://github.com/eoyilmaz/displaycal-py3/pull/138
Comment by Lukas Frank (Rukula) - Monday, 20 June 2022, 12:52 GMT
According to pypi.org the latest wxpython release 4.1.1 (25 Nov, 2020) supports only up to python 3.9: https://pypi.org/project/wxPython/#history
The fix on the wxpython side for my specific bug with displaycals use of wxpython was made on Dec 1, 2021 ( https://github.com/wxWidgets/Phoenix/commit/173d0796810bb65de9bdfdc6941d24a04628f6c2 ), which there is no official wxpython release for yet. This problem can only fully be fixed, once there is a wxpython release which supports python 3.10.

Loading...