Skip to content
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

Resolve Patches do not update. #302

Closed
mytechliving opened this issue Nov 3, 2023 · 127 comments · Fixed by #329
Closed

Resolve Patches do not update. #302

mytechliving opened this issue Nov 3, 2023 · 127 comments · Fixed by #329

Comments

@mytechliving
Copy link

When running DisplayCal through DaVinci Resolve, I receive the following output. While attempting to calibrate, the color patch on reference monitor does not update past the initial gray/white balance patch.

`sh-3.2# displaycal
Acquired lock file: <DisplayCAL.main.AppLock object at 0x7ff5480bb0d0>
displaycal 3.9.11 2023-06-05T17:07:58Z
Mac OS X 10.16 x86_64
Python 3.8.0 (v3.8.0:fa919fdf25, Oct 14 2019, 10:23:27)
[Clang 6.0 (clang-600.0.57)]
CA file /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/certifi/cacert.pem
Faulthandler
wxPython 4.2.1 osx-cocoa (phoenix) wxWidgets 3.2.2.1
Encoding: utf-8
File system encoding: utf-8
Loading /var/root/Library/Preferences/DisplayCAL/DisplayCAL.ini
listening
writing to lock file: port: 15411
Starting up...
SDL2: None
SDL2_mixer: None
Audio module: wx 4.2.1
Enumerating display devices and communication ports...
/Volumes/Assets & Media/Argyll_V2.3.1/bin
ArgyllCMS 2.3.1b
Argyll has virtual display support
...ok.
Initializing GUI...

instrument_name: Spyder5
display_name : Resolve
...ok.
Ready.
Setting up scripting host at 127.0.0.1:15411
Check for application update...
DisplayCAL is up-to-date.
ArgyllCMS is up-to-date.
Connection established

Calibrate & profile
Detecting output levels range...

Session log: 0_16

Working directory:
/
tmp/
DisplayCAL-bd5m1n1z/

Command line:
/Volumes/Assets & Media/Argyll_V2.3.1/bin/dispread
-C
'/usr/bin/env python ./.wait'
-v
-K
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-
packages/DisplayCAL/linear.cal
-ddummy
-c1
-yn
0_16

DisplayCAL: Setting ARGYLL_MIN_DISPLAY_UPDATE_DELAY_MS 1000
DisplayCAL: Sending RGB 0.500 0.500 0.500, background RGB 0.000 0.000 0.000, x 0.3891, y 0.3028, w 0.2215, h 0.3937
DisplayCAL: caffeinate started, preventing screensaver and display/system sleep - waiting for dispread (PID 40230) to exit
DisplayCAL: Starting interaction with subprocess
Number of patches = 3

Setting up the instrument

Instrument Type: Datacolor Spyder5

Serial Number: 50303892

Hardware version: 0x0a0f

Created dummy window

Place instrument on test window.

DisplayCAL: Waiting for send buffer
DisplayCAL: Detected instrument placement (screen/spot) message
DisplayCAL: Prompting to place instrument on screen
DisplayCAL: Instrument on screen
DisplayCAL: Send buffer received:
DisplayCAL: Sending buffer: ' '
Hit Esc or Q to give up, any other key to continue:

DisplayCAL: Patch update count: 1
Patch 1 of 3env: python: No such file or directory

dispread: Warning - System command '/usr/bin/env python ./.wait 255 255 255 1.000000 1.000000 1.000000' failed with 32512

Warning - did we loose sync with the pattern generator?
DisplayCAL: Patch update count: 2
Patch 2 of 3env: python: No such file or directory

dispread: Warning - System command '/usr/bin/env python ./.wait 0 0 0 0.000000 0.000000 0.000000' failed with 32512

Warning - did we loose sync with the pattern generator?
DisplayCAL: Patch update count: 3
Patch 3 of 3env: python: No such file or directory

dispread: Warning - System command '/usr/bin/env python ./.wait 16 16 16 0.062500 0.062500 0.062500' failed with 32512

The instrument can be removed from the screen.

Warning - did we loose sync with the pattern generator?
Written '0_16.ti3'

DisplayCAL: caffeinate exited with code 0
DisplayCAL: Subprocess no longer alive (timeout)
DisplayCAL: Subprocess no longer alive (timeout)
dispread exitcode: 0
RGB level 0 is 22.536733 cd/m2
RGB level 16 is 22.529299 cd/m2
Using limited range output levels

Session log: Resolve 2023-11-03 12-53 D6500 2.2 M-S XYZLUT+MTX

Working directory:
/
tmp/
DisplayCAL-bd5m1n1z/

Command line:
/Volumes/Assets & Media/Argyll_V2.3.1/bin/dispcal
-C
'/usr/bin/env python ./.wait'
-v2
-ddummy
-c1
-yn
-qm
-t6500
-g2.2
-f1.0
-k0
-A4.0
-b
'Resolve 2023-11-03 12-53 D6500 2.2 M-S XYZLUT+MTX'

DisplayCAL: Setting ARGYLL_MIN_DISPLAY_UPDATE_DELAY_MS 1000
DisplayCAL: Sending RGB 0.500 0.500 0.500, background RGB 0.000 0.000 0.000, x 0.3891, y 0.3028, w 0.2215, h 0.3937
DisplayCAL: caffeinate started, preventing screensaver and display/system sleep - waiting for dispcal (PID 40235) to exit
DisplayCAL: Starting interaction with subprocess
Setting up the instrument

Instrument Type: Datacolor Spyder5

Serial Number: 50303892

Hardware version: 0x0a0f

Created dummy window

Place instrument on test window.

DisplayCAL: Detected instrument placement (screen/spot) message
DisplayCAL: Waiting for send buffer
DisplayCAL: Skipping place instrument on screen message...
DisplayCAL: Send buffer received:
DisplayCAL: Sending buffer: ' '
Hit Esc or Q to give up, any other key to continue:

dispcal: Warning - Unable to access to VideoLUTs so can't be sure colors are native

Display type is 'n'

Target white = 6500.000000 degrees kelvin Daylight spectrum

Target white brightness = native brightness

Target black brightness = native brightness

Black point device hack is enabled

Target advertised gamma = 2.200000

Display adjustment menu:

Press 1 .. 7

  1. Black level (CRT: Offset/Brightness)

  2. White point (Color temperature, R,G,B, Gain/Contrast)

  3. White level (CRT: Gain/Contrast, LCD: Brightness/Backlight)

  4. Black point (R,G,B, Offset/Brightness)

  5. Check all

  6. Measure and set ambient for viewing condition adjustment

  7. Continue on to calibration

  8. Exit

DisplayCAL: Waiting for send buffer
DisplayCAL: Send buffer received: 7
DisplayCAL: Sending buffer: '7'
Commencing display calibration

DisplayCAL: Patch update count: 1
Patch 1 of 9env: python: No such file or directory

dispcal: Warning - System command '/usr/bin/env python ./.wait 0 0 0 0.000000 0.000000 0.000000' failed with 32512

Warning - did we loose sync with the pattern generator?
DisplayCAL: Patch update count: 2
Patch 2 of 9env: python: No such file or directory

dispcal: Warning - System command '/usr/bin/env python ./.wait 255 0 0 1.000000 0.000000 0.000000' failed with 32512

Warning - did we loose sync with the pattern generator?
DisplayCAL: Patch update count: 3
Patch 3 of 9env: python: No such file or directory

dispcal: Warning - System command '/usr/bin/env python ./.wait 255 255 255 1.000000 1.000000 1.000000' failed with 32512

Warning - did we loose sync with the pattern generator?
DisplayCAL: Patch update count: 4
Patch 4 of 9env: python: No such file or directory

dispcal: Warning - System command '/usr/bin/env python ./.wait 0 0 0 0.000000 0.000000 0.000000' failed with 32512

Warning - did we loose sync with the pattern generator?
DisplayCAL: Patch update count: 5
Patch 5 of 9env: python: No such file or directory

dispcal: Warning - System command '/usr/bin/env python ./.wait 0 255 0 0.000000 1.000000 0.000000' failed with 32512

Warning - did we loose sync with the pattern generator?
DisplayCAL: Patch update count: 6
Patch 6 of 9env: python: No such file or directory

dispcal: Warning - System command '/usr/bin/env python ./.wait 0 0 0 0.000000 0.000000 0.000000' failed with 32512

`

@Bastizor
Copy link

Same issue.
Hopefully a fix can be found.

@eoyilmaz
Copy link
Owner

Hey @BastienChilloux I wanted to look in to this one, I have a DaVinci Resolve license, but I think I need to have an external monitor to run this through DaVinci Resolve... Can you help me to reproduce this?

@eoyilmaz
Copy link
Owner

aah okay, I see, I can simulate the pattern generator with a Python socket and that should be enough, no worries.

@Bastizor
Copy link

Hey @eoyilmaz !
Feel free to reach out to me for any information or to do any testing :)

eoyilmaz added a commit that referenced this issue Mar 10, 2024
eoyilmaz added a commit that referenced this issue Mar 10, 2024
@eoyilmaz
Copy link
Owner

eoyilmaz commented Mar 10, 2024

@BastienChilloux I think I found the reason it is not updating the patches, can you try installing and testing this:

You need to unzip the file before running pip install DisplayCAL-3.9.12-cp311-cp311-macosx_13_0_arm64.whl

DisplayCAL-3.9.12-cp311-cp311-macosx_13_0_arm64.whl.zip

@Bastizor
Copy link

The file unzipped is in my Downloads folder.
Once I enter the command in the terminal I get this error -bash: pip: command not found
I guess I am doing something wrong here.

@eoyilmaz
Copy link
Owner

I yes sorry... let's do it in this way:

If you don't have python3 installed, you can install it with brew:

brew install git glib gtk+3 python@3.11

And then let's clone the source, that will be easier if we'll be keep testing the code:

cd ~/Downloads
git clone https://github.com/eoyilmaz/displaycal-py3
cd ./displaycal-py3/
git checkout 302-resolve-patches-do-not-update
make build
make install
make launch

@Bastizor
Copy link

Bastizor commented Mar 10, 2024

The first cmd gave me the same error but I think I had already installed python3 because I tested your version last year.
Also the second step work properly in the terminal, except that I got these last messages :
Installing collected packages: DisplayCAL Successfully installed DisplayCAL-3.9.12 WARNING: You are using pip version 21.2.4; however, version 24.0 is available.

Will be available tomorrow for further testing :)

@eoyilmaz
Copy link
Owner

Yeah it seems you've successfully installed the DisplayCAL 3.9.12. What happens after you run make launch do you see DisplayCAL UI?

@Bastizor
Copy link

Bastizor commented Mar 11, 2024

I have restarted the terminal and the cmd DisplayCAL-3.9.12 make launch returns me this -bash: DisplayCAL-3.9.12: command not found
I guess your cmd was made to be used right after the previous terminal process ?

@eoyilmaz
Copy link
Owner

eoyilmaz commented Mar 11, 2024

Okay so let's this, inside the displaycal-py3 folder, run the following:

source .venv/bin/activate
./DisplayCAL.pyw

@Bastizor
Copy link

Bastizor commented Mar 11, 2024

Sorry but I don't really understand the way to do this, can you explain further.

On the other side, what I used to do to launch DisplayCal is to go in the displaycal-py3>scripts folder and launch displaycal in the terminal.
This works for me and launches the DisplayCal python app.

Let me know what I can do.

@eoyilmaz
Copy link
Owner

No worries, run the following on a fresh terminal:

cd ~/Downloads/displaycal-py3/
make build
make install
source .venv/bin/activate
./DisplayCAL.pyw

And it would be very helpful if you copy and paste your terminal output.

@Bastizor
Copy link

Bastizor commented Mar 11, 2024

There you go :

`Ignoring dbus-python: markers 'sys_platform == "linux"' don't match your environment
Requirement already satisfied: build in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 1)) (1.1.1)
Requirement already satisfied: certifi in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (2024.2.2)
Requirement already satisfied: distro in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 4)) (1.9.0)
Requirement already satisfied: numpy in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 5)) (1.26.4)
Requirement already satisfied: Pillow in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 6)) (10.2.0)
Requirement already satisfied: PyChromecast in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 7)) (13.1.0)
Requirement already satisfied: Send2Trash in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 8)) (1.8.2)
Requirement already satisfied: wxPython>=4.1.1 in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 9)) (4.2.1)
Requirement already satisfied: zeroconf in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 10)) (0.131.0)
Requirement already satisfied: pyproject_hooks in ./.venv/lib/python3.9/site-packages (from build->-r requirements.txt (line 1)) (1.0.0)
Requirement already satisfied: importlib-metadata>=4.6 in ./.venv/lib/python3.9/site-packages (from build->-r requirements.txt (line 1)) (7.0.2)
Requirement already satisfied: packaging>=19.0 in ./.venv/lib/python3.9/site-packages (from build->-r requirements.txt (line 1)) (24.0)
Requirement already satisfied: tomli>=1.1.0 in ./.venv/lib/python3.9/site-packages (from build->-r requirements.txt (line 1)) (2.0.1)
Requirement already satisfied: casttube>=0.2.0 in ./.venv/lib/python3.9/site-packages (from PyChromecast->-r requirements.txt (line 7)) (0.2.1)
Requirement already satisfied: protobuf>=3.19.1 in ./.venv/lib/python3.9/site-packages (from PyChromecast->-r requirements.txt (line 7)) (4.25.3)
Requirement already satisfied: six in ./.venv/lib/python3.9/site-packages (from wxPython>=4.1.1->-r requirements.txt (line 9)) (1.16.0)
Requirement already satisfied: ifaddr>=0.1.7 in ./.venv/lib/python3.9/site-packages (from zeroconf->-r requirements.txt (line 10)) (0.2.0)
Requirement already satisfied: async-timeout>=3.0.0 in ./.venv/lib/python3.9/site-packages (from zeroconf->-r requirements.txt (line 10)) (4.0.3)
Requirement already satisfied: requests in ./.venv/lib/python3.9/site-packages (from casttube>=0.2.0->PyChromecast->-r requirements.txt (line 7)) (2.31.0)
Requirement already satisfied: zipp>=0.5 in ./.venv/lib/python3.9/site-packages (from importlib-metadata>=4.6->build->-r requirements.txt (line 1)) (3.17.0)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./.venv/lib/python3.9/site-packages (from requests->casttube>=0.2.0->PyChromecast->-r requirements.txt (line 7)) (2.2.1)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.9/site-packages (from requests->casttube>=0.2.0->PyChromecast->-r requirements.txt (line 7)) (3.6)
Requirement already satisfied: charset-normalizer<4,>=2 in ./.venv/lib/python3.9/site-packages (from requests->casttube>=0.2.0->PyChromecast->-r requirements.txt (line 7)) (3.3.2)
WARNING: You are using pip version 21.2.4; however, version 24.0 is available.
You should consider upgrading via the '/Users/Bastien/Downloads/displaycal-py3/.venv/bin/python3 -m pip install --upgrade pip' command.
Requirement already satisfied: black in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 1)) (24.2.0)
Requirement already satisfied: coverage in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 2)) (7.4.3)
Requirement already satisfied: darglint in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 3)) (1.8.1)
Requirement already satisfied: flake8 in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 4)) (7.0.0)
Requirement already satisfied: flake8-bugbear in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 5)) (24.2.6)
Requirement already satisfied: flake8-docstrings in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 6)) (1.7.0)
Requirement already satisfied: flake8-import-order in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 7)) (0.18.2)
Requirement already satisfied: flake8-mutable in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 8)) (1.2.0)
Requirement already satisfied: flake8-pep3101 in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 9)) (2.1.0)
Requirement already satisfied: flake8-spellcheck in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 10)) (0.28.0)
Requirement already satisfied: matplotlib in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 11)) (3.8.3)
Requirement already satisfied: ppdir in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 12)) (0.1.0)
Requirement already satisfied: py2app in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 13)) (0.28.7)
Requirement already satisfied: pyglet in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 14)) (2.0.14)
Requirement already satisfied: pytest in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 15)) (8.1.1)
Requirement already satisfied: pytest-cov in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 16)) (4.1.0)
Requirement already satisfied: pytest-github-actions-annotate-failures in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 17)) (0.2.0)
Requirement already satisfied: pytest-xdist in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 18)) (3.5.0)
Requirement already satisfied: snowballstemmer in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 19)) (2.2.0)
Requirement already satisfied: twine in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 20)) (5.0.0)
Requirement already satisfied: yappi in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 21)) (1.6.0)
Requirement already satisfied: wheel in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 23)) (0.42.0)
Requirement already satisfied: packaging>=22.0 in ./.venv/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 1)) (24.0)
Requirement already satisfied: pathspec>=0.9.0 in ./.venv/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 1)) (0.12.1)
Requirement already satisfied: click>=8.0.0 in ./.venv/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 1)) (8.1.7)
Requirement already satisfied: platformdirs>=2 in ./.venv/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 1)) (4.2.0)
Requirement already satisfied: mypy-extensions>=0.4.3 in ./.venv/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 1)) (1.0.0)
Requirement already satisfied: typing-extensions>=4.0.1 in ./.venv/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 1)) (4.10.0)
Requirement already satisfied: tomli>=1.1.0 in ./.venv/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 1)) (2.0.1)
Requirement already satisfied: pyflakes<3.3.0,>=3.2.0 in ./.venv/lib/python3.9/site-packages (from flake8->-r requirements-dev.txt (line 4)) (3.2.0)
Requirement already satisfied: mccabe<0.8.0,>=0.7.0 in ./.venv/lib/python3.9/site-packages (from flake8->-r requirements-dev.txt (line 4)) (0.7.0)
Requirement already satisfied: pycodestyle<2.12.0,>=2.11.0 in ./.venv/lib/python3.9/site-packages (from flake8->-r requirements-dev.txt (line 4)) (2.11.1)
Requirement already satisfied: attrs>=19.2.0 in ./.venv/lib/python3.9/site-packages (from flake8-bugbear->-r requirements-dev.txt (line 5)) (23.2.0)
Requirement already satisfied: pydocstyle>=2.1 in ./.venv/lib/python3.9/site-packages (from flake8-docstrings->-r requirements-dev.txt (line 6)) (6.3.0)
Requirement already satisfied: setuptools in ./.venv/lib/python3.9/site-packages (from flake8-import-order->-r requirements-dev.txt (line 7)) (58.0.4)
Requirement already satisfied: importlib-resources>=3.2.0 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (6.1.3)
Requirement already satisfied: contourpy>=1.0.1 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (1.2.0)
Requirement already satisfied: fonttools>=4.22.0 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (4.49.0)
Requirement already satisfied: cycler>=0.10 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (0.12.1)
Requirement already satisfied: python-dateutil>=2.7 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (2.9.0.post0)
Requirement already satisfied: pyparsing>=2.3.1 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (3.1.2)
Requirement already satisfied: pillow>=8 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (10.2.0)
Requirement already satisfied: kiwisolver>=1.3.1 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (1.4.5)
Requirement already satisfied: numpy<2,>=1.21 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (1.26.4)
Requirement already satisfied: colorama>=0.4.3 in ./.venv/lib/python3.9/site-packages (from ppdir->-r requirements-dev.txt (line 12)) (0.4.6)
Requirement already satisfied: altgraph>=0.17.3 in ./.venv/lib/python3.9/site-packages (from py2app->-r requirements-dev.txt (line 13)) (0.17.4)
Requirement already satisfied: modulegraph>=0.19.6 in ./.venv/lib/python3.9/site-packages (from py2app->-r requirements-dev.txt (line 13)) (0.19.6)
Requirement already satisfied: macholib>=1.16.2 in ./.venv/lib/python3.9/site-packages (from py2app->-r requirements-dev.txt (line 13)) (1.16.3)
Requirement already satisfied: pluggy<2.0,>=1.4 in ./.venv/lib/python3.9/site-packages (from pytest->-r requirements-dev.txt (line 15)) (1.4.0)
Requirement already satisfied: iniconfig in ./.venv/lib/python3.9/site-packages (from pytest->-r requirements-dev.txt (line 15)) (2.0.0)
Requirement already satisfied: exceptiongroup>=1.0.0rc8 in ./.venv/lib/python3.9/site-packages (from pytest->-r requirements-dev.txt (line 15)) (1.2.0)
Requirement already satisfied: execnet>=1.1 in ./.venv/lib/python3.9/site-packages (from pytest-xdist->-r requirements-dev.txt (line 18)) (2.0.2)
Requirement already satisfied: pkginfo>=1.8.1 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (1.10.0)
Requirement already satisfied: readme-renderer>=35.0 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (43.0)
Requirement already satisfied: rfc3986>=1.4.0 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (2.0.0)
Requirement already satisfied: urllib3>=1.26.0 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (2.2.1)
Requirement already satisfied: requests-toolbelt!=0.9.0,>=0.8.0 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (1.0.0)
Requirement already satisfied: importlib-metadata>=3.6 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (7.0.2)
Requirement already satisfied: keyring>=15.1 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (24.3.1)
Requirement already satisfied: requests>=2.20 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (2.31.0)
Requirement already satisfied: rich>=12.0.0 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (13.7.1)
Requirement already satisfied: zipp>=0.5 in ./.venv/lib/python3.9/site-packages (from importlib-metadata>=3.6->twine->-r requirements-dev.txt (line 20)) (3.17.0)
Requirement already satisfied: jaraco.classes in ./.venv/lib/python3.9/site-packages (from keyring>=15.1->twine->-r requirements-dev.txt (line 20)) (3.3.1)
Requirement already satisfied: six>=1.5 in ./.venv/lib/python3.9/site-packages (from python-dateutil>=2.7->matplotlib->-r requirements-dev.txt (line 11)) (1.16.0)
Requirement already satisfied: docutils>=0.13.1 in ./.venv/lib/python3.9/site-packages (from readme-renderer>=35.0->twine->-r requirements-dev.txt (line 20)) (0.20.1)
Requirement already satisfied: Pygments>=2.5.1 in ./.venv/lib/python3.9/site-packages (from readme-renderer>=35.0->twine->-r requirements-dev.txt (line 20)) (2.17.2)
Requirement already satisfied: nh3>=0.2.14 in ./.venv/lib/python3.9/site-packages (from readme-renderer>=35.0->twine->-r requirements-dev.txt (line 20)) (0.2.15)
Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.9/site-packages (from requests>=2.20->twine->-r requirements-dev.txt (line 20)) (2024.2.2)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.9/site-packages (from requests>=2.20->twine->-r requirements-dev.txt (line 20)) (3.6)
Requirement already satisfied: charset-normalizer<4,>=2 in ./.venv/lib/python3.9/site-packages (from requests>=2.20->twine->-r requirements-dev.txt (line 20)) (3.3.2)
Requirement already satisfied: markdown-it-py>=2.2.0 in ./.venv/lib/python3.9/site-packages (from rich>=12.0.0->twine->-r requirements-dev.txt (line 20)) (3.0.0)
Requirement already satisfied: mdurl~=0.1 in ./.venv/lib/python3.9/site-packages (from markdown-it-py>=2.2.0->rich>=12.0.0->twine->-r requirements-dev.txt (line 20)) (0.1.2)
Requirement already satisfied: more-itertools in ./.venv/lib/python3.9/site-packages (from jaraco.classes->keyring>=15.1->twine->-r requirements-dev.txt (line 20)) (10.2.0)
WARNING: You are using pip version 21.2.4; however, version 24.0 is available.
You should consider upgrading via the '/Users/Bastien/Downloads/displaycal-py3/.venv/bin/python3 -m pip install --upgrade pip' command.
source ./.venv/bin/activate; \
	python3 -m build;
* Creating venv isolated environment...
* Installing packages in isolated environment... (pywin32; platform_system=="Windows", setuptools)
* Getting build dependencies for sdist...
Trying to get git version information...
Trying to get git information...
Generating __version__.py
Version 3.9.12
['egg_info']
*** /Users/Bastien/Downloads/displaycal-py3/.venv/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py egg_info
using distutils
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-3dlut-maker.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-apply-profiles.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-curve-viewer.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-profile-info.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-scripting-client.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-synthprofile.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-testchart-editor.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-vrml-to-x3d-converter.desktop
warning: no files found matching 'MANIFEST'
warning: no files found matching 'use-distutils'
warning: no files found matching '_in_process.py'
warning: no files found matching '_in_process.cfg'
warning: no files found matching 'DisplayCAL/quirk.json'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.backup' found anywhere in distribution
warning: no previously-included files matching '*.bak' found anywhere in distribution
* Building sdist...
Trying to get git version information...
Trying to get git information...
Generating __version__.py
Version 3.9.12
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-3dlut-maker.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-apply-profiles.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-curve-viewer.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-profile-info.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-scripting-client.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-synthprofile.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-testchart-editor.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-vrml-to-x3d-converter.desktop
['sdist', '--formats', 'gztar', '--dist-dir', '/Users/Bastien/Downloads/displaycal-py3/dist/.tmp-bt0nndgh']
*** /Users/Bastien/Downloads/displaycal-py3/.venv/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py sdist --formats gztar --dist-dir /Users/Bastien/Downloads/displaycal-py3/dist/.tmp-bt0nndgh
using distutils
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-3dlut-maker.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-apply-profiles.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-curve-viewer.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-profile-info.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-scripting-client.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-synthprofile.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-testchart-editor.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-vrml-to-x3d-converter.desktop
warning: no files found matching 'MANIFEST'
warning: no files found matching 'use-distutils'
warning: no files found matching '_in_process.py'
warning: no files found matching '_in_process.cfg'
warning: no files found matching 'DisplayCAL/quirk.json'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.backup' found anywhere in distribution
warning: no previously-included files matching '*.bak' found anywhere in distribution
* Building wheel from sdist
* Creating venv isolated environment...
* Installing packages in isolated environment... (pywin32; platform_system=="Windows", setuptools)
* Getting build dependencies for wheel...
['egg_info']
*** /Users/Bastien/Downloads/displaycal-py3/.venv/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py egg_info
using distutils
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-3dlut-maker.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-apply-profiles.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-curve-viewer.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-profile-info.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-scripting-client.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-synthprofile.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-testchart-editor.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-vrml-to-x3d-converter.desktop
warning: no files found matching 'MANIFEST'
warning: no files found matching 'use-distutils'
warning: no files found matching '_in_process.py'
warning: no files found matching '_in_process.cfg'
warning: no files found matching 'DisplayCAL/quirk.json'
warning: no previously-included files found matching 'misc/Argyll'
warning: no previously-included files found matching 'misc/*.rules'
warning: no previously-included files found matching 'misc/*.usermap'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.backup' found anywhere in distribution
warning: no previously-included files matching '*.bak' found anywhere in distribution
* Installing packages in isolated environment... (wheel)
* Building wheel...
['bdist_wheel', '--dist-dir', '/Users/Bastien/Downloads/displaycal-py3/dist/.tmp-moopucop']
*** /Users/Bastien/Downloads/displaycal-py3/.venv/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py bdist_wheel --dist-dir /Users/Bastien/Downloads/displaycal-py3/dist/.tmp-moopucop
using distutils
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-3dlut-maker.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-apply-profiles.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-curve-viewer.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-profile-info.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-scripting-client.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-synthprofile.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-testchart-editor.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-bkjk4mfd/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-vrml-to-x3d-converter.desktop
DisplayCAL/RealDisplaySizeMM.c:398:22: warning: 'CGDisplayIOServicePort' is deprecated: first deprecated in macOS 10.9 - No longer supported [-Wdeprecated-declarations]
        if ((dport = CGDisplayIOServicePort(dids[i])) == MACH_PORT_NULL) {
                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h:372:24: note: 'CGDisplayIOServicePort' has been explicitly marked deprecated here
CG_EXTERN io_service_t CGDisplayIOServicePort(CGDirectDisplayID display)
                       ^
DisplayCAL/RealDisplaySizeMM.c:372:19: warning: comparison of integers of different signs: 'int' and 'CGDisplayCount' (aka 'unsigned int') [-Wsign-compare]
    for (i = 0; i < dcount; i++) {
                ~ ^ ~~~~~~
DisplayCAL/RealDisplaySizeMM.c:383:19: warning: comparison of integers of different signs: 'int' and 'CGDisplayCount' (aka 'unsigned int') [-Wsign-compare]
    for (i = 0; i < dcount; i++) {
                ~ ^ ~~~~~~
3 warnings generated.
DisplayCAL/RealDisplaySizeMM.c:398:22: warning: 'CGDisplayIOServicePort' is deprecated: first deprecated in macOS 10.9 - No longer supported [-Wdeprecated-declarations]
        if ((dport = CGDisplayIOServicePort(dids[i])) == MACH_PORT_NULL) {
                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h:372:24: note: 'CGDisplayIOServicePort' has been explicitly marked deprecated here
CG_EXTERN io_service_t CGDisplayIOServicePort(CGDirectDisplayID display)
                       ^
DisplayCAL/RealDisplaySizeMM.c:372:19: warning: comparison of integers of different signs: 'int' and 'CGDisplayCount' (aka 'unsigned int') [-Wsign-compare]
    for (i = 0; i < dcount; i++) {
                ~ ^ ~~~~~~
DisplayCAL/RealDisplaySizeMM.c:383:19: warning: comparison of integers of different signs: 'int' and 'CGDisplayCount' (aka 'unsigned int') [-Wsign-compare]
    for (i = 0; i < dcount; i++) {
                ~ ^ ~~~~~~
3 warnings generated.
warning: no files found matching 'MANIFEST'
warning: no files found matching 'use-distutils'
warning: no files found matching '_in_process.py'
warning: no files found matching '_in_process.cfg'
warning: no files found matching 'DisplayCAL/quirk.json'
warning: no previously-included files found matching 'misc/Argyll'
warning: no previously-included files found matching 'misc/*.rules'
warning: no previously-included files found matching 'misc/*.usermap'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.backup' found anywhere in distribution
warning: no previously-included files matching '*.bak' found anywhere in distribution
Successfully built DisplayCAL-3.9.12.tar.gz and DisplayCAL-3.9.12-cp39-cp39-macosx_10_9_universal2.whl
MacBook-Pro-de-Bastien:displaycal-py3 Bastien$ make install
source ./.venv/bin/activate; \
	pip install ./dist/DisplayCAL-3.9.12-*.whl;
Processing ./dist/DisplayCAL-3.9.12-cp39-cp39-macosx_10_9_universal2.whl
Requirement already satisfied: distro in ./.venv/lib/python3.9/site-packages (from DisplayCAL==3.9.12) (1.9.0)
Requirement already satisfied: build in ./.venv/lib/python3.9/site-packages (from DisplayCAL==3.9.12) (1.1.1)
Requirement already satisfied: Pillow in ./.venv/lib/python3.9/site-packages (from DisplayCAL==3.9.12) (10.2.0)
Requirement already satisfied: Send2Trash in ./.venv/lib/python3.9/site-packages (from DisplayCAL==3.9.12) (1.8.2)
Requirement already satisfied: zeroconf in ./.venv/lib/python3.9/site-packages (from DisplayCAL==3.9.12) (0.131.0)
Requirement already satisfied: numpy in ./.venv/lib/python3.9/site-packages (from DisplayCAL==3.9.12) (1.26.4)
Requirement already satisfied: wxPython in ./.venv/lib/python3.9/site-packages (from DisplayCAL==3.9.12) (4.2.1)
Requirement already satisfied: certifi in ./.venv/lib/python3.9/site-packages (from DisplayCAL==3.9.12) (2024.2.2)
Requirement already satisfied: PyChromecast in ./.venv/lib/python3.9/site-packages (from DisplayCAL==3.9.12) (13.1.0)
Requirement already satisfied: packaging>=19.0 in ./.venv/lib/python3.9/site-packages (from build->DisplayCAL==3.9.12) (24.0)
Requirement already satisfied: importlib-metadata>=4.6 in ./.venv/lib/python3.9/site-packages (from build->DisplayCAL==3.9.12) (7.0.2)
Requirement already satisfied: pyproject_hooks in ./.venv/lib/python3.9/site-packages (from build->DisplayCAL==3.9.12) (1.0.0)
Requirement already satisfied: tomli>=1.1.0 in ./.venv/lib/python3.9/site-packages (from build->DisplayCAL==3.9.12) (2.0.1)
Requirement already satisfied: zipp>=0.5 in ./.venv/lib/python3.9/site-packages (from importlib-metadata>=4.6->build->DisplayCAL==3.9.12) (3.17.0)
Requirement already satisfied: casttube>=0.2.0 in ./.venv/lib/python3.9/site-packages (from PyChromecast->DisplayCAL==3.9.12) (0.2.1)
Requirement already satisfied: protobuf>=3.19.1 in ./.venv/lib/python3.9/site-packages (from PyChromecast->DisplayCAL==3.9.12) (4.25.3)
Requirement already satisfied: requests in ./.venv/lib/python3.9/site-packages (from casttube>=0.2.0->PyChromecast->DisplayCAL==3.9.12) (2.31.0)
Requirement already satisfied: async-timeout>=3.0.0 in ./.venv/lib/python3.9/site-packages (from zeroconf->DisplayCAL==3.9.12) (4.0.3)
Requirement already satisfied: ifaddr>=0.1.7 in ./.venv/lib/python3.9/site-packages (from zeroconf->DisplayCAL==3.9.12) (0.2.0)
Requirement already satisfied: charset-normalizer<4,>=2 in ./.venv/lib/python3.9/site-packages (from requests->casttube>=0.2.0->PyChromecast->DisplayCAL==3.9.12) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.9/site-packages (from requests->casttube>=0.2.0->PyChromecast->DisplayCAL==3.9.12) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./.venv/lib/python3.9/site-packages (from requests->casttube>=0.2.0->PyChromecast->DisplayCAL==3.9.12) (2.2.1)
Requirement already satisfied: six in ./.venv/lib/python3.9/site-packages (from wxPython->DisplayCAL==3.9.12) (1.16.0)
DisplayCAL is already installed with the same version as the provided wheel. Use --force-reinstall to force an installation of the wheel.
WARNING: You are using pip version 21.2.4; however, version 24.0 is available.
You should consider upgrading via the '/Users/Bastien/Downloads/displaycal-py3/.venv/bin/python3 -m pip install --upgrade pip' command.
MacBook-Pro-de-Bastien:displaycal-py3 Bastien$ source .venv/bin/activate
(.venv) MacBook-Pro-de-Bastien:displaycal-py3 Bastien$ ./DisplayCAL.pyw
Acquired lock file: <DisplayCAL.main.AppLock object at 0x1093fcac0>
DisplayCAL.pyw 3.9.12 2024-03-11T09:00:17Z
Mac OS X 14.4 x86_64
Python 3.9.6 (default, Feb  3 2024, 15:58:28) 
[Clang 15.0.0 (clang-1500.3.9.4)]
CA file /Users/Bastien/Downloads/displaycal-py3/.venv/lib/python3.9/site-packages/certifi/cacert.pem
Faulthandler 
wxPython 4.2.1 osx-cocoa (phoenix) wxWidgets 3.2.2.1
Encoding: utf-8
File system encoding: utf-8
Loading /Users/Bastien/Library/Preferences/DisplayCAL/DisplayCAL.ini
Loading /Users/Bastien/Library/Preferences/DisplayCAL/DisplayCAL-testchart-editor.ini
Existing client using port 15411
Connecting to 15411...
Connection to 127.0.0.1:15411 failed: [Errno 61] Connection refused
listening
writing to lock file: port: 53353
/Users/Bastien/Downloads/displaycal-py3/.venv/lib/python3.9/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
/Users/Bastien/Downloads/displaycal-py3/DisplayCAL/wxMeasureFrame.py:42: Warning: No module named 'DisplayCAL.lib64.RealDisplaySizeMM'
  warnings.warn(str(exception), Warning)
Starting up...
2024-03-11 10:00:50.176 Python[2368:72611] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
Audio module: pyglet 2.0.14
Enumerating display devices and communication ports...
/Library/Application Support/Argyll_V3.1.0/bin
[Errno 86] Bad CPU type in executable: '/Library/Application Support/Argyll_V3.1.0/bin/dispwin'
...ok.
Initializing GUI...

input_value_clipping_bmp should have been hidden
output_profile_ctrl should have been hidden
...ok.
Ready.
Setting up scripting host at 127.0.0.1:53353
Check for application update...
DisplayCAL is up-to-date.
ArgyllCMS is up-to-date.

@eoyilmaz
Copy link
Owner

eoyilmaz commented Mar 11, 2024

Cool, I see that you're able to run the GUI, from now on you can run the following to run UI:

cd ~/Downloads/displaycal-py3/
source .venv/bin/activate
./DisplayCAL.pyw

Now, is the "Resolve do not update patches" issue resolved?

@eoyilmaz
Copy link
Owner

I noticed Bad CPU type in executable: '/Library/Application Support/Argyll_V3.1.0/bin/dispwin'

Did you download ArgyllCMS by yourself? Which version you have downloaded? Do you have Rosetta installed?

@Bastizor
Copy link

I downloaded it myself last year I think.
But I can't remember which version. How can I check this ?

I am not using a Silicon Mac but an Intel one, is Rosetta relevant here ?

Thank you !

@Bastizor
Copy link

Now, is the "Resolve do not update patches" issue resolved?

I cannot choose any Display as the list is empty in DisplayCal.
I have no issue choosing a display on the Windows version (Windows 11 VM via VMware Fusion).

Capture d’écran 2024-03-11 à 10 19 38

@eoyilmaz
Copy link
Owner

There should be an error message on the terminal related to that, can you copy & paste it please.

@Bastizor
Copy link

Bastizor commented Mar 11, 2024

Acquired lock file: <DisplayCAL.main.AppLock object at 0x105a424c0>
DisplayCAL.pyw 3.9.12 2024-03-11T09:00:17Z
Mac OS X 14.4 x86_64
Python 3.9.6 (default, Feb  3 2024, 15:58:28) 
[Clang 15.0.0 (clang-1500.3.9.4)]
CA file /Users/Bastien/Downloads/displaycal-py3/.venv/lib/python3.9/site-packages/certifi/cacert.pem
Faulthandler 
wxPython 4.2.1 osx-cocoa (phoenix) wxWidgets 3.2.2.1
Encoding: utf-8
File system encoding: utf-8
Loading /Users/Bastien/Library/Preferences/DisplayCAL/DisplayCAL.ini
Loading /Users/Bastien/Library/Preferences/DisplayCAL/DisplayCAL-testchart-editor.ini
Existing client using port 15411
Connecting to 15411...
Connection to 127.0.0.1:15411 failed: [Errno 61] Connection refused
listening
writing to lock file: port: 63371
/Users/Bastien/Downloads/displaycal-py3/.venv/lib/python3.9/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
/Users/Bastien/Downloads/displaycal-py3/DisplayCAL/wxMeasureFrame.py:42: Warning: No module named 'DisplayCAL.lib64.RealDisplaySizeMM'
  warnings.warn(str(exception), Warning)
Starting up...
2024-03-11 12:16:23.250 Python[4256:221669] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/com.apple.python3.savedState
Audio module: pyglet 2.0.14
Enumerating display devices and communication ports...
/Library/Application Support/Argyll_V3.1.0/bin
[Errno 86] Bad CPU type in executable: '/Library/Application Support/Argyll_V3.1.0/bin/dispwin'
...ok.
Initializing GUI...

input_value_clipping_bmp should have been hidden
output_profile_ctrl should have been hidden
...ok.
Ready.
Setting up scripting host at 127.0.0.1:63371
Check for application update...
DisplayCAL is up-to-date.
ArgyllCMS is up-to-date.
2024-03-11 12:16:42.418 Python[4256:221669] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.

@eoyilmaz
Copy link
Owner

eoyilmaz commented Mar 11, 2024

Yeah it comes down to that line again: [Errno 86] Bad CPU type in executable: '/Library/Application Support/Argyll_V3.1.0/bin/dispwin'

I would say download ArgyllCMS from here: https://www.argyllcms.com/Argyll_V3.1.0_osx10.6_x86_64_bin.tgz

extract it to somewhere and through DisplayCAL -> File Menu -> Locate ArgyllCMS executables... show the bin folder inside the ArgylCMS_v3.1.0.

@eoyilmaz
Copy link
Owner

I have no issue choosing a display on the Windows version (Windows 11 VM via VMware Fusion).

I'm guessing that you have the Windows version of ArgyllCMS...

@eoyilmaz
Copy link
Owner

/Users/Bastien/Downloads/displaycal-py3/DisplayCAL/wxMeasureFrame.py:42: Warning: No module named 'DisplayCAL.lib64.RealDisplaySizeMM'

This is also concerning, I need to double check the output of make build with you:

So can you run the following again:

cd ~/Downloads/displaycal-py3
make build

and paste the output here again.

@Bastizor
Copy link

Bastizor commented Mar 11, 2024

Still downloading the ArgyllCMS (slow speed from the server).

Here is the output for make build :

python3 -m venv .venv; \
	source ./.venv/bin/activate; \
	pip install -r requirements.txt; \
	pip install -r requirements-dev.txt;
Ignoring dbus-python: markers 'sys_platform == "linux"' don't match your environment
Requirement already satisfied: build in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 1)) (1.1.1)
Requirement already satisfied: certifi in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (2024.2.2)
Requirement already satisfied: distro in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 4)) (1.9.0)
Requirement already satisfied: numpy in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 5)) (1.26.4)
Requirement already satisfied: Pillow in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 6)) (10.2.0)
Requirement already satisfied: PyChromecast in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 7)) (13.1.0)
Requirement already satisfied: Send2Trash in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 8)) (1.8.2)
Requirement already satisfied: wxPython>=4.1.1 in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 9)) (4.2.1)
Requirement already satisfied: zeroconf in ./.venv/lib/python3.9/site-packages (from -r requirements.txt (line 10)) (0.131.0)
Requirement already satisfied: importlib-metadata>=4.6 in ./.venv/lib/python3.9/site-packages (from build->-r requirements.txt (line 1)) (7.0.2)
Requirement already satisfied: packaging>=19.0 in ./.venv/lib/python3.9/site-packages (from build->-r requirements.txt (line 1)) (24.0)
Requirement already satisfied: pyproject_hooks in ./.venv/lib/python3.9/site-packages (from build->-r requirements.txt (line 1)) (1.0.0)
Requirement already satisfied: tomli>=1.1.0 in ./.venv/lib/python3.9/site-packages (from build->-r requirements.txt (line 1)) (2.0.1)
Requirement already satisfied: casttube>=0.2.0 in ./.venv/lib/python3.9/site-packages (from PyChromecast->-r requirements.txt (line 7)) (0.2.1)
Requirement already satisfied: protobuf>=3.19.1 in ./.venv/lib/python3.9/site-packages (from PyChromecast->-r requirements.txt (line 7)) (4.25.3)
Requirement already satisfied: six in ./.venv/lib/python3.9/site-packages (from wxPython>=4.1.1->-r requirements.txt (line 9)) (1.16.0)
Requirement already satisfied: async-timeout>=3.0.0 in ./.venv/lib/python3.9/site-packages (from zeroconf->-r requirements.txt (line 10)) (4.0.3)
Requirement already satisfied: ifaddr>=0.1.7 in ./.venv/lib/python3.9/site-packages (from zeroconf->-r requirements.txt (line 10)) (0.2.0)
Requirement already satisfied: requests in ./.venv/lib/python3.9/site-packages (from casttube>=0.2.0->PyChromecast->-r requirements.txt (line 7)) (2.31.0)
Requirement already satisfied: zipp>=0.5 in ./.venv/lib/python3.9/site-packages (from importlib-metadata>=4.6->build->-r requirements.txt (line 1)) (3.17.0)
Requirement already satisfied: charset-normalizer<4,>=2 in ./.venv/lib/python3.9/site-packages (from requests->casttube>=0.2.0->PyChromecast->-r requirements.txt (line 7)) (3.3.2)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./.venv/lib/python3.9/site-packages (from requests->casttube>=0.2.0->PyChromecast->-r requirements.txt (line 7)) (2.2.1)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.9/site-packages (from requests->casttube>=0.2.0->PyChromecast->-r requirements.txt (line 7)) (3.6)
WARNING: You are using pip version 21.2.4; however, version 24.0 is available.
You should consider upgrading via the '/Users/Bastien/Downloads/displaycal-py3/.venv/bin/python3 -m pip install --upgrade pip' command.
Requirement already satisfied: black in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 1)) (24.2.0)
Requirement already satisfied: coverage in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 2)) (7.4.3)
Requirement already satisfied: darglint in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 3)) (1.8.1)
Requirement already satisfied: flake8 in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 4)) (7.0.0)
Requirement already satisfied: flake8-bugbear in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 5)) (24.2.6)
Requirement already satisfied: flake8-docstrings in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 6)) (1.7.0)
Requirement already satisfied: flake8-import-order in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 7)) (0.18.2)
Requirement already satisfied: flake8-mutable in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 8)) (1.2.0)
Requirement already satisfied: flake8-pep3101 in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 9)) (2.1.0)
Requirement already satisfied: flake8-spellcheck in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 10)) (0.28.0)
Requirement already satisfied: matplotlib in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 11)) (3.8.3)
Requirement already satisfied: ppdir in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 12)) (0.1.0)
Requirement already satisfied: py2app in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 13)) (0.28.7)
Requirement already satisfied: pyglet in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 14)) (2.0.14)
Requirement already satisfied: pytest in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 15)) (8.1.1)
Requirement already satisfied: pytest-cov in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 16)) (4.1.0)
Requirement already satisfied: pytest-github-actions-annotate-failures in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 17)) (0.2.0)
Requirement already satisfied: pytest-xdist in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 18)) (3.5.0)
Requirement already satisfied: snowballstemmer in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 19)) (2.2.0)
Requirement already satisfied: twine in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 20)) (5.0.0)
Requirement already satisfied: yappi in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 21)) (1.6.0)
Requirement already satisfied: wheel in ./.venv/lib/python3.9/site-packages (from -r requirements-dev.txt (line 23)) (0.42.0)
Requirement already satisfied: mypy-extensions>=0.4.3 in ./.venv/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 1)) (1.0.0)
Requirement already satisfied: click>=8.0.0 in ./.venv/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 1)) (8.1.7)
Requirement already satisfied: pathspec>=0.9.0 in ./.venv/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 1)) (0.12.1)
Requirement already satisfied: tomli>=1.1.0 in ./.venv/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 1)) (2.0.1)
Requirement already satisfied: packaging>=22.0 in ./.venv/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 1)) (24.0)
Requirement already satisfied: platformdirs>=2 in ./.venv/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 1)) (4.2.0)
Requirement already satisfied: typing-extensions>=4.0.1 in ./.venv/lib/python3.9/site-packages (from black->-r requirements-dev.txt (line 1)) (4.10.0)
Requirement already satisfied: mccabe<0.8.0,>=0.7.0 in ./.venv/lib/python3.9/site-packages (from flake8->-r requirements-dev.txt (line 4)) (0.7.0)
Requirement already satisfied: pyflakes<3.3.0,>=3.2.0 in ./.venv/lib/python3.9/site-packages (from flake8->-r requirements-dev.txt (line 4)) (3.2.0)
Requirement already satisfied: pycodestyle<2.12.0,>=2.11.0 in ./.venv/lib/python3.9/site-packages (from flake8->-r requirements-dev.txt (line 4)) (2.11.1)
Requirement already satisfied: attrs>=19.2.0 in ./.venv/lib/python3.9/site-packages (from flake8-bugbear->-r requirements-dev.txt (line 5)) (23.2.0)
Requirement already satisfied: pydocstyle>=2.1 in ./.venv/lib/python3.9/site-packages (from flake8-docstrings->-r requirements-dev.txt (line 6)) (6.3.0)
Requirement already satisfied: setuptools in ./.venv/lib/python3.9/site-packages (from flake8-import-order->-r requirements-dev.txt (line 7)) (58.0.4)
Requirement already satisfied: pyparsing>=2.3.1 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (3.1.2)
Requirement already satisfied: cycler>=0.10 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (0.12.1)
Requirement already satisfied: numpy<2,>=1.21 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (1.26.4)
Requirement already satisfied: contourpy>=1.0.1 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (1.2.0)
Requirement already satisfied: kiwisolver>=1.3.1 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (1.4.5)
Requirement already satisfied: python-dateutil>=2.7 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (2.9.0.post0)
Requirement already satisfied: pillow>=8 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (10.2.0)
Requirement already satisfied: importlib-resources>=3.2.0 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (6.1.3)
Requirement already satisfied: fonttools>=4.22.0 in ./.venv/lib/python3.9/site-packages (from matplotlib->-r requirements-dev.txt (line 11)) (4.49.0)
Requirement already satisfied: colorama>=0.4.3 in ./.venv/lib/python3.9/site-packages (from ppdir->-r requirements-dev.txt (line 12)) (0.4.6)
Requirement already satisfied: modulegraph>=0.19.6 in ./.venv/lib/python3.9/site-packages (from py2app->-r requirements-dev.txt (line 13)) (0.19.6)
Requirement already satisfied: altgraph>=0.17.3 in ./.venv/lib/python3.9/site-packages (from py2app->-r requirements-dev.txt (line 13)) (0.17.4)
Requirement already satisfied: macholib>=1.16.2 in ./.venv/lib/python3.9/site-packages (from py2app->-r requirements-dev.txt (line 13)) (1.16.3)
Requirement already satisfied: pluggy<2.0,>=1.4 in ./.venv/lib/python3.9/site-packages (from pytest->-r requirements-dev.txt (line 15)) (1.4.0)
Requirement already satisfied: iniconfig in ./.venv/lib/python3.9/site-packages (from pytest->-r requirements-dev.txt (line 15)) (2.0.0)
Requirement already satisfied: exceptiongroup>=1.0.0rc8 in ./.venv/lib/python3.9/site-packages (from pytest->-r requirements-dev.txt (line 15)) (1.2.0)
Requirement already satisfied: execnet>=1.1 in ./.venv/lib/python3.9/site-packages (from pytest-xdist->-r requirements-dev.txt (line 18)) (2.0.2)
Requirement already satisfied: keyring>=15.1 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (24.3.1)
Requirement already satisfied: rich>=12.0.0 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (13.7.1)
Requirement already satisfied: requests>=2.20 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (2.31.0)
Requirement already satisfied: requests-toolbelt!=0.9.0,>=0.8.0 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (1.0.0)
Requirement already satisfied: readme-renderer>=35.0 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (43.0)
Requirement already satisfied: rfc3986>=1.4.0 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (2.0.0)
Requirement already satisfied: importlib-metadata>=3.6 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (7.0.2)
Requirement already satisfied: urllib3>=1.26.0 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (2.2.1)
Requirement already satisfied: pkginfo>=1.8.1 in ./.venv/lib/python3.9/site-packages (from twine->-r requirements-dev.txt (line 20)) (1.10.0)
Requirement already satisfied: zipp>=0.5 in ./.venv/lib/python3.9/site-packages (from importlib-metadata>=3.6->twine->-r requirements-dev.txt (line 20)) (3.17.0)
Requirement already satisfied: jaraco.classes in ./.venv/lib/python3.9/site-packages (from keyring>=15.1->twine->-r requirements-dev.txt (line 20)) (3.3.1)
Requirement already satisfied: six>=1.5 in ./.venv/lib/python3.9/site-packages (from python-dateutil>=2.7->matplotlib->-r requirements-dev.txt (line 11)) (1.16.0)
Requirement already satisfied: docutils>=0.13.1 in ./.venv/lib/python3.9/site-packages (from readme-renderer>=35.0->twine->-r requirements-dev.txt (line 20)) (0.20.1)
Requirement already satisfied: Pygments>=2.5.1 in ./.venv/lib/python3.9/site-packages (from readme-renderer>=35.0->twine->-r requirements-dev.txt (line 20)) (2.17.2)
Requirement already satisfied: nh3>=0.2.14 in ./.venv/lib/python3.9/site-packages (from readme-renderer>=35.0->twine->-r requirements-dev.txt (line 20)) (0.2.15)
Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.9/site-packages (from requests>=2.20->twine->-r requirements-dev.txt (line 20)) (2024.2.2)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.9/site-packages (from requests>=2.20->twine->-r requirements-dev.txt (line 20)) (3.6)
Requirement already satisfied: charset-normalizer<4,>=2 in ./.venv/lib/python3.9/site-packages (from requests>=2.20->twine->-r requirements-dev.txt (line 20)) (3.3.2)
Requirement already satisfied: markdown-it-py>=2.2.0 in ./.venv/lib/python3.9/site-packages (from rich>=12.0.0->twine->-r requirements-dev.txt (line 20)) (3.0.0)
Requirement already satisfied: mdurl~=0.1 in ./.venv/lib/python3.9/site-packages (from markdown-it-py>=2.2.0->rich>=12.0.0->twine->-r requirements-dev.txt (line 20)) (0.1.2)
Requirement already satisfied: more-itertools in ./.venv/lib/python3.9/site-packages (from jaraco.classes->keyring>=15.1->twine->-r requirements-dev.txt (line 20)) (10.2.0)
WARNING: You are using pip version 21.2.4; however, version 24.0 is available.
You should consider upgrading via the '/Users/Bastien/Downloads/displaycal-py3/.venv/bin/python3 -m pip install --upgrade pip' command.
source ./.venv/bin/activate; \
	python3 -m build;
* Creating venv isolated environment...
* Installing packages in isolated environment... (pywin32; platform_system=="Windows", setuptools)
* Getting build dependencies for sdist...
Trying to get git version information...
Trying to get git information...
Generating __version__.py
Version 3.9.12
['egg_info']
*** /Users/Bastien/Downloads/displaycal-py3/.venv/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py egg_info
using distutils
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-3dlut-maker.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-apply-profiles.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-curve-viewer.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-profile-info.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-scripting-client.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-synthprofile.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-testchart-editor.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-vrml-to-x3d-converter.desktop
warning: no files found matching 'MANIFEST'
warning: no files found matching 'use-distutils'
warning: no files found matching '_in_process.py'
warning: no files found matching '_in_process.cfg'
warning: no files found matching 'DisplayCAL/quirk.json'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.backup' found anywhere in distribution
warning: no previously-included files matching '*.bak' found anywhere in distribution
* Building sdist...
Trying to get git version information...
Trying to get git information...
Generating __version__.py
Version 3.9.12
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-3dlut-maker.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-apply-profiles.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-curve-viewer.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-profile-info.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-scripting-client.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-synthprofile.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-testchart-editor.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-vrml-to-x3d-converter.desktop
['sdist', '--formats', 'gztar', '--dist-dir', '/Users/Bastien/Downloads/displaycal-py3/dist/.tmp-atod3b4r']
*** /Users/Bastien/Downloads/displaycal-py3/.venv/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py sdist --formats gztar --dist-dir /Users/Bastien/Downloads/displaycal-py3/dist/.tmp-atod3b4r
using distutils
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-3dlut-maker.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-apply-profiles.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-curve-viewer.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-profile-info.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-scripting-client.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-synthprofile.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-testchart-editor.desktop
desktopfile: /Users/Bastien/Downloads/displaycal-py3/DisplayCAL/../misc/displaycal-vrml-to-x3d-converter.desktop
warning: no files found matching 'MANIFEST'
warning: no files found matching 'use-distutils'
warning: no files found matching '_in_process.py'
warning: no files found matching '_in_process.cfg'
warning: no files found matching 'DisplayCAL/quirk.json'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.backup' found anywhere in distribution
warning: no previously-included files matching '*.bak' found anywhere in distribution
* Building wheel from sdist
* Creating venv isolated environment...
* Installing packages in isolated environment... (pywin32; platform_system=="Windows", setuptools)
* Getting build dependencies for wheel...
['egg_info']
*** /Users/Bastien/Downloads/displaycal-py3/.venv/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py egg_info
using distutils
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-3dlut-maker.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-apply-profiles.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-curve-viewer.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-profile-info.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-scripting-client.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-synthprofile.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-testchart-editor.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-vrml-to-x3d-converter.desktop
warning: no files found matching 'MANIFEST'
warning: no files found matching 'use-distutils'
warning: no files found matching '_in_process.py'
warning: no files found matching '_in_process.cfg'
warning: no files found matching 'DisplayCAL/quirk.json'
warning: no previously-included files found matching 'misc/Argyll'
warning: no previously-included files found matching 'misc/*.rules'
warning: no previously-included files found matching 'misc/*.usermap'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.backup' found anywhere in distribution
warning: no previously-included files matching '*.bak' found anywhere in distribution
* Installing packages in isolated environment... (wheel)
* Building wheel...
['bdist_wheel', '--dist-dir', '/Users/Bastien/Downloads/displaycal-py3/dist/.tmp-zy6aka36']
*** /Users/Bastien/Downloads/displaycal-py3/.venv/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py bdist_wheel --dist-dir /Users/Bastien/Downloads/displaycal-py3/dist/.tmp-zy6aka36
using distutils
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-3dlut-maker.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-apply-profiles.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-curve-viewer.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-profile-info.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-scripting-client.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-synthprofile.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-testchart-editor.desktop
desktopfile: /private/var/folders/d5/q7mlnxyd7dqbyhmt9r1pz9kh0000gp/T/build-via-sdist-2azz8g0f/DisplayCAL-3.9.12/DisplayCAL/../misc/displaycal-vrml-to-x3d-converter.desktop
DisplayCAL/RealDisplaySizeMM.c:398:22: warning: 'CGDisplayIOServicePort' is deprecated: first deprecated in macOS 10.9 - No longer supported [-Wdeprecated-declarations]
        if ((dport = CGDisplayIOServicePort(dids[i])) == MACH_PORT_NULL) {
                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h:372:24: note: 'CGDisplayIOServicePort' has been explicitly marked deprecated here
CG_EXTERN io_service_t CGDisplayIOServicePort(CGDirectDisplayID display)
                       ^
DisplayCAL/RealDisplaySizeMM.c:372:19: warning: comparison of integers of different signs: 'int' and 'CGDisplayCount' (aka 'unsigned int') [-Wsign-compare]
    for (i = 0; i < dcount; i++) {
                ~ ^ ~~~~~~
DisplayCAL/RealDisplaySizeMM.c:383:19: warning: comparison of integers of different signs: 'int' and 'CGDisplayCount' (aka 'unsigned int') [-Wsign-compare]
    for (i = 0; i < dcount; i++) {
                ~ ^ ~~~~~~
3 warnings generated.
DisplayCAL/RealDisplaySizeMM.c:398:22: warning: 'CGDisplayIOServicePort' is deprecated: first deprecated in macOS 10.9 - No longer supported [-Wdeprecated-declarations]
        if ((dport = CGDisplayIOServicePort(dids[i])) == MACH_PORT_NULL) {
                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h:372:24: note: 'CGDisplayIOServicePort' has been explicitly marked deprecated here
CG_EXTERN io_service_t CGDisplayIOServicePort(CGDirectDisplayID display)
                       ^
DisplayCAL/RealDisplaySizeMM.c:372:19: warning: comparison of integers of different signs: 'int' and 'CGDisplayCount' (aka 'unsigned int') [-Wsign-compare]
    for (i = 0; i < dcount; i++) {
                ~ ^ ~~~~~~
DisplayCAL/RealDisplaySizeMM.c:383:19: warning: comparison of integers of different signs: 'int' and 'CGDisplayCount' (aka 'unsigned int') [-Wsign-compare]
    for (i = 0; i < dcount; i++) {
                ~ ^ ~~~~~~
3 warnings generated.
warning: no files found matching 'MANIFEST'
warning: no files found matching 'use-distutils'
warning: no files found matching '_in_process.py'
warning: no files found matching '_in_process.cfg'
warning: no files found matching 'DisplayCAL/quirk.json'
warning: no previously-included files found matching 'misc/Argyll'
warning: no previously-included files found matching 'misc/*.rules'
warning: no previously-included files found matching 'misc/*.usermap'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.backup' found anywhere in distribution
warning: no previously-included files matching '*.bak' found anywhere in distribution
Successfully built DisplayCAL-3.9.12.tar.gz and DisplayCAL-3.9.12-cp39-cp39-macosx_10_9_universal2.whl

@eoyilmaz
Copy link
Owner

Can you copy&paste the output of the following:

ls ~/Downloads/displaycal-py3/DisplayCAL/lib64

@eoyilmaz
Copy link
Owner

aah okay, I get the same error message, I think that's okay...

@Bastizor
Copy link

ls ~/Downloads/displaycal-py3/DisplayCAL/lib64

Looks like this one does nothing on my terminal.

@MikeGurfield
Copy link

MikeGurfield commented Mar 17, 2024 via email

@ethanbrookins
Copy link

Finished another successful 2069 patch test just now and it did not have any partial data warnings.
I also went back and searched the one that I ran last night. It did have one warning and handled it just fine.

@eoyilmaz
Copy link
Owner

eoyilmaz commented Mar 17, 2024

4289 patches succesfully finished in 3 hours with 2 occasions of partial data which DisplayCAL succesfully recovered. I'm creating the PR while waiting you guys to report back.

@eoyilmaz eoyilmaz linked a pull request Mar 17, 2024 that will close this issue
@Bastizor
Copy link

I found some time to do 2 calibrations. I found no issue during the process.
It works well on my side 👍
Thanks a lot for the work and support @eoyilmaz !

@eoyilmaz
Copy link
Owner

This is now merged and will be released with 3.9.12

@MikeGurfield
Copy link

MikeGurfield commented Mar 18, 2024 via email

@eoyilmaz
Copy link
Owner

As this is merged to develop branch, you can run the following:

git fetch --all
git checkout develop
git pull
make venv
source .venv/bin/activate
./DisplayCAL.pyw

@MikeGurfield
Copy link

MikeGurfield commented Mar 18, 2024 via email

@MikeGurfield
Copy link

MikeGurfield commented Mar 18, 2024 via email

@ethanbrookins
Copy link

Hey @MikeGurfield, I get these errors each time also, but they are part of a different issue. Some data values (just extra notes basically) in the reference files DisplayCAL creates are either formatted or interpreted incorrectly. It doesn't have any effect on the Resolve color patches working properly

Did you have any of the Data is not fully received, storing partial data and Combining previous data of warnings in your terminal output? You can do a cmd+F search for them.

@MikeGurfield
Copy link

MikeGurfield commented Mar 18, 2024 via email

@MikeGurfield
Copy link

MikeGurfield commented Mar 18, 2024 via email

@ethanbrookins
Copy link

Nice, that means it's working correctly and can recover from any partial data issues.

@eoyilmaz
Copy link
Owner

eoyilmaz commented Mar 18, 2024

@MikeGurfield yeah those error messages are my next issue to solve, unrelated to this one, I'm on it 👍

EDIT: It seems that we have a very old issue ticket already for this #61

@eoyilmaz
Copy link
Owner

Aaand #61 is also busted... You shouldn't get he TypeError messages anymore 👍

@MikeGurfield
Copy link

MikeGurfield commented Mar 19, 2024 via email

@ethanbrookins
Copy link

Hey @MikeGurfield, I'm not sure how this could be implemented in DisplayCAL, because it's actually the ArgyllCMS executables that you're getting the security warnings for.

However, there's a quick way to clear the macOS Gatekeeper warnings all at once. Assuming your ArgyllCMS is installed in the default DisplayCAL directory, you just need to run this once:
xattr -rc ~/Library/Application\ Support/DisplayCAL/dl/Argyll_V3.1.0/bin/
This clears all the attributes of each file in the folder, which removes the "unidentified developer" warning.
You'd only need to run it again if a new version of Argyll is installed and then change the version number folder in the command to match.

Maybe this is something that Graeme, who develops Argyll, should add to their macOS installation notes.

@MikeGurfield
Copy link

MikeGurfield commented Mar 19, 2024 via email

@eoyilmaz
Copy link
Owner

3.9.12 is now released.

@Bastizor
Copy link

3.9.12 is now released.

Do we need to enter anything in the terminal to get this new release from the main branch ?

Thank you !

@MikeGurfield
Copy link

MikeGurfield commented Mar 20, 2024 via email

@Bastizor
Copy link

Bastizor commented Mar 20, 2024

You could run the release the same way you have been, but instead of git

checkout develop just use git checkout main

Perfect, thank you !

@cbvideo
Copy link

cbvideo commented Mar 28, 2024

Hi everyone,

I am on an Intel Imac running Sonoma 14.3.1 , Davinci Resolve 18.6.6 build 7 with a Blackmagic Decklin mini 4K and I followed this and I am getting this error.

Error - Aprox Fwd Matrix Unexpectedly Singular

Any ideas or advice?

Thanks,

@eoyilmaz
Copy link
Owner

It is a message Argyll is throwing, meaning that your measurement is not good, so it can't generate the A2B or B2A matrices. What is your Resolver project settings like? Do you see the patches properly on your reference monitor?

@cbvideo
Copy link

cbvideo commented Mar 28, 2024

Hi, I see the gray patch and I adjust my brightness and rgb. Then when I click on (continue to calibration) I get this:

Error - Aprox Fwd Matrix Unexpectedly Singular

Code below:

  1. Continue on to calibration
  2. Exit
    DisplayCAL: Waiting for send buffer
    DisplayCAL: Send buffer received: 7
    DisplayCAL: Sending buffer: '7'
    Commencing display calibration
    DisplayCAL: Patch update count: 1
    Patch 1 of 9env: python: No such file or directory
    dispcal: Warning - System command '/usr/bin/env python ./.wait 0 0 0 0.000000 0.000000 0.000000' failed with 32512
    Warning - did we loose sync with the pattern generator?
    DisplayCAL: Patch update count: 2
    Patch 2 of 9env: python: No such file or directory
    dispcal: Warning - System command '/usr/bin/env python ./.wait 255 0 0 1.000000 0.000000 0.000000' failed with 32512
    Warning - did we loose sync with the pattern generator?
    DisplayCAL: Patch update count: 3
    Patch 3 of 9env: python: No such file or directory
    dispcal: Warning - System command '/usr/bin/env python ./.wait 255 255 255 1.000000 1.000000 1.000000' failed with 32512
    Warning - did we loose sync with the pattern generator?
    DisplayCAL: Patch update count: 4
    Patch 4 of 9env: python: No such file or directory
    dispcal: Warning - System command '/usr/bin/env python ./.wait 0 0 0 0.000000 0.000000 0.000000' failed with 32512
    Warning - did we loose sync with the pattern generator?
    DisplayCAL: Patch update count: 5
    Patch 5 of 9env: python: No such file or directory
    dispcal: Warning - System command '/usr/bin/env python ./.wait 0 255 0 0.000000 1.000000 0.000000' failed with 32512
    Warning - did we loose sync with the pattern generator?
    DisplayCAL: Patch update count: 6
    Patch 6 of 9env: python: No such file or directory
    dispcal: Warning - System command '/usr/bin/env python ./.wait 0 0 0 0.000000 0.000000 0.000000' failed with 32512
    Warning - did we loose sync with the pattern generator?
    DisplayCAL: Patch update count: 7
    Patch 7 of 9env: python: No such file or directory
    dispcal: Warning - System command '/usr/bin/env python ./.wait 0 0 255 0.000000 0.000000 1.000000' failed with 32512
    Warning - did we loose sync with the pattern generator?
    DisplayCAL: Patch update count: 8
    Patch 8 of 9env: python: No such file or directory
    dispcal: Warning - System command '/usr/bin/env python ./.wait 255 255 255 1.000000 1.000000 1.000000' failed with 32512
    Warning - did we loose sync with the pattern generator?
    DisplayCAL: Patch update count: 9
    Patch 9 of 9env: python: No such file or directory
    dispcal: Warning - System command '/usr/bin/env python ./.wait 0 0 0 0.000000 0.000000 0.000000' failed with 32512
    Black = XYZ 76.3219 80.4409 87.8878
    Red = XYZ 76.297 80.463 87.888
    Green = XYZ 76.297 80.463 87.888
    Blue = XYZ 76.297 80.463 87.888
    White = XYZ 76.297 80.463 87.888
    The instrument can be removed from the screen.
    Warning - did we loose sync with the pattern generator?
    dispcal: Error - Aprox. fwd matrix unexpectedly singular
    DisplayCAL: caffeinate exited with code 0
    DisplayCAL: Subprocess no longer alive (timeout)
    DisplayCAL: Subprocess no longer alive (timeout)
    dispcal exitcode: 1
    ...aborted.

@eoyilmaz
Copy link
Owner

Ah okay it seems that you don't have the python command, what you can do is to create a symlink to python3. If you installed python through homebrew run the following:

cd $(brew --prefix)/bin
ln -sf python3 python

And then try restarting DisplayCAL and run again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants