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

Loading in Calibration File #1720

Open
JoshuaWard201 opened this issue Aug 6, 2024 · 3 comments
Open

Loading in Calibration File #1720

JoshuaWard201 opened this issue Aug 6, 2024 · 3 comments

Comments

@JoshuaWard201
Copy link

I am running the hexrd gui on a Windows machine. I am attempting to load in a .yml calibration file for the Dexela dual panel detectors. When I use File -> Open -> Instrument -> File, and select the "CalFile.yml' the gui freezes, and I get the following error:

Exception in thread Thread-1 (_handle_workers):
Traceback (most recent call last):
File "C:\Users\wardjt.conda\envs\hexrd_gui\Lib\threading.py", line 1045, in _bootstrap_inner
self.run()
File "C:\Users\wardjt.conda\envs\hexrd_gui\Lib\threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\wardjt.conda\envs\hexrd_gui\Lib\multiprocessing\pool.py", line 522, in _handle_workers
cls._wait_for_updates(current_sentinels, change_notifier)
File "C:\Users\wardjt.conda\envs\hexrd_gui\Lib\multiprocessing\pool.py", line 502, in _wait_for_updates
wait(sentinels, timeout=timeout)
File "C:\Users\wardjt.conda\envs\hexrd_gui\Lib\multiprocessing\connection.py", line 896, in wait
ready_handles = _exhaustive_wait(waithandle_to_obj.keys(), timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\wardjt.conda\envs\hexrd_gui\Lib\multiprocessing\connection.py", line 828, in _exhaustive_wait
res = _winapi.WaitForMultipleObjects(L, False, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: need at most 63 handles, got a sequence of length 66

I then have to ctrl+c to get out of it

@JoshuaWard201
Copy link
Author

@psavery could you advise?

@psavery
Copy link
Collaborator

psavery commented Aug 16, 2024

Hey @JoshuaWard201, sorry for the delay. Can you send me this yaml file? If you can post it in this issue, that will be fine. If you cannot post it publicly, can you email it to me instead?

@JoshuaWard201
Copy link
Author

Hey @psavery, sending to your email.

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

No branches or pull requests

2 participants