maria icon indicating copy to clipboard operation
maria copied to clipboard

Uncaught TypeError when trying to view a gist

Open demicuz opened this issue 4 years ago • 3 comments

Issue:

I've logged in to GitHub and tried to save a gist. After that I wasn't able to access it due to an error:

Uncaught TypeError: cljs$cst$keyword$editor_DASH_view.cljs$core$IFn$_invoke$arity$1(...) is null
    a https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:9411
    cljs$core$IFn$_invoke$arity$3 https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:2110
    cljs$core$IFn$_invoke$arity$3 https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:2123
    b https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:9411
    d https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:9412
    <anonymous> https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:9719
    e https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:2179
    cljs$core$IFn$_invoke$arity$1 https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:7459
    handler https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:7472
    add_binding https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:4746
    _fire https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:264
    _handle_combo_down https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:268
    _key_down https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:267
    _receive_input https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:264
    keydown_event https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:256
    a https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:256
    fireListener https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:4726
    handleBrowserEvent_ https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:4729
    b https://user.maria.cloud/js/compiled/live/shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:4718
shadow-live.A28228DDF7BFD70360D48EC6E749DED5.js:9411:264

When I log out, everything works just fine.

Environment:

  • Browser: Firefox 83.0-1
  • Platform: Linux Manjaro 20.2 Nibia

URL to a gist replicating the issue

https://www.maria.cloud/gist/17b2df3f1419ca70c4a86e86761c5f01

demicuz avatar Nov 26 '20 22:11 demicuz

A temporary workaround - click on a small square below the file name that says "View Gist". It opens the gist in a new tab and on Maria's tab opens the file without throwing the error. Though a page refresh will break it again.

demicuz avatar Dec 18 '20 13:12 demicuz

thanks for reporting this - I've also seen some errors when trying to save gists, though I've been able to continue by refreshing. I hope to dig into this soon.

mhuebert avatar Dec 18 '20 14:12 mhuebert

I believe this is fixed in our dev channel (dev.maria.cloud), cannot confirm with certainty

mhuebert avatar Apr 15 '22 22:04 mhuebert