From rms-webserver created by juzen2003: SETI/rms-webserver#78
If there is a space in the path of the holdings directory, the holdings directory won't be detected by viewmaster.
one fix to accept spaces in the path:
In viewmaster.py, at line 180 inside the get_holdings_paths function, change to value = ' '.join(parts[2:])
If the python subversion has two digits instead of one, the program will be looking at the wrong python version under site-packages and an error will be raised due to missing python caused by the wrong version.
one fix to get the correct python version under site-packages:
In wsgi_init.py, at line 58, change to site_packages = os.path.join(venv, 'lib/python%s/site-packages' % ('.'.join(sys.version.split(' ')[0].split('.')[:2])))
From rms-webserver created by juzen2003: SETI/rms-webserver#78
viewmaster.py
, at line 180 inside theget_holdings_paths
function, change tovalue = ' '.join(parts[2:])
wsgi_init.py
, at line 58, change tosite_packages = os.path.join(venv, 'lib/python%s/site-packages' % ('.'.join(sys.version.split(' ')[0].split('.')[:2])))