urbit / urbit.org

The source for urbit.org
https://urbit.org
MIT License
92 stars 197 forks source link

Software Distribution guide.md fails at glob updater #1204

Closed gusmacaulay closed 3 years ago

gusmacaulay commented 3 years ago

Steps to reproduce;

gusmacaulay commented 3 years ago

Dojo output;

[%poke %request]
  bar-stack
~[
  ~[/gall/use/docket/0w3.cXXXV/~zod/write/hello /dill //term/1]
  ~[
    /eyre/run-app-request/~.eyre_0v7.o0j3c.8dke5.u5gll.tm7ki.e0v4r
    //http-server/0vo.kegek/2.191/1
  ]
  ~[//http-server/0vo.kegek/2.191/1]
]
call: failed
/sys/vane/clay/hoon:<[4.314 3].[4.551 5]>
/sys/vane/clay/hoon:<[4.316 3].[4.551 5]>
/sys/vane/clay/hoon:<[4.320 3].[4.551 5]>
/sys/vane/clay/hoon:<[4.323 3].[4.551 5]>
/sys/vane/clay/hoon:<[4.372 5].[4.391 15]>
/sys/vane/clay/hoon:<[4.375 5].[4.391 15]>
/sys/vane/clay/hoon:<[4.388 5].[4.391 15]>
/sys/vane/clay/hoon:<[4.389 7].[4.390 38]>
/sys/vane/clay/hoon:<[4.390 7].[4.390 38]>
/sys/vane/clay/hoon:<[4.390 12].[4.390 38]>
/sys/vane/clay/hoon:<[1.452 5].[1.472 26]>
/sys/vane/clay/hoon:<[1.453 5].[1.472 26]>
/sys/vane/clay/hoon:<[1.459 5].[1.472 26]>
/sys/vane/clay/hoon:<[1.460 5].[1.472 26]>
/sys/vane/clay/hoon:<[1.471 5].[1.472 26]>
/sys/vane/clay/hoon:<[1.472 5].[1.472 26]>
/sys/vane/clay/hoon:<[1.509 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.510 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.513 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.520 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.521 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.524 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.528 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.530 5].[1.598 20]>
[from=2 deletes={} changes={[i=~.desk t=/docket-0]}]
/sys/vane/clay/hoon:<[1.536 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.537 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.540 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.541 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.542 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.546 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.549 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.550 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.552 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.554 5].[1.598 20]>
/sys/vane/clay/hoon:<[1.554 40].[1.554 71]>
/sys/vane/clay/hoon:<[1.880 7].[1.899 64]>
/sys/vane/clay/hoon:<[1.881 7].[1.899 64]>
/sys/vane/clay/hoon:<[1.885 7].[1.899 64]>
/sys/vane/clay/hoon:<[1.886 7].[1.899 64]>
/sys/vane/clay/hoon:<[1.887 7].[1.899 64]>
/sys/vane/clay/hoon:<[1.889 9].[1.890 49]>
/sys/vane/clay/hoon:<[1.890 9].[1.890 49]>
[%error-validating /desk/docket-0]
[%validate-page-fail /desk/docket-0 %from %docket-0]
/sur/docket/hoon:<[66 3].[75 5]>
/sur/docket/hoon:<[66 7].[66 9]>
gusmacaulay commented 3 years ago

Fakezod +trouble;

%bitcoin
  /sys/kelvin:      [%zuse 420]
  base hash:        ~
  %cz hash:         0v12.fhqm1.tlvr2.qrqd9.6jfo9.qor6n.3v84g.g64ka.34unu.gtl90.71kme
  app status:       running
  force on:         ~
  force off:        ~
  publishing ship:  ~
  updates:          tracking
  source ship:      ~mister-dister-dozzod-dozzod
  source desk:      %bitcoin
  source aeon:      0
  pending updates:  ~
::
%base
  /sys/kelvin:      [%zuse 420]
  base hash:        ~
  %cz hash:         0v13.iddgf.0v55o.6ectf.erlh1.4g9ge.5oaui.8o1cr.dhrin.e2bc3.nepvt
  app status:       running
  force on:         ~
  force off:        ~
  publishing ship:  ~
  updates:          local
  source ship:      ~
  source desk:      ~
  source aeon:      ~
  pending updates:  ~
::
%landscape
  /sys/kelvin:      [%zuse 420]
  base hash:        ~
  %cz hash:         0va.d60hr.vr57s.8mdcp.g60a5.p8kai.abkj4.9ii81.ob4c5.q16le.8qfjp
  app status:       running
  force on:         ~
  force off:        ~
  publishing ship:  ~
  updates:          tracking
  source ship:      ~lander-dister-dozzod-dozzod
  source desk:      %landscape
  source aeon:      0
  pending updates:  ~
::
%webterm
  /sys/kelvin:      [%zuse 420]
  base hash:        ~
  %cz hash:         0vj.uts82.9e1g0.avvsq.ih832.l1qi1.0v1uh.o7565.qjiav.ctin2.b2pme
  app status:       running
  force on:         ~
  force off:        ~
  publishing ship:  ~
  updates:          tracking
  source ship:      ~mister-dister-dozzod-dozzod
  source desk:      %webterm
  source aeon:      0
  pending updates:  ~
::
%garden
  /sys/kelvin:      [%zuse 420]
  base hash:        ~
  %cz hash:         0vi.990nk.u2g74.nqrf8.1sfb6.q4jef.t4i56.aftb4.llvbh.d6r4v.1ihg6
  app status:       running
  force on:         ~
  force off:        ~
  publishing ship:  [~ ~mister-dister-dozzod-dozzod]
  updates:          tracking
  source ship:      ~mister-dister-dozzod-dozzod
  source desk:      %garden
  source aeon:      0
  pending updates:  ~
::
%hello
  /sys/kelvin:      [%zuse 420]
  base hash:        ~
  %cz hash:         0v3.9bme3.abrva.jhh2t.9vvqm.4rlu0.s98oe.kfoo4.n95kr.7c407.e5i3m
  app status:       running
  force on:         ~
  force off:        ~
  publishing ship:  ~
  updates:          local
  source ship:      ~
  source desk:      ~
  source aeon:      ~
  pending updates:  ~
::
tinnus-napbus commented 3 years ago

I tried on a fakezod and had the same problem

then I mounted all the desks, deleted them on unix side, cloned urbit repo, cp -LRed them across from master on the urbit repo and then commited each one. After that the globulator worked.

So I'm guessing the pill the urbit binary retrieves is not up-to-date with the urbit repo. Dunno who's in charge of pills but it'll be updated eventually I assume

edit: this is wrt the error-validating docket-0 issue. I believe the svg fix hasn't been merged yet

aquarial commented 3 years ago

I also had this issue and the fix from tinnus-napbus worked for me. Specifically running the following commands:

# on fakezod
./urbit -F zod -c zod
|mount %garden
|mount %webterm
|mount %landscape
|mount %base
|mount %bitcoin

# in shell
cd ./zod/
rm -rf *

# copy from github.com/urbit/urbit
cp -RL ../urbit-git/pkg/garden . 
cp -RL ../urbit-git/pkg/webterm . 
cp -RL ../urbit-git/pkg/landscape . 
cp -RL ../urbit-git/pkg/base . 
cp -RL ../urbit-git/pkg/bitcoin . 

# on fakezod again
|commit %garden
|commit %webterm
|commit %landscape
|commit %base
|commit %bitcoin
Fang- commented 3 years ago

Can confirm the original issue here is no longer reproducible on latest version of the system, which should be pulled in for fresh livenet ships regardless of the exact contents of the pill. For fakenet ships, yes, you may need to pull in the files from the repo if the pill you used doesn't include their changes.