Skip to content

Import file graph to DB graph failed due to unrecognised Logseq properties #732

Closed

Description

@qiuxiaomu

Search first

  • I searched and no similar issues were found

What Happened?

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.

  • I'm willing to submit a PR (Thank you!)

Activity

  1. logseq-cldwalker commented on Jan 19, 2026

    @logseq-cldwalker
    Contributor

    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]

  2. added
    can't reproduce
    awaiting-response
    on Jan 19, 2026
  3. qiuxiaomu commented on Jan 20, 2026

    @qiuxiaomu
    Author

    @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.

  4. logseq-cldwalker commented on Jan 26, 2026

    @logseq-cldwalker
    Contributor

    @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.

  5. added and removed
    can't reproduce
    on Jan 26, 2026
  6. logseq-cldwalker commented on Feb 2, 2026

    @logseq-cldwalker
    Contributor

    Closing as this should be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

awaiting-responseimportin review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions