--
You received this message because you are subscribed to the Google Groups "the labscript suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to labscriptsuit...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/labscriptsuite/e8f8aef1-528b-4edb-8acc-c28556089a81n%40googlegroups.com.
Exception in worker - Tue Sep 21, 16:18:26 :
Traceback (most recent call last):
File "C:\Users\Jin\anaconda3\envs\py38\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 657, in _load_unlocked
File "<frozen importlib._bootstrap>", line 556, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 1166, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed while importing _ok: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Jin\anaconda3\envs\py38\lib\site-packages\blacs\tab_base_classes.py", line 923, in mainloop
results = func(*args,**kwargs)
File "C:\Users\Jin\anaconda3\envs\py38\lib\site-packages\labscript_devices\CiceroOpalKellyXEM3001.py", line 443, in init
from ok import ok
File "C:\Users\Jin\anaconda3\envs\py38\lib\site-packages\ok\ok.py", line 17, in <module>
_ok = swig_import_helper()
File "C:\Users\Jin\anaconda3\envs\py38\lib\site-packages\ok\ok.py", line 16, in swig_import_helper
return importlib.import_module('_ok')
File "C:\Users\Jin\anaconda3\envs\py38\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_ok'
Fatal exception in main process - Tue Sep 21, 16:18:26 :
Traceback (most recent call last):
File "C:\Users\Jin\anaconda3\envs\py38\lib\site-packages\blacs\tab_base_classes.py", line 837, in mainloop
next_yield = inmain(generator.send,results)
File "C:\Users\Jin\anaconda3\envs\py38\lib\site-packages\qtutils\invoke_in_main.py", line 88, in inmain
return get_inmain_result(_in_main_later(fn, False, *args, **kwargs))
File "C:\Users\Jin\anaconda3\envs\py38\lib\site-packages\qtutils\invoke_in_main.py", line 150, in get_inmain_result
raise value.with_traceback(traceback)
File "C:\Users\Jin\anaconda3\envs\py38\lib\site-packages\qtutils\invoke_in_main.py", line 46, in event
result = event.fn(*event.args, **event.kwargs)
File "C:\Users\Jin\anaconda3\envs\py38\lib\site-packages\blacs\tab_base_classes.py", line 536, in _initialise_worker
raise Exception('Device failed to initialise')
Exception: Device failed to initialise
This looks very similar to the error message already mentioned previously in this thread. It seems that the module ok cannot be found.
As previous also discussed, this could be due to an issue related to the python version. This was the reason why I installed then labscript in python 3.7 and later also 3.6 for testing but encountered other errors during installation..... (And @ Chris: Thanks for the info about the bug!)
To view this discussion on the web, visit https://groups.google.com/d/msgid/labscriptsuite/f9c23ff7-29f1-490c-9f4c-2f828198bf9cn%40googlegroups.com.