We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I encountered the following error when processing a PDF file that contains multiple tables.
Traceback (most recent call last): File "/Users/mashihua/work/parser-test.py", line 29, in <module> parsed = parser.parse(basic_doc_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/mashihua/anaconda3/lib/python3.11/site-packages/openparse/doc_parser.py", line 106, in parse table_elems = tables.ingest(doc, table_args_obj, verbose=self._verbose) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/mashihua/anaconda3/lib/python3.11/site-packages/openparse/tables/parse.py", line 221, in ingest return _ingest_with_pymupdf(doc, parsing_args, verbose) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/mashihua/anaconda3/lib/python3.11/site-packages/openparse/tables/parse.py", line 59, in _ingest_with_pymupdf text = pymupdf.output_to_markdown(headers, lines) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/mashihua/anaconda3/lib/python3.11/site-packages/openparse/tables/pymupdf/parse.py", line 25, in output_to_markdown markdown_output = "| " + " | ".join(headers) + " |\n" TypeError: sequence item 2: expected str instance, NoneType found
No response
The text was updated successfully, but these errors were encountered:
Update parse.py
f1b16d8
Fix bug with Filimoa#28
Fixed with #32
Sorry, something went wrong.
No branches or pull requests
Initial Checks
Description
I encountered the following error when processing a PDF file that contains multiple tables.
Example Code
No response
The text was updated successfully, but these errors were encountered: