intersystems / ipm

InterSystems ObjectScript Package Manager
MIT License
29 stars 19 forks source link

The entry about the installation of a module that was not installed by interruption in the preload is not deleted #363

Open SergeyMi37 opened 1 year ago

SergeyMi37 commented 1 year ago
zpm:USER>load https://github.com/SergeyMi37/zapm
Cloning into 'zapm'...

Load of directory started on 12/17/2022 12:04:53
Load finished successfully.

[USER|zapm] Reload START (/usr/irissys/mgr/Temp/664604348117402302/zapm/)
[zapm]  Reload FAILURE
ERROR! This application must be installed in the "%SYS" namespace 
  > ERROR #5490: Error running generator for method 'RunOnLoad:%ZAPM.ext.Lifecycle' 
ERROR: %ZAPM.ext.Lifecycle.cls(RunOnLoad) of generated code
    > ERROR #5030: An error occurred while compiling class '%ZAPM.ext.Lifecycle'
zpm:USER>
...
zapm:USER>list
zapm 1.0.42 (DeveloperMode)
SergeyMi37 commented 1 year ago

The error is also reproduced with any erroneous loading of the module

zapm:USER>load /tmp/fhir

[USER|fhir-starter] Reload START (/tmp/fhir/)
[USER|fhir-starter] Reload SUCCESS
[fhir-starter]  Module object refreshed.
[USER|fhir-starter] Validate START
[USER|fhir-starter] Validate SUCCESS
[USER|fhir-starter] Compile START
[fhir-starter]  Compile FAILURE
ERROR! Class 'HS.FHIR.DTL.vR4.Model.Resource.Bundle', used by 'Demo.FHIRPlace.DTL.BuildFHIRDeleteBundle:dependson', does not exist
...
zapm:USER>list
fhir-starter 1.0.0 (DeveloperMode)
SergeyMi37 commented 1 year ago

zapm:iris-test>IRIS>SWAGGER>list swagger-ui 1.0.0 openapi-suite 1.0.0 (DeveloperMode) openapi-server-gen 1.0.0 (DeveloperMode) openapi-common-lib 1.0.1 (DeveloperMode) swagger-converter-cli 0.0.2 (DeveloperMode) openapi-client-gen 2.1.1 (DeveloperMode) swagger-validator-cli 0.0.1 (DeveloperMode) yaml-utils 0.1.2 objectscript-openapi-definition 1.1.7 sslclient 1.0.1 zapm:iris-test>IRIS>SWAGGER>uninstall swagger-validator-cli

[SWAGGER|swagger-validator-cli] Clean START [SWAGGER|swagger-validator-cli] Unconfigure START [SWAGGER|swagger-validator-cli] Unconfigure SUCCESS [SWAGGER|swagger-validator-cli] Clean SUCCESS zapm:iris-test>IRIS>SWAGGER> zapm:iris-test>IRIS>SWAGGER> zapm:iris-test>IRIS>SWAGGER>list swagger-ui 1.0.0 openapi-suite 1.0.0 (DeveloperMode) openapi-server-gen 1.0.0 (DeveloperMode) openapi-common-lib 1.0.1 (DeveloperMode) swagger-converter-cli 0.0.2 (DeveloperMode) openapi-client-gen 2.1.1 (DeveloperMode) yaml-utils 0.1.2 objectscript-openapi-definition 1.1.7 sslclient 1.0.1 zapm:iris-test>IRIS>SWAGGER>zpm "load https://github.com/lscalese/iris-swagger-validator-cli.git"

[SWAGGER|swagger-validator-cli] Reload START (/opt2/isc/iris/mgr/Temp/6666049283930640369/iris-swagger-validator-cli/) [SWAGGER|swagger-validator-cli] requirements.txt START [SWAGGER|swagger-validator-cli] requirements.txt FAILURE [swagger-validator-cli] Reload FAILURE ERROR! Running command returned error. zapm:iris-test>IRIS>SWAGGER> zapm:iris-test>IRIS>SWAGGER>list swagger-ui 1.0.0 openapi-suite 1.0.0 (DeveloperMode) openapi-server-gen 1.0.0 (DeveloperMode) openapi-common-lib 1.0.1 (DeveloperMode) swagger-converter-cli 0.0.2 (DeveloperMode) openapi-client-gen 2.1.1 (DeveloperMode) yaml-utils 0.1.2 objectscript-openapi-definition 1.1.7 sslclient 1.0.1 swagger-validator-cli 0.0.1 (DeveloperMode)