Describe the bug
logseq-anki-sync adds sub-blocks to the sub-block b_M of a card b that are not sub-blocks of b_M in logseq - but b_M has a block reference to block A and the added sub-blocks parents blocks also have a reference to block A.
Confused? Me to. There might even be an aspect I am missing. The example below might illustrate it properly
Tried to reproduce it with this:
- A: convo with Person
id:: 688f45c8-e604-4a5e-9ce8-4fb36e3b8408
- B: example sentence num 1
id:: 688f45e9-3940-4266-99ab-0da1a99d8e9a
- B': Translation of example sentence
- C: example sentence num2
- C': translation of second example sentence
- (actually there are more)
- D: Vocs
- b: word from B #card
id:: 688f463d-54be-41b3-8913-5b5cb459e6d8
- b_m: meaning , source is ((688f45c8-e604-4a5e-9ce8-4fb36e3b8408))
id:: 688f464f-d8bb-4f9d-9fa8-aa72e343a049
- <meaning of word from B>
id:: 688f4668-0b5b-4398-b680-ecf8ce8c3274
- c: word from C #card
id:: 688f467f-ed97-4b19-997d-c399ca97db12
- c_M: "meaning", source is ((688f45c8-e604-4a5e-9ce8-4fb36e3b8408))
- <meaning of word from C>
id:: 688f46c9-e63c-4d0b-8f7e-8e8b6bc07f7d
This does not seem to trigger the bug though. Maybe adding a D,E,F... does it. Maybe another word from B having a card does it - but also shows up sometimes under "b_m: meaning , source is ((688f45c8-e604-4a5e-9ce8-4fb36e3b8408))
id:: 688f464f-d8bb-4f9d-9fa8-aa72e343a049" - eventhough it should not.
But assuming the bug would occur,
- b: word from B #card
- b_m: meaning , source is A: convo with Person
- <meaning of word from B>
- <meaning of word from C>
- <maybe also meaning of word from D, but not guaranteed>
A suspicious thing might be that if I sync anki and logseq, all cards always are listed as update, eventhough there were no changes on either side.
Steps to Reproduce:
Was not able to, see above. Happens with multiple cards though.
Expected behavior
Anki card should look like
- b: word from B #card
- b_m: meaning , source is A: convo with Person
- <meaning of word from B>
So no extra subblocks added
Developer console screenshot:
Please add a screenshot of the error in logseq's developer console if applicable. Logseq's developer console can be accessed by pressing Ctrl + Shift + I.
Device Information (please complete the following information):
- OS with version: Windows 10 Home (also shown on the android app, the data in anki is wrong)
- Logseq Anki Sync Plugin Version: 6.4.7
- Anki Version: 25.02.7 (1b882285)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
- AnkiConnect Addon Version: not sure, seems to be newest, only found
{"name": "AnkiConnect", "mod": 1749780107, "min_point_version": 45, "max_point_version": 45, "branch_index": 1, "disabled": false}
- Logseq Version: 0.10.12
Describe the bug
logseq-anki-sync adds sub-blocks to the sub-block b_M of a card b that are not sub-blocks of b_M in logseq - but b_M has a block reference to block A and the added sub-blocks parents blocks also have a reference to block A.
Confused? Me to. There might even be an aspect I am missing. The example below might illustrate it properly
Tried to reproduce it with this:
This does not seem to trigger the bug though. Maybe adding a D,E,F... does it. Maybe another word from B having a card does it - but also shows up sometimes under "b_m: meaning , source is ((688f45c8-e604-4a5e-9ce8-4fb36e3b8408))
id:: 688f464f-d8bb-4f9d-9fa8-aa72e343a049" - eventhough it should not.
But assuming the bug would occur,
A suspicious thing might be that if I sync anki and logseq, all cards always are listed as update, eventhough there were no changes on either side.
Steps to Reproduce:
Was not able to, see above. Happens with multiple cards though.
Expected behavior
Anki card should look like
So no extra subblocks added
Developer console screenshot:
Please add a screenshot of the error in logseq's developer console if applicable. Logseq's developer console can be accessed by pressing
Ctrl + Shift + I.Device Information (please complete the following information):
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
{"name": "AnkiConnect", "mod": 1749780107, "min_point_version": 45, "max_point_version": 45, "branch_index": 1, "disabled": false}