eoyilmaz / displaycal-py3

DisplayCAL Modernization Project
https://eoyilmaz.github.io/displaycal-py3/
GNU General Public License v3.0
698 stars 55 forks source link

Error opening curves (Tools:show curves): AttributeError: module 'numpy' has no attribute 'sometrue' #381

Open worldpoop opened 3 days ago

worldpoop commented 3 days ago

Describe the bug Two errors (gui pop-up dialog boxes) when selecting Tools:show curves. First Error:

can only concatenate str (not "NoneType) to str

Followed by Second Error -- unending pop-up repetition until closing curves

module 'numpy' has no attribute 'sometrue'

Traceback (most recent call last): File "/Users/mau/displaycal-py3/.venv/lib/python3.10/site-packages/DisplayCAL/wxLUTViewer.py", line 2193, in OnMotion self.UpdatePointLabel(self.client._getXY(event)) File "/Users/mau/displaycal-py3/.venv/lib/python3.10/site-packages/DisplayCAL/wxLUTViewer.py", line 2464, in UpdatePointLabel self.client.UpdatePointLabel(mDataDict) File "/Users/mau/displaycal-py3/.venv/lib/python3.10/site-packages/DisplayCAL/wxenhancedplot.py", line 1915, in UpdatePointLabel if _Numeric.sometrue( File "/Users/mau/displaycal-py3/.venv/lib/python3.10/site-packages/numpy/init.py", line 410, in getattr raise AttributeError("module {!r} has no attribute " DisplayCal3_curves_window_error_OUTPUT.txt

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):