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
Thanks for flagging this, @dimmg! I tracked down the problem:
v0.5.7 upgrades pdfminer.six from version 20151013 to 20170720
pdfminer.six==20170720 pulls in some additional properties for PDF objects including, stroking_color and non_stroking_color
Some of the objects in your cited PDF had a non_stroking_color of /'P1', which is, indeed, non-decimalize-able
The fix:
Added stroking_color and non_stroking_color to the list of properties not to decimalize. (Which makes sense, since there should be no need to decimalize them in the first place.)
The fix has been pushed and merged, and is now available in v0.5.8.
I am encountering this problem when parsing the following source.
This problem occurs after upgrading from
0.5.6
to0.5.7
. Using0.5.6
results in no errors.Source example:
Output:
The text was updated successfully, but these errors were encountered: