The issue appears as PsPM cannot be started when it is called offline. The reason of this issue is, at line 63 and 66 the script is terminated if it is offline, which will not assign values to the expected values sts and version_of_pspm.
Method
Under the offline situation, the variables sts and version_of_pspm should be still assigned in pspm_version, before the script pspm_version is terminated.
Results
At line 63 and 66, the return behaviour is removed, because the return values should be assigned at line 73--79.
The new_v is not assigned because version checking cannot be performed.
PsPM can be started when offline with the new code, after testing.
Fixes #514.
Introduction
The issue appears as PsPM cannot be started when it is called offline. The reason of this issue is, at line 63 and 66 the script is terminated if it is offline, which will not assign values to the expected values
sts
andversion_of_pspm
.Method
Under the offline situation, the variables
sts
andversion_of_pspm
should be still assigned inpspm_version
, before the scriptpspm_version
is terminated.Results
At line 63 and 66, the
return
behaviour is removed, because the return values should be assigned at line 73--79. Thenew_v
is not assigned because version checking cannot be performed. PsPM can be started when offline with the new code, after testing.