Hi all,
I'm attempting a fresh install of labscript_suite from git hub following along with the install instructions. I'm getting this error when starting Blacs which I cannot quite decode. What is it failing to establish connection to? I have the .key file in the labconfig folder, but it looks like something else needs it too? I have the ini file attached in case that helps. I tried setting allow_insecure = True, but this seems to not matter
Thanks!
-Eric
================
It looks like an error has occurred.
AuthentificationFailure: Failed to authenticate with server. Ensure both client and server have the same shared secret.
Traceback (most recent call last):
File "c:\labscript-suite\.venv\lib\site-packages\blacs\__main__.py", line 53, in <module>
import labscript_utils.h5_lock, h5py
File "c:\labscript-suite\.venv\lib\site-packages\labscript_utils\h5_lock.py", line 93, in <module>
connect_to_zlock_server()
File "c:\labscript-suite\.venv\lib\site-packages\labscript_utils\ls_zprocess.py", line 322, in connect_to_zlock_server
client.ping(timeout=0.05)
File "c:\labscript-suite\.venv\lib\site-packages\zprocess\zlock\__init__.py", line 105, in ping
self._new_socket(timeout)
File "c:\labscript-suite\.venv\lib\site-packages\zprocess\zlock\__init__.py", line 84, in _new_socket
self.local.sock.connect(
File "c:\labscript-suite\.venv\lib\site-packages\zprocess\security.py", line 261, in connect
raise AuthenticationFailure(msg)
zprocess.security.AuthenticationFailure: Failed to authenticate with server. Ensure both client and server have the same shared secret.
================
.ini file:
[DEFAULT]
experiment_name = PRIME
shared_drive = C:
experiment_shot_storage = %(shared_drive)s\Experiments\%(experiment_name)s
labscript_suite = C:\labscript_suite
labscriptlib = %(labscript_suite)s\userlib\labscriptlib\%(experiment_name)s
analysislib = %(labscript_suite)s\userlib\analysislib\%(experiment_name)s
pythonlib = %(labscript_suite)s\userlib\pythonlib
app_saved_configs = %(labscript_suite)s\userlib\app_saved_configs\%(experiment_name)s
[servers]
zlock = localhost
[ports]
blacs = 42517
lyse = 42519
runviewer = 42521
runmanager = 42523
zlock = 7339
zprocess_remote = 7341
[programs]
text_editor = C:\Users\cavslab\AppData\Local\atom\atom.exe
text_editor_arguments = {file}
hdf5_viewer = C:\Program Files\TheHDFGroup\HDFView2.7\HDFView.exe
hdf5_viewer_arguments = {file}
[paths]
connection_table_h5 = %(experiment_shot_storage)s\connectiontable.h5
connection_table_py = %(labscriptlib)s\connectiontable.py
[runmanager]
autoload_config_file = %(app_saved_configs)s\runmanager\runmanager.ini
output_folder_format = %%Y\%%m\%%d\{sequence_index:04d}
filename_prefix_format = %%Y-%%m-%%d_{sequence_index:04d}
[lyse]
autoload_config_file = %(app_saved_configs)s\lyse\lyse.ini
[BLACS/plugins]
connection_table = True
delete_repeated_shots = False
general = True
memory = False
progress_bar = False
theme = True
[security]
allow_insecure = True