-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
startswith first arg must be bytes or a tuple of bytes, not str #271
Comments
DisplayCal settings used: |
@RyuConnor can you copy&paste the terminal output, I don't see where this error is generated exactly. |
You'll have to tell me how to do that. The error does not have a log attached. |
Hey @RyuConnor, maybe you start displaycal from some kind of menu, start displaycal instead from a terminal via displaycal. If you do so you will get ouput in that terminal. |
This appears to be the relevant segment.
Here is the complete log output just in case.
|
Is there a work around for this bug until a new version with this fix is released? I haven't been able to calibrate my laptop for two years due to this error. :( |
Hey @RyuConnor, |
Hello @p5k369. Thank you for helping me. Unfortunately, despite the fact that the Arch Maintainer of DisplayCal built version 3.9.11 long after the original release date, they did not include this fix as part of their build. The Maintainer is unlikely to update the official package again until 3.9.12 gets pushed and even then it might take a few months for that to happen based on past precedent. I have tried my hand at manually updating the package with help from the ArchWiki. It has not gone well. I am not ashamed to admit, that I'm out of my depth. |
Hey @RyuConnor, |
I'm going to release 3.9.12 soon, fyi... |
3.9.12 is released please try it. |
It still crashes at the end. "Argyll CMS xicclu: Invalid white XYZ: 0.9651 0.9998 0.8232" |
TypeError: TypeError('startswith first arg must be bytes or a tuple of bytes, not str')
Linux 6.3.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 21 Jun 2023 20:46:20 +0000 x86_64 GNU/Linux
displaycal 3.9.10-3 | Build Date: 2023-06-05
Python 3.11.3
Error occurs at the end of calibration and prevents the ICM/ICC profile from being built.
The text was updated successfully, but these errors were encountered: