Urbit: bug: landscape: uncaught js exception in some chat rooms

Created on 2 Oct 2019  Â·  14Comments  Â·  Source: urbit/urbit

Description

An uncaught exception crashes the page when trying to access ~chat/~dopzod/urbit-help room directly from the browser in landscape.

I am able to use landscape chat to chat in other rooms.

Trace

index.js:1 Uncaught Error: sigil.js cannot render @p of length 16. Only lengths of 1 (galaxy), 2 (star), and 4 (planet) are supported at this time.
    at t.sigil (index.js:1)
    at Xf.render (index.js:1)
    at tp (index.js:1)
    at ep (index.js:1)
    at fp (index.js:1)
    at fv (index.js:1)
    at dv (index.js:1)
    at hv (index.js:1)
    at Xv (index.js:1)
    at Qv (index.js:1)
L @ index.js:1
t.sigil @ index.js:1
render @ index.js:1
tp @ index.js:1
ep @ index.js:1
fp @ index.js:1
fv @ index.js:1
dv @ index.js:1
hv @ index.js:1
Xv @ index.js:1
Qv @ index.js:1
Gv @ index.js:1
Vv @ index.js:1
yv @ index.js:1
enqueueSetState @ index.js:1
P.setState @ index.js:1
handleEvent @ index.js:1
handleEvent @ index.js:1
(anonymous) @ index.js:1
eventSource.onmessage @ channel.js:170
bug chat landscape

All 14 comments

Interesting, can you run .^(@uv %cx /=base=) and see what you get? This
seems to be an old bug that should have fixed by an over the air update.
—
~poldec-tonteg
http://urbit.org

On Tue, Oct 1, 2019 at 5:26 PM Henry Harder notifications@github.com
wrote:

Description

An uncaught exception crashes the page when trying to access
~chat/~dopzod/urbit-help room directly from the browser in landscape.

I am able to use landscape chat to chat in other rooms.
Trace

index.js:1 Uncaught Error: sigil.js cannot render @p of length 16. Only lengths of 1 (galaxy), 2 (star), and 4 (planet) are supported at this time.
at t.sigil (index.js:1)
at Xf.render (index.js:1)
at tp (index.js:1)
at ep (index.js:1)
at fp (index.js:1)
at fv (index.js:1)
at dv (index.js:1)
at hv (index.js:1)
at Xv (index.js:1)
at Qv (index.js:1)
L @ index.js:1
t.sigil @ index.js:1
render @ index.js:1
tp @ index.js:1
ep @ index.js:1
fp @ index.js:1
fv @ index.js:1
dv @ index.js:1
hv @ index.js:1
Xv @ index.js:1
Qv @ index.js:1
Gv @ index.js:1
Vv @ index.js:1
yv @ index.js:1
enqueueSetState @ index.js:1
P.setState @ index.js:1
handleEvent @ index.js:1
handleEvent @ index.js:1
(anonymous) @ index.js:1
eventSource.onmessage @ channel.js:170

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/urbit/issues/1784?email_source=notifications&email_token=AAMJBY2KUGW4WHTRLNGINDLQMPTDNA5CNFSM4I4QI7HKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HO73VGQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMJBY7ATPUUORSKGKNVNNDQMPTDNANCNFSM4I4QI7HA
.

I may have mis-typed/copied, but it seems to have failed:

> .^(@uv %cx /=base=)
/cx/~hasser-habsyr/base/~2019.10.2..00.36.49..31d7
ford: %ride failed to execute:

oh sorry, _I_ mistyped.

Try

.^(@uv %cz /=base=)
—
~poldec-tonteg
http://urbit.org

On Tue, Oct 1, 2019 at 5:37 PM Henry Harder notifications@github.com
wrote:

I may have mis-typed/copied, but it seems to have failed:

.^(@uv %cx /=base=)
/cx/~hasser-habsyr/base/~2019.10.2..00.36.49..31d7
ford: %ride failed to execute:

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/urbit/urbit/issues/1784?email_source=notifications&email_token=AAMJBY2GAWQGAFJDM63XUE3QMPUMDA5CNFSM4I4QI7HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEADFOPA#issuecomment-537286460,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMJBYYL42MOUJVPFFZXWX3QMPUMDANCNFSM4I4QI7HA
.

No worries! Here's the output:

0v17.jqib1.p1ns8.d6kf0.9p4eg.68h02.g2iu5.6mras.rju1m.q58vd.pgqd6

Thanks for the help/prompt replies.

Strange.. the behavior has changed to now the page doesn't crash, and I am able to access ~chat/~dopzod/urbit-help directly, but it does not appear in the sidebar.

0v1n.djsk7.b64go.7e1hh.nt0pd.vtuer.ha82q.oood4.7rgqg.5fb2s.kp9cd is the
most recent.

If this "fixed itself" I wonder if you started your ship and it took a
while for it to update (this happens if its been offline).

Can you run that command again .^(@uv %cz /=base=) and see if it's changed?

—
~poldec-tonteg
http://urbit.org

On Wed, Oct 2, 2019 at 9:58 AM Henry Harder notifications@github.com
wrote:

Strange.. the behavior has changed to now the page doesn't crash, and I am
able to access ~chat/~dopzod/urbit-help directly, but it does not appear
in the sidebar.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/urbit/urbit/issues/1784?email_source=notifications&email_token=AAMJBY2Y5DTJP42P4SDTQX3QMTHLXA5CNFSM4I4QI7HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAFOP7A#issuecomment-537585660,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMJBY2I56HIVVN3NT2LSPLQMTHLXANCNFSM4I4QI7HA
.

Ran it again:

0v17.jqib1.p1ns8.d6kf0.9p4eg.68h02.g2iu5.6mras.rju1m.q58vd.pgqd6

Seems not to have changed... I did migrate my ship to a cloud VM yesterday, which seemed to resolve an unrelated issue with a stack-trace, but this issue was still there.

Any ideas how I get on the latest version of.. haha whatever that command checks? (cz?)

It checks %clay, which is the ship's filesystem - corresponding to the pkg/arvo directory in the repo. If your .^(@uv %cz /=home=) is the same(corresponding to what your ship is actually running off, vs the update downloaded from upstream), that seems likely to be the problem; you can |mount %home, copy over everything in unix(to mypiername/home/), and |commit %home.

Thanks @ohAitch. Here's what I get:

> .^(@uv %cz /=home=)
0v1h.b0abo.ah87u.56ujr.lbpvm.ectie.5i3b0.rplr0.ps0l2.9648o.0ok70
> .^(@uv %cz /=base=)
0v17.jqib1.p1ns8.d6kf0.9p4eg.68h02.g2iu5.6mras.rju1m.q58vd.pgqd6

They aren't the same, is that expected? I'll try what you suggest, although I should already be mounted.

I assume this is because I am already mounted?

> |mount %home
/~zod/home/~2019.7.22..18.55.46..83a3/sys/vane/ford:<[4.850 18].[4.850 40]>
nest-fail
ford: %slit failed:
-want.{{now/@da eny/@uvJ bec/{p/@p q/@tas r/?({$ud p/@ud} {$da p/@da} {$tas p/@tas})}} {pax// pot/?($~ {v/@tas $~})} $~}
-have.{{now/@da eny/@uvJ bec/{p/@p q/@tas r/?({$ud p/@ud} {$da p/@da} {$tas p/@tas})}} {$home $~} $~}
ford: %call failed type calculation

You want |mount %, not |mount %home

It's confusing because it's |commit %home, not |commit %

We should fix this

—
~rovnys-ricfer
https://urbit.org

On Thu, Oct 03, 2019 at 1:09 PM, Henry Harder < [email protected] > wrote:

I assume this is because I am already mounted?

|mount %home /~zod/home/~2019.7.22..18.55.46..83a3/sys/vane/ford:<[4.850
18].[4.850 40]> nest-fail ford: %slit failed: -want.{{now/@da eny/@uvJ
bec/{p/@p q/@tas r/?({$ud p/@ud} {$da p/@da} {$tas p/@tas})}} {pax//
pot/?($~ {v/@tas $~})} $~} -have.{{now/@da eny/@uvJ bec/{p/@p q/@tas
r/?({$ud p/@ud} {$da p/@da} {$tas p/@tas})}} {$home $~} $~} ford: %call
failed type calculation

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (
https://github.com/urbit/urbit/issues/1784?email_source=notifications&email_token=AAGVR5NKY5IO6YKFANY65R3QMYRNRA5CNFSM4I4QI7HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAI4YZY#issuecomment-538037351
) , or mute the thread (
https://github.com/notifications/unsubscribe-auth/AAGVR5OJDPVTOYXIWR73MITQMYRNRANCNFSM4I4QI7HA
).

Ahh thank you! Yes that is slightly confusing. But easy enough once you know.

I did get mount failed \n already mounted, which seems self explanatory.

It looks like this one has been resolved, so I'll close it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jtobin picture jtobin  Â·  8Comments

kirkins picture kirkins  Â·  6Comments

hrharder picture hrharder  Â·  10Comments

custom-jonathan picture custom-jonathan  Â·  5Comments

s-ol picture s-ol  Â·  9Comments