Command_core: ERROR (spawn error) (Fresh install)

Dear cryoSPARC Team,

I am doing a fresh install as a regular user, with the --standalone option.
My system is Ubuntu 18.04.4 LTS, running python 2.7.17
In case it matters – my login shell is tcsh, so I have to launch bash manually.

I have tried a forced update and also tried to open ports 39000 and 39002, but I always get the following errors when trying to startup cryoSPARC:

Starting cryoSPARC System master process..
CryoSPARC is not already running.
database: started
command_core: ERROR (spawn error)

The output of cryosparcm status is:
----------------------------------------------------------------------------
CryoSPARC System master node installed at
/data/cryosparc/cryosparc2_master
Current cryoSPARC version: v2.15.0
----------------------------------------------------------------------------

cryosparcm process status:

app                              STOPPED   Not started
app_dev                          STOPPED   Not started
command_core                     FATAL     Exited too quickly (process log may have details)
command_proxy                    STOPPED   Not started
command_rtp                      STOPPED   Not started
command_vis                      STOPPED   Not started
database                         RUNNING   pid 2490, uptime 0:01:36
watchdog_dev                     STOPPED   Not started
webapp                           STOPPED   Not started
webapp_dev                       STOPPED   Not started

----------------------------------------------------------------------------

global config variables:

export CRYOSPARC_LICENSE_ID="#####"
export CRYOSPARC_MASTER_HOSTNAME="gpu7"
export CRYOSPARC_DB_PATH="/data/cryosparc/cryosparc2_database"
export CRYOSPARC_BASE_PORT=39000
export CRYOSPARC_DEVELOP=false
export CRYOSPARC_INSECURE=false
export CRYOSPARC_CLICK_WRAP=true

cryosparcm log command_core reports the following:

Traceback (most recent call last):
File “”, line 1, in
File “cryosparc2_command/command_core/init.py”, line 3506, in
import cryosparc2_compute.jobs.common as com
File “cryosparc2_compute/jobs/init.py”, line 9, in
jobregister.check_all_job_modules()
File “cryosparc2_compute/jobs/jobregister.py”, line 295, in check_all_job_modules
import workflows
File “cryosparc2_compute/jobs/workflows/init.py”, line 8, in
from . import buildrun
File “cryosparc2_compute/jobs/workflows/buildrun.py”, line 52, in
from … import runcommon as rc
File “cryosparc2_compute/jobs/runcommon.py”, line 33, in
import matplotlib as _mpl
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1131, in
rcParams = rc_params()
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 975, in rc_params
return rc_params_from_file(fname, fail_on_error)
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1100, in rc_params_from_file
config_from_file = _rc_params_in_file(fname, fail_on_error)
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1018, in _rc_params_in_file
with _open_file_or_url(fname) as fd:
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/contextlib.py”, line 17, in enter
return self.gen.next()
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1000, in _open_file_or_url
encoding = locale.getdefaultlocale()[1]
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/locale.py”, line 545, in getdefaultlocale
return _parse_localename(localename)
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/locale.py”, line 477, in _parse_localename
raise ValueError, ‘unknown locale: %s’ % localename
ValueError: unknown locale: UTF-8
Traceback (most recent call last):
File “”, line 1, in
File “cryosparc2_command/command_core/init.py”, line 3506, in
import cryosparc2_compute.jobs.common as com
File “cryosparc2_compute/jobs/init.py”, line 9, in
jobregister.check_all_job_modules()
File “cryosparc2_compute/jobs/jobregister.py”, line 295, in check_all_job_modules
import workflows
File “cryosparc2_compute/jobs/workflows/init.py”, line 8, in
from . import buildrun
File “cryosparc2_compute/jobs/workflows/buildrun.py”, line 52, in
from … import runcommon as rc
File “cryosparc2_compute/jobs/runcommon.py”, line 33, in
import matplotlib as _mpl
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1131, in
rcParams = rc_params()
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 975, in rc_params
return rc_params_from_file(fname, fail_on_error)
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1100, in rc_params_from_file
config_from_file = _rc_params_in_file(fname, fail_on_error)
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1018, in _rc_params_in_file
with _open_file_or_url(fname) as fd:
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/contextlib.py”, line 17, in enter
return self.gen.next()
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1000, in _open_file_or_url
encoding = locale.getdefaultlocale()[1]
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/locale.py”, line 545, in getdefaultlocale
return _parse_localename(localename)
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/locale.py”, line 477, in _parse_localename
raise ValueError, ‘unknown locale: %s’ % localename
ValueError: unknown locale: UTF-8
Traceback (most recent call last):
File “”, line 1, in
File “cryosparc2_command/command_core/init.py”, line 3506, in
import cryosparc2_compute.jobs.common as com
File “cryosparc2_compute/jobs/init.py”, line 9, in
jobregister.check_all_job_modules()
File “cryosparc2_compute/jobs/jobregister.py”, line 295, in check_all_job_modules
import workflows
File “cryosparc2_compute/jobs/workflows/init.py”, line 8, in
from . import buildrun
File “cryosparc2_compute/jobs/workflows/buildrun.py”, line 52, in
from … import runcommon as rc
File “cryosparc2_compute/jobs/runcommon.py”, line 33, in
import matplotlib as _mpl
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1131, in
rcParams = rc_params()
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 975, in rc_params
return rc_params_from_file(fname, fail_on_error)
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1100, in rc_params_from_file
config_from_file = _rc_params_in_file(fname, fail_on_error)
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1018, in _rc_params_in_file
with _open_file_or_url(fname) as fd:
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/contextlib.py”, line 17, in enter
return self.gen.next()
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1000, in _open_file_or_url
encoding = locale.getdefaultlocale()[1]
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/locale.py”, line 545, in getdefaultlocale
return _parse_localename(localename)
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/locale.py”, line 477, in _parse_localename
raise ValueError, ‘unknown locale: %s’ % localename
ValueError: unknown locale: UTF-8
Traceback (most recent call last):
File “”, line 1, in
File “cryosparc2_command/command_core/init.py”, line 3506, in
import cryosparc2_compute.jobs.common as com
File “cryosparc2_compute/jobs/init.py”, line 9, in
jobregister.check_all_job_modules()
File “cryosparc2_compute/jobs/jobregister.py”, line 295, in check_all_job_modules
import workflows
File “cryosparc2_compute/jobs/workflows/init.py”, line 8, in
from . import buildrun
File “cryosparc2_compute/jobs/workflows/buildrun.py”, line 52, in
from … import runcommon as rc
File “cryosparc2_compute/jobs/runcommon.py”, line 33, in
import matplotlib as _mpl
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1131, in
rcParams = rc_params()
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 975, in rc_params
return rc_params_from_file(fname, fail_on_error)
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1100, in rc_params_from_file
config_from_file = _rc_params_in_file(fname, fail_on_error)
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1018, in _rc_params_in_file
with _open_file_or_url(fname) as fd:
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/contextlib.py”, line 17, in enter
return self.gen.next()
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/init.py”, line 1000, in _open_file_or_url
encoding = locale.getdefaultlocale()[1]
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/locale.py”, line 545, in getdefaultlocale
return _parse_localename(localename)
File “/data/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/locale.py”, line 477, in _parse_localename
raise ValueError, ‘unknown locale: %s’ % localename
ValueError: unknown locale: UTF-8

Thanks.
Lu

We were able to run the installation to completion on a fresh Ubuntu 18.04.4 install. The culprit could be one of the many system-wide changes on the server we originally used.

Thanks for the update, @dbsganl!