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
After starting org-noter, invoking org-noter-create-skeleton, and selecting "Annotations", "Highlights" and "DONE", the process fails with the following error:
pdf-info-query: epdfinfo: Expected a relative rectangle: -5592405.330729-1084587.03282833335592405.3307291084588.0343433334
This happens only with a specific PDF; the highlights export fine in all the other files I tried.
The backtrace and some comments from GPT-4 follow, in case they help someone with better elisp skills diagnose the problem.
This error is likely occurring due to problems with the rectangle specified in the function call pdf-info-gettext. The rectangle dimensions given are unusually large and might be causing the error.
You can double check if the coordinates are correct. If the coordinates are auto generated, it could be an issue with how these coordinates are being calculated. For these kind of errors with coordinates, it's often because of some kind of data corruption or error in calculation.
Please update the rectangle coordinates to a reasonable values. Check the documentation or examples of usage of pdf-info-gettext to get an idea of typically used values.
If you are not sure what the values should be, it might be useful to understand that they typically specify the area in which you're interested in the PDF document. It's defined using a list of four numbers [left top right bottom], usually ranging from 0 to 1, which denote the relative position/size of the rectangle. For instance, a value of [0 0 1 1] would signify the full view.
If that doesn't solve it or the problem is more complex, consider reaching out to the maintainers of the package or seek help on a forum where Emacs and Lisp are being discussed. They will be in a better position to help with this.
The text was updated successfully, but these errors were encountered:
After starting
org-noter
, invokingorg-noter-create-skeleton
, and selecting "Annotations", "Highlights" and "DONE", the process fails with the following error:This happens only with a specific PDF; the highlights export fine in all the other files I tried.
The backtrace and some comments from GPT-4 follow, in case they help someone with better elisp skills diagnose the problem.
Backtrace
GPT-4 comments
The text was updated successfully, but these errors were encountered: