Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to install via zpm on 2020.4 -- following the README #30

Open
adaptun opened this issue Jul 1, 2021 · 1 comment
Open

Fails to install via zpm on 2020.4 -- following the README #30

adaptun opened this issue Jul 1, 2021 · 1 comment

Comments

@adaptun
Copy link
Contributor

adaptun commented Jul 1, 2021

docker run --name irisce -d --publish 52773:52773 intersystemsdc/iris-community:2019.4.0.383.0-zpm

Unable to find image 'intersystemsdc/iris-community:2019.4.0.383.0-zpm' locally
2019.4.0.383.0-zpm: Pulling from intersystemsdc/iris-community
....
Status: Downloaded newer image for intersystemsdc/iris-community:2019.4.0.383.0-zpm
8a6b7f0e5ecda28040c2e55530f4c8225eb1a2b383b991ee9d5f1eeaf05956d7
akoblov@akoblovMbp ~ % docker exec -it irisce iris session iris

Node: 8a6b7f0e5ecd, Instance: IRIS

USER>zpm
zpm: USER>install samples-bi

[samples-bi] Reload START
[samples-bi] Reload FAILURE - ERROR #5012: File '/usr/irissys/mgr/.modules/USER/samples-bi/1.0.1/gbl/ZipCodeData.xml' does not exist
ERROR #5012: File '/usr/irissys/mgr/.modules/USER/samples-bi/1.0.1/gbl/ZipCodeData.xml' does not exist
ERROR #5012: File '/usr/irissys/mgr/.modules/USER/samples-bi/1.0.1/gbl/ZipCodeData.xml' does not exist

@psteiwer
Copy link
Collaborator

psteiwer commented Jul 1, 2021

this works if you use iris-community:latest, it looks like there was an old version of ZPM (that comes in the 2019.4 zpm image) that wasn't loading GBL data properly intersystems/ipm@207577a

C:\Users\psteiwer>docker run --name irisce -d --publish 54773:52773 --publish 19720:1972 intersystemsdc/iris-community:latest
34aabc0098f43d396606c795b7959b2e531f456fc9fd4c7b14f6dc9f38b3e2f9

C:\Users\psteiwer>docker exec -it irisce iris session iris

Node: 34aabc0098f4, Instance: IRIS

USER>zpm
zpm:USER>install samples-bi

[samples-bi] Reload START
[samples-bi] Reload SUCCESS
[samples-bi] Module object refreshed.
[samples-bi] Validate START
[samples-bi] Validate SUCCESS
[samples-bi] Compile START
[samples-bi] Compile SUCCESS
[samples-bi] Activate START
2,050 row(s) created
Building cube [HOLEFOODS]
Existing cube deleted.
Fact table built: 1,000 fact(s) (Max number of worker(s) used at a time: 1)
Fact indices built: 1,000 fact(s) (1 worker(s) used)

Complete
Elapsed time: 0.278973s
Source expression time: 0.001060s

Building cube [HOLEFOODSBUDGET]
Existing cube deleted.
Fact table built: 942 fact(s) (Max number of worker(s) used at a time: 1)
Fact indices built: 942 fact(s) (1 worker(s) used)

Complete
Elapsed time: 0.164222s
Source expression time: 0.000655s
Defining term list Region Colors...
Defining COMMISSIONPERCENTAGE pivot variable for HOLEFOODS cube
Defining YEAR pivot variable for HOLEFOODS cube

setting up code tables
13,176 fact(s) updated
Elapsed time: 2.238454s

setting up 40 doctors
Deleting patient data...
1,000 patients created in BI.Study.Patient
1,000 patient(s) created in BI.Study.Patient
Current patient count is 1000
Building cube [patients]
Existing cube deleted.
Fact table built: 1,000 fact(s) (1 worker(s) used)
Fact indices built: 1,000 fact(s) (1 worker(s) used)

Complete
Elapsed time: 0.781804s
Source expression time: 0.385208s

Elapsed time: 5 seconds
Building cube [Cities]
Existing cube deleted.
Fact table built: 9 fact(s) (1 worker(s) used)
Fact indices built: 9 fact(s) (1 worker(s) used)

Complete
Elapsed time: 0.063010s
Source expression time: 0.000007s

Building cube [ConnectorCube]
Existing cube deleted.
Fact table built: 1,000 fact(s) (1 worker used)
Fact indices built: 1,000 fact(s) (1 worker(s) used)

Complete
Elapsed time: 0.234282s
Source expression time: 0.000543s

Building cube [relatedcubes/cities]
Existing cube deleted.
Fact table built: 9 fact(s) (1 worker(s) used)
Fact indices built: 9 fact(s) (1 worker(s) used)

Complete
Elapsed time: 0.058040s
Source expression time: 0.000005s

Building cube [relatedcubes/doctors]
Existing cube deleted.
Fact table built: 40 fact(s) (1 worker(s) used)
Fact indices built: 40 fact(s) (1 worker(s) used)

Complete
Elapsed time: 0.072347s
Source expression time: 0.000038s

Building cube [relatedcubes/patients]
Existing cube deleted.
Fact table built: 1,000 fact(s) (1 worker(s) used)
Fact indices built: 1,000 fact(s) (1 worker(s) used)

Complete
Elapsed time: 0.300461s
Source expression time: 0.067388s

Building cube [relatedcubes/cityrainfall]
Existing cube deleted.
Fact table built: 13,176 fact(s) (1 worker(s) used)
Fact indices built: 13,176 fact(s) (1 worker(s) used)

Complete
Elapsed time: 0.605750s
Source expression time: 0.003708s

Building cube [relatedcubes/allergies]
Existing cube deleted.
Fact table built: 802 fact(s) (1 worker(s) used)
Fact indices built: 802 fact(s) (1 worker(s) used)

Complete
Elapsed time: 0.108983s
Source expression time: 0.000231s

Building cube [compoundcube/patients]
Existing cube deleted.
Fact table built: 1,000 fact(s) (1 worker(s) used)
Fact indices built: 1,000 fact(s) (1 worker(s) used)

Complete
Elapsed time: 0.244193s
Source expression time: 0.053348s

Building cube [compoundcube/cityrainfall]
Existing cube deleted.
Fact table built: 13,176 fact(s) (1 worker(s) used)
Fact indices built: 13,176 fact(s) (1 worker(s) used)

Complete
Elapsed time: 0.797978s
Source expression time: 0.004205s

Building cube [compoundcube/doctors]
Existing cube deleted.
Fact table built: 40 fact(s) (1 worker(s) used)
Fact indices built: 40 fact(s) (1 worker(s) used)

Complete
Elapsed time: 0.058002s
Source expression time: 0.000033s
Defining term list Patients Pivots...
Defining term list Patients RowSpecs...
Defining YEAR pivot variable in PATIENTS cube

[samples-bi] Configure SUCCESS
[samples-bi] Activate SUCCESS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants