-
Notifications
You must be signed in to change notification settings - Fork 64
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
Error opening curves (Tools:show curves): AttributeError: module 'numpy' has no attribute 'sometrue' #381
Comments
@worldpoop |
I calibrated a new monitor today and encountered this as well. This seems to be a result of an update to numpy 2.0:
https://numpy.org/doc/2.0/numpy_2_0_migration_guide.html (Also, I'm not an expert on how to deal with this sort of thing, but maybe a work-around for the time being is to just cap numpy version to less than 2.0 in |
Actually, the only match for displaycal-py3/DisplayCAL/wxenhancedplot.py Line 1915 in 2c67f1c
and a couple of instances in the wxpython package. Maybe it's enough just to change |
And what happens if you change |
This should now be fixed with 3ee7cca and will be released with DisplayCAL 3.9.14 |
Tested at 8903be9 - the specific issue of displaycal-py3/DisplayCAL/wxLUTViewer.py Lines 535 to 541 in 3e216cb
I tested the changes in #430 and this seems to resolve the lingering problem. |
I'm still encountering this issue in version 3.9.14. Am I missing something? I very much appreciate the work everyone is putting in to keep this project alive. |
#430 , which was solving the remaining issues related to |
Describe the bug
Two errors (gui pop-up dialog boxes) when selecting Tools:show curves. First Error:
Followed by Second Error -- unending pop-up repetition until closing curves
module 'numpy' has no attribute 'sometrue'
To Reproduce
When running DisplayCal3, select Tools:show curves
Expected behavior
Curves window to open without error "okay boxes" popping up continuously that prevent interaction with the curves window, until the curves window can be closed.
Screenshots
Attached
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: