Roam-Research / issues

Roam Research - A note-taking tool for networked thought.
https://roamresearch.com/
304 stars 7 forks source link

Roam graph won't load; console shows "Uncaught Error: cannot compare ..." #652

Open byorgey opened 3 years ago

byorgey commented 3 years ago

Describe the bug

When I try to load my Roam graph (https://roamresearch.com/#/app/byorgey) in Firefox I just get an infinitely spinning astrolabe. When I look in the developer console I see the following:

Uncaught Error: Cannot compare {:block/uid "-iVjTme1e"} to {:block/uid "08-25-2020"}
    ah https://roamresearch.com/js/compiled/main.js:1739
    bh https://roamresearch.com/js/compiled/main.js:1740
    Jg https://roamresearch.com/js/compiled/main.js:2165
    $e https://roamresearch.com/js/compiled/main.js:1652
    nF https://roamresearch.com/js/compiled/main.js:2520
    tya https://roamresearch.com/js/compiled/main.js:2522
    wd https://roamresearch.com/js/compiled/main.js:2564
    wd https://roamresearch.com/js/compiled/main.js:2922
    LKa https://roamresearch.com/js/compiled/main.js:3713
    l https://roamresearch.com/js/compiled/main.js:3757
    m https://roamresearch.com/js/compiled/main.js:3781
    lD https://roamresearch.com/js/compiled/main.js:2411
    c https://roamresearch.com/js/compiled/main.js:2411
    v https://roamresearch.com/js/compiled/main.js:2397
    Tva https://roamresearch.com/js/compiled/main.js:2394
    onmessage https://roamresearch.com/js/compiled/main.js:1522
main.js:1739:427
    ah https://roamresearch.com/js/compiled/main.js:1739
    bh https://roamresearch.com/js/compiled/main.js:1740
    Jg https://roamresearch.com/js/compiled/main.js:2165
    $e https://roamresearch.com/js/compiled/main.js:1652
    nF https://roamresearch.com/js/compiled/main.js:2520
    tya https://roamresearch.com/js/compiled/main.js:2522
    comparefn self-hosted:193
    InsertionSort self-hosted:4416
    MergeSort self-hosted:4468
    sort self-hosted:181
    wd https://roamresearch.com/js/compiled/main.js:2564
    wd https://roamresearch.com/js/compiled/main.js:2922
    LKa https://roamresearch.com/js/compiled/main.js:3713
    l https://roamresearch.com/js/compiled/main.js:3757
    m https://roamresearch.com/js/compiled/main.js:3781
    lD https://roamresearch.com/js/compiled/main.js:2411
    c https://roamresearch.com/js/compiled/main.js:2411
    v https://roamresearch.com/js/compiled/main.js:2397
    Tva https://roamresearch.com/js/compiled/main.js:2394
    onmessage https://roamresearch.com/js/compiled/main.js:1522

System Information:

I also tried Chromium and it actually does work. But it still won't load in Firefox even after opening it in Chromium and making a few edits.

byorgey commented 3 years ago

Update: after using my graph for a while in Chromium and then attempting to open it in Firefox again, it now loads successfully. I'll leave this ticket open in case it points to something that can be fixed, but feel free to close. As far as I'm concerned everything is back to normal now.

0xRampey commented 3 years ago

This problem still persists for me on both Firefox 84.0 and Chrome 87. Weirdly, the Roam graph opens on Chromium.

System OS: Pop!_OS 20.10 x86_64

Rudeg commented 3 years ago

Got the same issue in chrome beta: Version 88.0.4324.50 (Official Build) beta (x86_64). In Firefox works fine.

jkugiya commented 3 years ago

I solved this by clearing cookie and logging in again.