manykarim / robotframework-doctestlibrary

Robot Framework DocTest library. Simple Automated Visual Document Testing.
Apache License 2.0
46 stars 20 forks source link

Encountering 'UnsupportedOperation: fileno' when attempting to compare PDF documents #26

Closed ipatterson closed 2 years ago

ipatterson commented 2 years ago

I'm encountering an issue where tests will break with zsh: segmentation fault when I attempt to compare PDF files on Mac. After enabling Python's fault handling, I get a UnsupportedOperation: fileno exception.

I tested with your PyMuPDF branch and am encountering the same issue.

I suspect the issue may be with Mac and Python, but I'm hopeful that bringing this up might show it to be a fixable issue.

ipatterson commented 2 years ago

That was an error on my part, I still had the older version installed.

After installing 0.2.0, I'm no longer seeing that issue!

manykarim commented 2 years ago

Funny, I just prepared the official release for 0.2.0 a few minutes ago. There are a few interesting new features in there. Like checking more content on the PDF. No need for ImageMagick & GhostScript anymore (only for .ps and .pcl files) New watermark feature to remove parts from comparison.