Skip to content

duplication checker crash when uploading manufacture IV data to the pixel sensor tile component

I have received duplication test run checker error when posting test run by using ITk sensor GUI TestBatchUpload.py

Click to expand

           INFO     Found 1 that may be duplicates, checking below...                                                                                client.py:498
           WARNING  Cache entry deserialization failed, entry ignored                                                                             controller.py:54
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib64/python3.12/tkinter/__init__.py", line 1967, in _call_
    return self.func(*args)
           ^^^^^^^^^^^^^^^^
  File "/home/itkqc/work/PixelProduction/ProdDB/Production/production_database_scripts-20250318/pixels/sensors_production/GUI/TestBatchUpload.py", line 108, in <lambda>
    self.master, text="Upload test results", command=lambda: self.UploadTests()
                                                             ^^^^^^^^^^^^^^^^^^
  File "/home/itkqc/work/PixelProduction/ProdDB/Production/production_database_scripts-20250318/pixels/sensors_production/GUI/TestBatchUpload.py", line 780, in UploadTests
    client.post("uploadTestRunResults", json=test_data, allow_duplicate=False)
  File "/home/itkqc/.local/lib/python3.12/site-packages/itkdb/client.py", line 88, in post
    duplicates = self._get_duplicate_test_runs(json)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/itkqc/.local/lib/python3.12/site-packages/itkdb/client.py", line 527, in _get_duplicate_test_runs
    key: type(properties[key])(new_test_run["properties"][key])
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: NoneType takes no arguments
Edited by Lingxin Meng