Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org-noter: Wrong type argument: integer-or-marker-p, nil when using PDFView mode #186

Open
pgh79 opened this issue Oct 20, 2024 · 0 comments

Comments

@pgh79
Copy link

pgh79 commented Oct 20, 2024

I encountered an error when using org-noter with PDFView mode. Here are the steps to reproduce the issue:

Open a PDF file in Emacs using pdf-tools.

Run org-noter and input the file name and storage location as prompted.

After confirming the inputs, the following error is thrown:
Error: org-noter: Wrong type argument: integer-or-marker-p, nil

This only happens when using PDFView mode. It works fine in DocView mode. I have also confirmed that the epdfinfo program is working correctly using pdf-info-check-epdfinfo.

Expected behavior:
Org-noter should work smoothly with PDFView mode, allowing note-taking alongside the PDF document.

Screenshots:
Here is a screenshot showing the error in PDFView mode:

Environment:

Emacs version: GNU Emacs 29.1 (build 1, aarch64-apple-darwin23.5.0, Carbon Version 170 AppKit 2487.6)
org-noter version: 20240918.1703
Snipaste_2024-10-20_23-35-38
Snipaste_2024-10-20_23-21-38
cgi-bin_mmwebwx-bin_webwxgetmsgimg_ MsgID=6255631419211231872 skey=@crypt_298f3214_f82757b72b322d11a3499234c17ef4a1 mmweb_appid=wx_webfilehelper

OS: macOS 14 (Sonoma)
PDF Tools version: 20240429.407
Additional context:
I have attached the relevant configuration and steps to reproduce the issue in the attached images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant