eoyilmaz/displaycal-py3

Trying to create colorimeter correction, Another error "value could not be a str: 1931_2"

Donequixote1 opened this issue · 1 comments

          Fixed in 7e81fa9

Originally posted by @eoyilmaz in #136 (comment)

Written 'i1 Pro 2 & Built-in Retina Display 2023-12-27 02-54-27.ti3'

DisplayCAL: caffeinate exited with code 0
DisplayCAL: Subprocess no longer alive (timeout)
DisplayCAL: Subprocess no longer alive (timeout)
dispread exitcode: 0
value could not be a str: 1931_2
2023-12-27 02:55:21.316 Python[1279:11638] IMKClient Stall detected, *please Report* your user scenario attaching a spindump (or sysdiagnose) that captures the problem - (imkxpc_supportsProperty:reply:) block performed very slowly (2.97 secs).
/Users/abc/tutorial_env/lib/python3.9/site-packages/DisplayCAL/wxwindows.py:738: wxPyDeprecationWarning: Call to deprecated item. Use SetTextSelection instead.
  self.SetMark(len(current_text), len(choice))
--------------------------------------------------------------------------------
Working directory:
  /
   var/
    folders/
     p_/
      v8537vt14t701s32q8n_m8wh0000gn/
       T/
        DisplayCAL-i0p1qfkf/

Command line:
  /Users/abc/Downloads/Argyll_V2.3.1/bin/ccxxmake
    -v
    -E
    'MacBook Pro 16" 2021 Retina XDR (i1Pro)26-12-23'
    -I
    'Built-in Retina Display'
    -t
    s
    -S
    -f
    reference.ti3
    calibration.ccss

Writing CCSS file 'calibration.ccss' succeeded
ccxxmake exitcode: 0
NoneType: None
┌──────────────────────────────────────────────────────────────────────────────┐
│ Traceback (most recent call last):                                           │
│   File "/Users/abc/tutorial_env/lib/python3.9/site-packages/wx/core.py",     │
│ line 3427, in <lambda>                                                       │
│     lambda event: event.callable(*event.args, **event.kw) )                  │
│   File                                                                       │
│ "/Users/abc/tutorial_env/lib/python3.9/site-packages/DisplayCAL/display_cal.py", │
│ line 13783, in create_colorimeter_correction_handler                         │
│     % reference_ti3[0].get("TARGET_INSTRUMENT").replace(r"\\", r"\\\\"),     │
│ TypeError: a bytes-like object is required, not 'str'                        │
└──────────────────────────────────────────────────────────────────────────────┘

Fixed with 63f9fd9