Hey everyone,
Thank you for the help in advance!
After a standalone installation, i get hit by the following error in the cryosparc web interface when I try to import movies:
Unable to queue P1 J4: Scheduler error: no schedule lanes found. Please connect a worker using ‘cryosparcw connect’.
So i tried this following command:
./…/cryosparc_worker/bin/cryosparcw connect --master localhost --port 39000 --worker localhost --nossd
I get the following error, not sure where my problem diverged from SAmhitha’s:
CRYOSPARC CONNECT --------------------------------------------
Attempting to register worker localhost to command localhost:39002
Connecting as unix user spuser
Will register using ssh string: spuser@localhost
If this is incorrect, you should re-run this command with the flag --sshstr
/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_tools/cryosparc/command.py:134: UserWarning: *** CommandClient: (http://localhost:39002/api) URL Error [Errno 111] Connection refused, attempt 1 of 3. Retrying in 30 seconds
system = self._get_callable(“system.describe”)()
/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_tools/cryosparc/command.py:134: UserWarning: *** CommandClient: (http://localhost:39002/api) URL Error [Errno 111] Connection refused, attempt 2 of 3. Retrying in 30 seconds
system = self._get_callable(“system.describe”)()
Traceback (most recent call last):
File “/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_tools/cryosparc/command.py”, line 104, in func
with make_json_request(self, “/api”, data=data, _stacklevel=4) as request:
File “/spshared/apps/cryosparc24/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.8/contextlib.py”, line 113, in enter
return next(self.gen)
File “/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_tools/cryosparc/command.py”, line 225, in make_request
raise CommandError(error_reason, url=url, code=code, data=resdata)
cryosparc_tools.cryosparc.errors.CommandError: *** (http://localhost:39002/api, code 500) URL Error [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “bin/connect.py”, line 78, in
cli = client.CommandClient(host=master_hostname, port=command_core_port, service=“command_core”)
File “/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_compute/client.py”, line 38, in init
super().init(service, host, port, url, timeout, headers, cls=NumpyEncoder)
File “/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_tools/cryosparc/command.py”, line 96, in init
self._reload() # attempt connection immediately to gather methods
File “/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_tools/cryosparc/command.py”, line 134, in _reload
system = self._get_callable(“system.describe”)()
File “/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_tools/cryosparc/command.py”, line 107, in func
raise CommandError(
cryosparc_tools.cryosparc.errors.CommandError: *** (http://localhost:39002, code 500) Encounted error from JSONRPC function “system.describe” with params ()
when i run
cryosparcm status
i get the following:
Current cryoSPARC version: v4.4.1
CryoSPARC is not running.
global config variables:
export CRYOSPARC_LICENSE_ID=“[redacted]”
export CRYOSPARC_MASTER_HOSTNAME=“spgpu”
export CRYOSPARC_DB_PATH=“/spshared/apps/cryosparc24/cryosparc_database”
export CRYOSPARC_BASE_PORT=39000
export CRYOSPARC_DB_CONNECTION_TIMEOUT_MS=20000
export CRYOSPARC_INSECURE=false
export CRYOSPARC_DB_ENABLE_AUTH=true
export CRYOSPARC_CLUSTER_JOB_MONITOR_INTERVAL=10
export CRYOSPARC_CLUSTER_JOB_MONITOR_MAX_RETRIES=1000000
export CRYOSPARC_PROJECT_DIR_PREFIX=‘CS-’
export CRYOSPARC_DEVELOP=false
export CRYOSPARC_CLICK_WRAP=true
i also tried to look at the specific ports, if they were closed for some reason and got this:
nc -zv spgpu 39000-39010
Ncat: Version 7.70 ( Ncat - Netcat for the 21st Century )
Ncat: Connection refused.
also the netstat with grep didn’t return anything
netstat -tuplen | grep :39000
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
thank you for your help
Raktim