Skip to content

Unable to process pdfs - Windows #43

@fraserpage

Description

@fraserpage

I'm seeing the following on Windows 10. You assistance would be greatly appreciated.

Syntax Warning: Bad annotation destination
Syntax Warning: Bad annotation destination

I see about 30 lines of the above when using trying to process a pdf with pypdfocr filename.pdf.
I see the below with any usage.

WARNING: Could not execute identify to calculate DPI (try installing imagemagick?), so defaulting to 300dpi
Traceback (most recent call last):
File "", line 495, in
File "", line 492, in main
File "", line 474, in go
File "", line 480, in _convert_and_file_email
File "", line 359, in run_conversion
File "C:\Users\Virantha Ekanayake\dev\pypdfocr\build\pypdfocr_windows\out00-PYZ.pyz\pypdfocr_tesseract", line 130, in make_hocr_from_pnms
File "C:\Users\Virantha Ekanayake\dev\pypdfocr\build\pypdfocr_windows\out00-PYZ.pyz\pypdfocr_tesseract", line 96, in _is_version_uptodate
ValueError: invalid literal for int() with base 10: '00dev'

All dependencies are installed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions