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
Crash when trying to extract table it can't quite find #216
Comments
Thanks for flagging, @stucka! That's an oversight on my part, and changing the behavior sounds like a good idea. |
Fixed and now available in v0.5.21. Thanks again! |
Thank you! Weirdly, still getting that though, and I can't figure out why from your code. It's now doing that on two of three versions of the same report, but the first one worked. Latest: 5/25 crashed on the penultimate version of pdfplumber. Here's the 5/31 file: IndexError Traceback (most recent call last) c:\python37\lib\site-packages\pdfplumber\page.py in extract_table(self, table_settings) IndexError: list index out of range |
Just a note to say that, on my tests, I'm not getting this error. Judging by the traceback in your most recent comment, I wonder whether it was a temporary environment issue, since the IndexError doesn't seem to match up with the code the traceback produced. (I.e., |
pdfplumber crashes when it's trying to extract_table with a table it can't quite ... find? but extract_tables (plural) returns an empty list. Should extract_table return None or an empty list?
May 18 file from here works fine. May 25 file crashes:
http://ldh.la.gov/index.cfm/page/3965
The text was updated successfully, but these errors were encountered: