Closed marillat closed 1 month ago
Hey @marillat, how did you install displaycal? Are you using a package provided by the distro you are using? Displaycal won't work with python 3.12 and the main branch out of the box, atm. (you can make it work with some little adjustments) Also this line looks concerning:
File "/usr/lib/python3/dist-packages/DisplayCAL/main.py", line 550, in main
That means that displaycal has been installed into your systems python installation. That is not recommended, because it can break other packages or you are more likely to get dependencies issues.
Hey @marillat, how did you install displaycal? Are you using a package provided by the distro you are using? Displaycal won't work with python 3.12 and the main branch out of the box, atm. (you can make it work with some little adjustments)
The error log said debian. It's problematic, python 3.11 is scheduled to be removed from testing/unstable and the next stable release.
Hey @marillat, sure it says debian, because you are on debian, but how did you install displaycal? Via package provided by your distro, or did you clone the displaycal repo and if you cloned it, are you on main or develop?
If you have problems with the displaycal package provided by your distro, please contact the maintainer.
If you cloned the main branch from here, you should not get to that point and get a message like: RuntimeError: Need Python version >= 3.8 <= 3.11, got 3.12.3
As I mentioned above, it is possible to make the main branch also run with 3.12, but it is easier to just clone develop.
If you cloned the develop branch from here, you probably forgot to make build
.
The reason for that inconvenience is that atm wxPython and python 3.12 are not a perfect match without patching which causes displaycal to segfault (at least on closing). You can read about that here: https://github.com/wxWidgets/Phoenix/issues/2455
Hey @marillat, sure it says debian, because you are on debian, but how did you install displaycal? Via package provided by your distro, or did you clone the displaycal repo and if you cloned it, are you on main or develop?
By package as I'm the Debian maintainer for displaycal :)
If you cloned the main branch from here, you should not get to that point and get a message like: RuntimeError: Need Python version >= 3.8 <= 3.11, got 3.12.3 As I mentioned above, it is possible to make the main branch also run with 3.12, but it is easier to just clone develop.
Yes, I already tested that with commit e7c6640 and the result is the error I reported here.
The reason for that inconvenience is that atm wxPython and python 3.12 are not a perfect match without patching which causes displaycal to segfault (at least on closing).
Yes, I noticed that by reading the issue tracker.
Yes, I already tested that with commit e7c6640 and the result is the error I reported here.
That won't work. The first commit that made the develop branch build and run with python-3.12 is this one: https://github.com/eoyilmaz/displaycal-py3/commit/2cca1f31c1f5d66013e6fb9ab00605bb46a7db4b You are missing a place to build RealdisplaySizeMM in and also the import.
Thanks @p5k369, 2cca1f3 fix this issue. Otherwise I don't see a crash when I quit displaycal.
Describe the bug I can fin and existing issue with this error. Fail to start with this error