Skip to content

Import of MD graph results in numerous errors, doesn't complete #679

Closed

Description

@odysseus90210

Search first

  • I searched and no similar issues were found

What Happened?

Import threw many errors and the froze at "Loading … 5573/5573"

Reproduce the Bug

  1. Import MD graph
  2. Import hangs with errors such as "re-find must match against a string" or "Import failed on "pages/R%3A goldhillGeneralizingTragedy2008.md" with error:
    Nothing found for entity id [:block/uuid #uuid "69486ece-8375-4f88-9d46-74a7eba5c53a"]"

Expected Behavior

Import should complete normally without errors.

Files

No response

Browser, Desktop or Mobile Platform Information

Mac OS 26.2, Desktop app 0.11.0 (87)

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. odysseus90210 commented on Dec 21, 2025

    @odysseus90210
    Author

    I'm trying to upload my MD graph but it fails every time!

  2. added
    bug
    on Dec 24, 2025
  3. added
    can't reproduce
    awaiting-response
    on Jan 20, 2026
  4. logseq-cldwalker commented on Jan 20, 2026

    @logseq-cldwalker
    Contributor

    Hi. As mentioned in our bug template, we'll need specific files in order to reproduce and fix import issues. Can you send me the page 'R%3A goldhillGeneralizingTragedy2008.md'? My email is [email protected]. If I'm unable to reproduce from that one page I'll likely need the whole file graph to reproduce

  5. justjom commented on Jan 21, 2026

    @justjom

    Hi. I have exactly the same issue with many errors while importing years of journal MD files. Is a solution already found? I can only start using Logseq DB once this is solved.

    Image
  6. justjom commented on Jan 21, 2026

    @justjom

    I found somewhere importing JSON files can have this issue.

    The problematic block is the first one in the page as the receiving end expects something else in this block. Insert one more block before it and try again.

  7. logseq-cldwalker commented on Jan 21, 2026

    @logseq-cldwalker
    Contributor

    @justjom Hi. As mentioned in #679 (comment), feel free to send me those failing pages at [email protected] as I can't reproduce this. JSON importing isn't relevant as it isn't used in the DB version

  8. added and removed
    can't reproduce
    on Jan 27, 2026
  9. added a commit that references this issue on Jan 27, 2026
  10. 9 remaining items

  11. logseq-cldwalker commented on Jan 29, 2026

    @logseq-cldwalker
    Contributor

    The bug I fixed was caused by a 3 level namespaced tag e.g. #n1/n2/n3. If you have more specific examples, please email them to [email protected]. If any of the namespaces have their own page e.g. n3 please include those pages as well. Fwiw, fixing these bugs would be faster if I had the whole graph or at least all the failing pages. If the failing pages have sensitive content, try removing all the blocks except for the ones that have namespaced tags

  12. justjom commented on Jan 31, 2026

    @justjom
  13. justjom commented on Jan 31, 2026

    @justjom
  14. logseq-cldwalker commented on Feb 2, 2026

    @logseq-cldwalker
    Contributor

    Can a new version be created which includes this fix, so I can test it and see what import issues are remaining? I look forward testing it again.

    @justjom The current version has that fix which is why your small test graph was importing correctly when it wasn't before.

    Can you explain in more detail what these error messages mean, so I can focus on what to search for in my notes?

    These are unexpected errors so unfortunately I can't be certain without the files to reproduce them. My best guess is that it's related to another bug with namespaced tags. This is why In #679 (comment), I recommended you send all failing pages with just the blocks containing namespace tags to me

  15. justjom commented on Feb 3, 2026

    @justjom
  16. logseq-cldwalker commented on Feb 4, 2026

    @logseq-cldwalker
    Contributor
  17. justjom commented on Feb 4, 2026

    @justjom
  18. logseq-cldwalker commented on Feb 4, 2026

    @logseq-cldwalker
    Contributor

    Thanks for providing more info but unfortunately none of this helps at reproducing and fixing these bugs. If at some point you're able to provide some of the 15 journal files that are failing, please email them to [email protected]

  19. added a commit that references this issue on Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

awaiting-responsebugimportnamespace

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions