File to DB graph import failure
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 18/100
Direzione di ricerca
The failure comes from the File to DB graph importer, which raises an entity-id/missing error for a block UUID referenced with ((uuid)) but defined by an id:: property in the source Markdown. Start by reproducing with a minimal graph containing one id:: block and one block reference, since the reporter has not isolated one. Done means the import completes and the reference resolves to the defining block.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Search first
- I searched and no similar issues were found
What Happened?
Importing my existing Logseq OG file-based graph into Logseq DB 2.0.2 using “File to DB graph” fails with:
Unexpected error: Nothing found for entity id [:block/uuid #uuid "658d002d-b615-4176-8be5-269641a2f92d"]
The UUID exists in the source Markdown files: one block defines it with id::, and another references it using ((uuid)). The matching excerpts are:
- "perceiving gradients" is a critical point on evolutionary "direction" and the future of our species id:: 658d002d-b615-4176-8be5-269641a2f92d
- ((658d002d-b615-4176-8be5-269641a2f92d))
Replacing that reference with plain text in a test copy did not resolve the import: it failed on another UUID, 658a5b09-194f-4606-9eff-2e497447d8e5.
Reproduce the Bug
Open Logseq DB 2.0.2.
- Choose Import → “File to DB graph.”
- Select the existing Logseq OG graph folder and start importing
- The import fails with the missing-entity error above
- In a test copy, replace the offending ((uuid)) reference with its source text and retry.
- The import fails again, reporting a different UUID.
This reproduces with my graph; I have not yet isolated a minimal reproducing graph.
Expected Behavior
The OG graph should import successfully, preserving blocks and their references. In particular, the importer should resolve a reference when the corresponding block’s id:: definition exists in the source files.
Screenshots
No response
Desktop or Mobile Platform Information
No response
Additional Context
Developer Tools showed these two errors:
POST http://127.0.0.1:50071/v1/invoke 409 (Conflict)
17:11:05.393 [frontend.components.imports]
{:import-file-graph-failed
{:error #error
{:message "Nothing found for entity id [:block/uuid #uuid \"658d002d-b615-4176-8be5-269641a2f92d\"]",
:data
{:error :entity-id/missing,
:entity-id [:block/uuid #uuid "658d002d-b615-4176-8be5-269641a2f92d"]}}},
:line 420}
Repeated attempts have reported different missing UUIDs, although the original UUID has also recurred. A folder-wide search with Notepad++ found six occurrences of the original UUID traceable to two note entries. The excerpts above show an ordinary block reference, not an embed or query.
These observations do not establish whether the cause is source content or an importer bug. I have not confirmed a successful import or tested a newer nightly build.
Are you willing to submit a PR? If you know how to fix the bug.
- I'm willing to submit a PR (Thank you!)
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 29
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di logseq/db-test
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Potential Dataloss: Deleting an entry from the property page's node table has no confirmation dialogForse già presa @tiensonqin l’ha presa 59 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Disabling Flashcards in Settings does not disable Flashcard shortcuts or tagsForse già presa @tiensonqin l’ha presa 60 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Tutte le issue di logseq/db-test
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
Becksteinlab/imdclient#161 ·
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 2 giorni
-
geodata good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
dgunning/edgartools#2019 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 72/100
alltheplaces/alltheplaces#20745 ·
I maintainer di solito rispondono entro 1 giorno