-
Notifications
You must be signed in to change notification settings - Fork 443
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
[BAD_INPUT_DATA] PDF to XML conversion failed with error code: 99 #166
Comments
Dear @yusuf-nathani, For the moment if you need to process pdf on your local windows machine, you can keep using the workaround you've successfully tested changing the parameter directly in the code. I will investigate into this. Cheers |
Thanks ! yes, pdf2xml needs to be updated for win64. @yusuf-nathani if I remember well, you should be able to use the latest stable release (grobid-0.4.1) without this problem. |
@kermitt2 - Yes, stable grobid-0.4.1 working without any problem. Thanks. |
Hi @lfoppiano , I need to run it locally. Console log on running batch from GrobidMain Screenshot of running as service: The result is same with PDF file from any source. Let me know, if you need anymore info |
@vishnudas-raveendran grobid is not supported to work on Windows. Unfortunately three platforms are too many for us, I recommend you to run it using docker. See some more information: https://grobid.readthedocs.io/en/latest/Troubleshooting/#windows-related-issues |
Hi, When using grobid with windows 8.1, TEI, for any pdf file i get following error.
Following are from log
Here command have constructed {{-annotation}} as an argument, but if look at log trace {{-annots}} should be argument name. If i manually change command with {{-annots}} and try to run from windows command prompt it does able to convert pdf2xml.
I have checked code here and -annotation is as an argument, which is not configurable to change it to {{-annots}}, https://github.com/kermitt2/grobid/blob/master/grobid-core/src/main/java/org/grobid/core/document/DocumentSource.java#L81
Can you please suggest workaround or possible solution here ?
The text was updated successfully, but these errors were encountered: