Running the java example on Windows
See original GitHub issueHello!
I am trying to run the Java example, as per. I built Grobid against the Master branch.
I see that signature of Engine.processHeader has changed from boolean to int. I tried both 0 & 1. engine.processHeader(pdfPath, 0, resHeader);
I am getting the below stack-trace:
INFO: Loading model: D:\grobid\grobid-home\models\header\model.wapiti (size: 15734670)
org.grobid.core.exceptions.GrobidException: [PDFTOXML_CONVERSION_FAILURE] PDF to XML conversion failed on pdf file .\src\test\resources\Wang_paperAVE2008.pdf
null
at org.grobid.core.document.DocumentSource.processPdfToXmlThreadMode(DocumentSource.java:208)
at org.grobid.core.document.DocumentSource.pdf2xml(DocumentSource.java:154)
at org.grobid.core.document.DocumentSource.fromPdf(DocumentSource.java:63)
at org.grobid.core.document.DocumentSource.fromPdf(DocumentSource.java:49)
at org.grobid.core.engines.HeaderParser.processing(HeaderParser.java:101)
at org.grobid.core.engines.Engine.processHeader(Engine.java:385)
at org.grobid.core.engines.Engine.processHeader(Engine.java:374)
at org.grobidExample.MyGrobid.runGrobid(MyGrobid.java:38)
at org.grobidExample.App.main(App.java:11)
[Wapiti] Loading model: "D:\grobid\grobid-home\models\header\model.wapiti"
Model path: D:\grobid\grobid-home\models\header\model.wapiti
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
How to Run a Java program in Windows 10 - Javatpoint
Open the control panel -> System and Security -> System -> Advanced System Settings. · Click on Environment Variables, go to system variables,...
Read more >Hello World in Java on Windows (manual instructions)
Hello World in Java on Windows (manual instructions) · 1. Create the Program in DrJava · 2. Compile the Program from DrJava ·...
Read more >How to Run Java Program in Windows 10 - Linux Hint
To run a Java program in Windows, open Command Prompt and compile program file using “javac” command. Then, execute the Java program using...
Read more >How to Install Java on Windows {Step-by-Step Guide}
Check if Java Is Installed · Download Java for Windows 10 · Install Java on Windows 10. Step 1: Run the Downloaded File;...
Read more >How To Run A Java Program In Windows 10+
If you want to compile & run your Java Program anywhere from command line, you need to set environment variables. In order to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@navraj28 https://grobid.readthedocs.io/en/latest/Troubleshooting/#windows-related-issues
You can use the docker image and the java/python client
@siggins any luck? I remember I spent a good week building the last version 😓