Open navraj28 opened 4 years ago
Hello @navraj28 As indicated in the documentation, the latest release (0.6.1) and current master do not support the Windows platform, pdfalto has not been recompiled for this platform. You will need to use the docker image to have it running on Windows.
@navraj28 https://grobid.readthedocs.io/en/latest/Troubleshooting/#windows-related-issues
You can use the docker image and the java/python client
@lfoppiano Strangely, I am able to run the almost exact same code in the Unit Tests (TestHeaderParser.testHeaderHeader), but not the example Java API code.
@navraj28 it's not strange, the test isolates the process from pdfalto and from the stuff outside the HeaderParser class (the unit of the test).
Thank you @kermitt2
Are there plans to have it working again on Windows? I'm unable to update past 0.6.0 at present
@siggins we can't ensure the compatibility with Windows as the work to maintain all the three OS is quite big, however, we would be happy to get help from someone more familiar with it.
What's needed to get support working again on Windows? I may be able to help
Hi @siggins ! Currently the only piece missing for Windows is to recompile pdfalto binary (using Cygwin) and move it under grobid-home/pdf2xml/win-64/pdfalto/
.
@siggins any luck? I remember I spent a good week building the last version 😓
Hello! 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);