You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Import file graph to DB graph failed due to unrecognised Logseq properties #732
I can reproduce this issue every time I import my folder to a DB graph.
I have an annotated pdf file inside Logseq and the references were coloured the block has following internal properties:
ls-type:: annotation
hl-page:: 18
hl-color:: green
hl-stamp:: # value missing as I deleted this to fix some graph problem now can't recall
id:: 656e2e52-9f97-4a9d-b00e-b8ffcd32ff5c
The error message was:
with error: Tempids used only as value in transaction: ("green" "purple" "red")
Reproduce the Bug
As long as I have those hidden properties specified, the import would fail; removing them would fix the issue, but also invalidate my reference points in the pdf file.
Expected Behavior
The hidden properties should be recognised by Logseq DB, or it should be converted to valid Logseq DB language such that my pdf reference points in my note still work as before, i.e. click on the reference point would take me to page where I have highlighted paragraph in the pdf file.
Files
No response
Browser, Desktop or Mobile Platform Information
I am running MX Linux 23.4 (Debian 12 stable based) and the latest Linux x64 desktop version, 8th Jan buil (Desktop Release).
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.
Hi. As mentioned in our template, we'll need specific files for importing issues. Can you send me the pdf file and all associated .md and .edn files for it? If this is difficult for you todo, you can also send me your whole graph. I will delete these files once I'm done with the issue. My email is [email protected]
@logseq-cldwalker Thanks for reverting back. I've sent you an email with all the files and the graph. Please let me know if you need anything that I can share and help with this issue.
@qiuxiaomu Thanks for sending some example files. I've pushed a fix for your import error to test.logseq.com that will be available in 10 minutes. One unusual thing I noticed about your highlights files is that they don't start with 'hls__' and are missing 'file' and 'file-path' properties which are needed by all annotation files. This means that these annotation blocks import as regular blocks and not as blocks tagged with Pdf Annotation.
Activity
logseq-cldwalker commentedon Jan 19, 2026
Hi. As mentioned in our template, we'll need specific files for importing issues. Can you send me the pdf file and all associated .md and .edn files for it? If this is difficult for you todo, you can also send me your whole graph. I will delete these files once I'm done with the issue. My email is [email protected]
qiuxiaomu commentedon Jan 20, 2026
@logseq-cldwalker Thanks for reverting back. I've sent you an email with all the files and the graph. Please let me know if you need anything that I can share and help with this issue.
fix: import of unlinked pdf annotations
logseq-cldwalker commentedon Jan 26, 2026
@qiuxiaomu Thanks for sending some example files. I've pushed a fix for your import error to test.logseq.com that will be available in 10 minutes. One unusual thing I noticed about your highlights files is that they don't start with 'hls__' and are missing 'file' and 'file-path' properties which are needed by all annotation files. This means that these annotation blocks import as regular blocks and not as blocks tagged with
Pdf Annotation.fix: import of unlinked pdf annotations
logseq-cldwalker commentedon Feb 2, 2026
Closing as this should be fixed
fix: import of unlinked pdf annotations
fix: import of unlinked pdf annotations
fix: import of unlinked pdf annotations
fix: import of unlinked pdf annotations