Closed w2vy closed 3 years ago
Found the problem in the generated files:
generated.create-master-contract-directory.rho
rnode 0.10
match [
rho:id:8rtcyazkf159t3dxa5m9jm7ckb1pm597wim3upehfy7wne1xchd4f1
,rho:id:3m6xeodjpxatx8tk7doghxpkbcf3appzx4waa88zo91m1shd7cen4w
,rho:id:zeag4ukxz83eq7rawbp7aqnotuumbgwxf6k5ryq36hf4rf7rk3w4op
,rho:id:mj9hfc59raois5bgifbo7t61ds1q7imkjmgcmj9j8tq8ihbrphkbzi
,rho:id:47cpfgij6qeb9go7xztnh1iqgxuo4fqtg3a58hkmwtpf95t6mhsxxr
,rho:id:gji4dxzxk1pjq3ierc7gauggn97tm9tg15rxsnmkasdb7haruf38tc
,rho:id:c9y1m4ai4gimfp54ink1q8tuts57dk9ezu63fm7u9h7r7cf1x6hj79
]{[
URI_Directory
,URI_Echo
,URI_Inbox
,URI_Issue
,URI_Kudos
,URI_Roll
,URI_Log
] => {
new
lookup(rho:registry:lookup
)
,deployerId(rho:rchain:deployerId
)
,deployId(rho:rchain:deployId
)
,stdout(rho:io:stdout
)
,insertArbitrary(rho:registry:insertArbitrary
)
,lookCh
,insertCh
,caps
,lastUri
,lookCh_Directory
,ret_Directory
,final_Directory
,lookCh_Echo
,ret_Echo
,final_Echo
,lookCh_Inbox
,ret_Inbox
,final_Inbox
,lookCh_Issue
,ret_Issue
,final_Issue
,lookCh_Kudos
,ret_Kudos
,final_Kudos
,lookCh_Roll
,ret_Roll
,final_Roll
,lookCh_Log
,ret_Log
,final_Log
in {
lookup!(URI_Directory, *lookCh)
0.11
match [
` ]{[ URI_ ] => { new lookup(
rho:registry:lookup) ,deployerId(
rho:rchain:deployerId) ,deployId(
rho:rchain:deployId) ,stdout(
rho:io:stdout) ,insertArbitrary(
rho:registry:insertArbitrary`)
,lookCh
,insertCh
,caps
,lastUri
,lookCh
,ret
,final_
in {
lookup!(URI_Directory, lookCh)
| for (Dir <- lookCh) {
Dir!(caps)
This error happens when the deploy of the rgov "*.rho" fails. It is more likely an error in an individual .rho file than an error in deploy-all or with URI_Directory. I know we put a fix in for something similar, but I can't track down the commit (it was wrapped up in reorganize-actions). @w2vy Please offer instructions on how to install rnode 0.11.0-alpha so I can test.
Go to 0.11-alpha2 and download the installer
apt install ./rnode_0.11.0-alpha.2_all.deb
and the build shard from scratch
You may also want to do: sudo systemctl disable rnode
since the install may have enabled auto start
@w2vy Is this fixed?
this turned out to not be related to rnode version.
create-master-directory.log I ran across this when using rnode 0.11, not sure if it is an issue for rgov or rnode(alpha)
./deploy-all: Propose finished. ./deploy-all: Generating javascript file [generated.rhoid.bootstrap.js] ./deploy-all: Generating json file [generated.rhoid.bootstrap.json] ./deploy-all: Generating directory creation rholang Deploying generated.create-master-contract-directory.rho Parsing error: Error in parsing term: coop.rchain.rholang.interpreter.errors$TopLevelFreeVariablesNotAllowedError: Top level free variables are not allowed: URI_Directory at 20:15.
URI_Directory is referenced on line 36 of bootstrap/master-contract-directory.sh
create-master-directory.log