usnistgov / quantum-sensors-tdm

0 stars 0 forks source link

"Load Setup" Button causes crash #9

Open joefowler opened 1 year ago

joefowler commented 1 year ago

Original report by Dark Tyr (Bitbucket: darktyr, GitHub: darktyr).


With the GUI fully loaded, clicking on the “Load Setup” button and selecting a valid file (even the one that was already loaded from the command line) it crashes with the below error:

Traceback (most recent call last):
  File "/home/pcuser/anaconda3/envs/cryoQA/lib/python3.10/site-packages/nistqsptdm-0.1.0-py3.10.egg/cringe/cringe.py", line 2346, in loadSettings
    f = open(self.load_filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: "('/home/pcuser/Documents/NGE_Set_Up_Files/CryoQA/SUMO1/SSA/OL_emulation/EmuBrittany_phase_2_25may22.pkl', 'All Files (*)')"

Minor bug, but we do use the button on the CryoQA system when changing the testing phase.