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
Summary: The current requirement file dev_tools/requirements/parse-requirements.txt fails to be installed by pip for the environment to run common.document_parser. See issue #294. By install package by package until common.document_parser can run, I have the list of pip packages to be installed.
See the attached requirements.txt for a tentative requirement file for pip packages.
Yet, it fails to parse PDF documents with error object has no attribute 'pageCount'.
2023-11-07 17:05:59,186 - [INFO] - Finished Processing: <ForkProcess name='ForkPoolWorker-1' parent=952070 started daemon> - Filename: AFI 36-129_USAFE-AFAFRICASUP.pdf
2023-11-07 17:05:59,186 - [INFO] - Processing: <ForkProcess name='ForkPoolWorker-1' parent=952070 started daemon> - Filename: STP 10-92M15-SM-TG.pdf
running policy_analyics.parse on /mnt/extra/gamechanger-download-smallset/STP 10-92M15-SM-TG.pdf
ERROR in policy_analytics.parse: cannot open broken document
2023-11-07 17:05:59,187 - [INFO] - Finished Processing: <ForkProcess name='ForkPoolWorker-1' parent=952070 started daemon> - Filename: STP 10-92M15-SM-TG.pdf
Current Time = 17:05:59
2023-11-07 17:05:59,188 - [INFO] - Documents parsed (or attempted): 6
real 0m9.808s
user 0m9.351s
sys 0m2.399s
Summary: The current requirement file
dev_tools/requirements/parse-requirements.txt
fails to be installed by pip for the environment to runcommon.document_parser
. See issue #294. By install package by package untilcommon.document_parser
can run, I have the list of pip packages to be installed.See the attached
requirements.txt
for a tentative requirement file for pip packages.Yet, it fails to parse PDF documents with error
object has no attribute 'pageCount'
.References:
CC: @drospond @amaruca @amaruca141
The text was updated successfully, but these errors were encountered: