Skip to content

pdf not opening #12746

Closed
Closed

Description

@jhs1965net

Search first

  • I searched and no similar issues were found

What Happened?

hi , pdf are not opening , the path to Zotero is not readable nor other folders

Reproduce the Bug

pdf.mjs:20981 Not allowed to load local resource: file:///Users/jameshamilton/logseq/graphs/Demo/assets/6a1a131c-abbe-495c-95f4-9fa1569ee8bd.pdf
utils.js:19 [PDF loader]
MissingPDFException {message: 'Missing PDF "file:///Users/jameshamilton/logseq/gr…assets/6a1a131c-abbe-495c-95f4-9fa1569ee8bd.pdf".', name: 'MissingPDFException', stack: 'Error\n at BaseExceptionClosure (lsp://logseq.io…\n at lsp://logseq.io/js/pdfjs/pdf.mjs:24779:36'}


Expected Behavior

No response

Screenshots

No response

Desktop or Mobile Platform Information

No response

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. silicht commented on Jun 2, 2026

    @silicht

    Same issue for (inline) images.

  2. judy9910082-svg commented on Jun 8, 2026

    @judy9910082-svg

    Same issure here.
    The PDFs could not be opened nor does the images when dragged from my files into Logseq unless I copy the ![...](...) from previous markdown version.

  3. e-zz commented on Jul 24, 2026

    @e-zz
    Contributor

    I thought there was a bug in the file path, but after fixing the pathes using symlink and having made sure PDF reachable, I still got the warning.

    Some basic info for debugging:

    Logseq v2.0.1 on both win10 and win11

    Error Msg in the console:
    Image

    Way to reproduce

    After importing MD version folders into DB version, go to any area highlight block and click on it.
    Or, try to open any PDF directly.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions