debanjandhar12 / logseq-anki-sync

An logseq to anki syncing plugin with superpowers - image occlusion, card direction, incremental cards, and a lot more.
GNU Affero General Public License v3.0
446 stars 30 forks source link

Canot read properties of undefined (raeding '$uuid$') #111

Open DYAKOOO opened 1 year ago

DYAKOOO commented 1 year ago

Describe the bug I don't know where the UUID variable is. I opened the jason file but don't know which setting correspond to UUID variable. I downgraded the Anki to 2.4.5 but that still didn't work. I also upgraded logseq.

image

Device Information (please complete the following information):

debanjandhar12 commented 1 year ago

Seems like the db query is either returning null / unidentified, or there is a schema change in return value?. I was unable to reproduce this however.


Can you run this line in logseq's dev console:

logseq.api.datascript_query(`
        [:find (pull ?b [*])
        :where
        [?p :block/name "card"]
        [?b :block/refs ?p]
        ]`);

and give me a screenshot with the returned value expanded?

DYAKOOO commented 1 year ago
logseq.api.datascript_query(`
        [:find (pull ?b [*])
        :where
        [?p :block/name "card"]
        [?b :block/refs ?p]
        ]`);

image