urbit / landscape

Product board for Landscape.
20 stars 6 forks source link

docket fails to track desk installed with kiln #1200

Closed ryjm closed 3 years ago

ryjm commented 3 years ago

tried to kiln install %seer on a fakezod - ~zod and ~samzod can install via kiln, but both fail to create a docket charge.

kiln: beginning install into %seer from [~samzod %seer]
kiln: activated install into %seer from [~samzod %seer]
kiln: downloading update for %seer from [~samzod %seer]
kiln: finished downloading update for %seer from [~samzod %seer]
kiln: stopping ~
kiln: merging into %seer from [~samzod %seer]
kiln: merge into %seer from [~samzod %seer] succeeded
kiln: starting ~
kiln: stopping ~
ford: make cast %kiln-vats-diff -> %json
ford: make file /mar/kiln/vats-diff/hoon
ford: make cast %kiln-vats-diff -> %json
ford: make file /mar/kiln/vats-diff/hoon
error in %docket
%fact
! closing subscription
! nest-fail
!
  - have
  [ %revive
    desk=@tas
      arak
    [ rail=[paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud]
      next=it([aeon=@ud weft=[lal=@tas num=@ud]])
      rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
    ]
  ]
!
  - need
  ?(
    [ %block
      desk=@tas
        arak
      [ rail=u([paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud next=it([aeon=@ud weft=[lal=@tas num=@ud]])])
        rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
      ]
      weft=[lal=@tas num=@ud]
      blockers=nlr(@tas)
    ]
    [ %commit
      desk=@tas
        arak
      [ rail=u([paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud next=it([aeon=@ud weft=[lal=@tas num=@ud]])])
        rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
      ]
    ]
    [ %merge-fail
      desk=@tas
        arak
      [ rail=u([paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud next=it([aeon=@ud weft=[lal=@tas num=@ud]])])
        rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
      ]
      tang=it(?([%leaf p=""] [%palm p=[p="" q="" r="" s=""] q=#4] [%rose p=[p="" q="" r=""] q=#4] @t))
    ]
    [ %merge-sunk
      desk=@tas
        arak
      [ rail=u([paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud next=it([aeon=@ud weft=[lal=@tas num=@ud]])])
        rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
      ]
        tang
      it(
        ?(
          [%leaf p=""]
          [%palm p=[p="" q="" r="" s=""] q=#4]
          [ %rose
            p=[p="" q="" r=""]
              q
              ^#4
            ?(
              %~
              [ i=?([%leaf p=""] [%palm p=[p="" q="" r="" s=""] q=#4] [%rose p=[p="" q="" r=""] q=#4] @t)
                t=#4
              ]
            )
          ]
          @t
        )
      )
    ]
    [ %reset
      desk=@tas
        arak
      [ rail=u([paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud next=it([aeon=@ud weft=[lal=@tas num=@ud]])])
        rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
      ]
    ]
    [ %revive
      desk=@tas
        arak
      [ rail=u([paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud next=it([aeon=@ud weft=[lal=@tas num=@ud]])])
        rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
      ]
    ]
    [ %suspend
      desk=@tas
        arak
      [ rail=u([paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud next=it([aeon=@ud weft=[lal=@tas num=@ud]])])
        rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
      ]
    ]
  )
! /app/docket/hoon:<[192 11].[192 37]>
! /app/docket/hoon:<[192 7].[252 9]>
! /app/docket/hoon:<[191 7].[252 9]>
! /app/docket/hoon:<[187 5].[253 7]>
! /app/docket/hoon:<[186 5].[253 7]>
! /app/docket/hoon:<[180 18].[180 27]>
! /app/docket/hoon:<[178 5].[182 7]>
! /app/docket/hoon:<[177 3].[183 15]>
! /app/docket/hoon:<[176 3].[331 5]>
! /app/docket/hoon:<[175 3].[331 5]>
! /sys/vane/gall/hoon:<[1.445 9].[1.445 49]>
%hark-system-hook: on-agent on wire /kiln/vats, %fact
%hark-system-hook: on-fail with term %fact
error in %hark-system-hook
%fact
! closing subscription
! nest-fail
!
  - have
  [ %revive
    desk=@tas
      arak
    [ rail=[paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud]
      next=it([aeon=@ud weft=[lal=@tas num=@ud]])
      rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
    ]
  ]
!
  - need
  ?(
    [ %block
      desk=@tas
        arak
      [ rail=u([paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud next=it([aeon=@ud weft=[lal=@tas num=@ud]])])
        rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
      ]
      weft=[lal=@tas num=@ud]
      blockers=nlr(@tas)
    ]
    [ %commit
      desk=@tas
        arak
      [ rail=u([paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud next=it([aeon=@ud weft=[lal=@tas num=@ud]])])
        rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
      ]
    ]
    [ %merge-fail
      desk=@tas
        arak
      [ rail=u([paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud next=it([aeon=@ud weft=[lal=@tas num=@ud]])])
        rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
      ]
      tang=it(?([%leaf p=""] [%palm p=[p="" q="" r="" s=""] q=#4] [%rose p=[p="" q="" r=""] q=#4] @t))
    ]
    [ %merge-sunk
      desk=@tas
        arak
      [ rail=u([paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud next=it([aeon=@ud weft=[lal=@tas num=@ud]])])
        rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
      ]
        tang
      it(
        ?(
          [%leaf p=""]
          [%palm p=[p="" q="" r="" s=""] q=#4]
          [ %rose
            p=[p="" q="" r=""]
              q
              ^#4
            ?(
              %~
              [ i=?([%leaf p=""] [%palm p=[p="" q="" r="" s=""] q=#4] [%rose p=[p="" q="" r=""] q=#4] @t)
                t=#4
              ]
            )
          ]
          @t
        )
      )
    ]
    [ %reset
      desk=@tas
        arak
      [ rail=u([paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud next=it([aeon=@ud weft=[lal=@tas num=@ud]])])
        rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
      ]
    ]
    [ %revive
      desk=@tas
        arak
      [ rail=u([paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud next=it([aeon=@ud weft=[lal=@tas num=@ud]])])
        rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
      ]
    ]
    [ %suspend
      desk=@tas
        arak
      [ rail=u([paused=?(%.y %.n) ship=@p desk=@tas aeon=@ud next=it([aeon=@ud weft=[lal=@tas num=@ud]])])
        rein=[liv=?(%.y %.n) add=nlr(@tas) sub=nlr(@tas)]
      ]
    ]
  )
! /app/hark-system-hook/hoon:<[48 11].[48 37]>
! /app/hark-system-hook/hoon:<[48 7].[61 9]>
! /app/hark-system-hook/hoon:<[47 7].[61 9]>
! /app/hark-system-hook/hoon:<[42 5].[62 7]>
! /app/hark-system-hook/hoon:<[39 22].[39 36]>
! /app/hark-system-hook/hoon:<[38 3].[40 5]>
! /app/hark-system-hook/hoon:<[37 3].[63 5]>
! /sys/vane/gall/hoon:<[1.445 9].[1.445 49]>
%hark-system-hook: on-agent on wire /kiln/vats, %kick
%hark-system-hook: on-agent on wire /kiln/vats, %watch-ack
> |install our %seer
>=
ford: make cast %kiln-vats -> %json
ford: make file /mar/kiln/vats/hoon
ford: make tube %kiln-vats -> %json
ford: make cast %json -> %mime
ford: make file /mar/json/hoon
ford: make tube %json -> %mime
ryjm commented 3 years ago
> :docket|install our %seer
/sys/vane/gall/hoon:<[1.374 9].[1.374 37]>
/app/docket/hoon:<[71 3].[111 5]>
/app/docket/hoon:<[72 3].[111 5]>
/app/docket/hoon:<[73 3].[86 15]>
/app/docket/hoon:<[74 5].[85 7]>
/app/docket/hoon:<[75 26].[75 56]>
/app/docket/hoon:<[90 5].[99 44]>
/app/docket/hoon:<[91 5].[99 44]>
/app/docket/hoon:<[91 9].[91 84]>
/gx/~zod/treaty/~2021.9.24..01.19.26..3ed7/treaty/~zod/seer/noun
dojo: app poke failed
liam-fitzgerald commented 3 years ago

This is because your arvo & docket is out of sync. You need to bring %base up to date before installing

ryjm commented 3 years ago

I'm syncing from ~zod, which does have an up to date arvo and appears to be synced - when I update ~zod's base desk, it triggers an OTA on ~marzod. I shouldn't have to manually copy from pkg/arvo for both ships.

> :docket|install our %seer
/sys/vane/gall/hoon:<[1.374 9].[1.374 37]>
/app/docket/hoon:<[71 3].[111 5]>
/app/docket/hoon:<[72 3].[111 5]>
/app/docket/hoon:<[73 3].[86 15]>
/app/docket/hoon:<[74 5].[85 7]>
/app/docket/hoon:<[75 26].[75 56]>
/app/docket/hoon:<[90 5].[99 44]>
/app/docket/hoon:<[91 5].[99 44]>
/app/docket/hoon:<[91 9].[91 84]>
/gx/~zod/treaty/~2021.9.24..01.19.26..3ed7/treaty/~zod/seer/noun
dojo: app poke failed

Maybe this should be a separate issue, but this is only on ~zod and so shouldn't be an out of sync arvo issue. We should be able to use docket install for local installs right? Interestingly, I can run the docket install on ~samzod and pointing to ~zod, as long as i've published the desk on ~zod using treaty. Seems odd that I can do that but not install on zod itself.

ryjm commented 3 years ago

welp i'm an idiot - i thought %kids was no longer a thing, but turns out it is. just had to merge %base into it, looks like that fixed the first issue.