allenai / pdffigures2

Given a scholarly PDF, extract figures, tables, captions, and section titles.
http://pdffigures2.allenai.org/
Apache License 2.0
615 stars 123 forks source link

Not a valid command 'run-main' #19

Open Hellodhakad opened 6 years ago

Hellodhakad commented 6 years ago

HI, I am getting error while I run my python script. I am using- python:3.6 ubuntu:17.10 a

Sparkier commented 5 years ago

I think changing run-main to runMain already does the trick.

JaniceXiong commented 3 years ago

I meet the same error. Did you fix it? image

Sparkier commented 3 years ago

Yes, I have this PR: https://github.com/allenai/pdffigures2/pull/33 which is based on this fork: https://github.com/Sparkier/pdffigures2. You should be able to get it running using that. It seems like this repo is not maintained anymore, though, so my PR does not get attention.

JaniceXiong commented 3 years ago

Yes, I have this PR: #33 which is based on this fork: https://github.com/Sparkier/pdffigures2. You should be able to get it running using that. It seems like this repo is not maintained anymore, though, so my PR does not get attention.

Thanks a lot! I fixed above problem. But when I change the sbt version to 1.3.0 and use your PR, the new problem occur. Do you have any idea of that? It seems that many dependent package is not found ... @Sparkier image

dirkraft commented 3 years ago

Hello. A coworker pointed out your activity here. We don't have any bandwidth to offer support for this repo, but I may be able to give you some pointers.

"common-core" refers to a module defined in this repo. https://github.com/allenai/common

Since bintray shut down, that might have been where this dependency was previously available, the part about dl.bintray.com/allenai... You might have some luck building/installing the dependency locally of that other repo, but I do not know how far down the rabbit hole goes. There may be other missing transitive dependencies. Cloning that repo and running sbt +publishLocal would be the first step. Maybe that will just work for this repo, or maybe you will have to chase down some other dependencies or sbt settings that lets you use locally published dependencies.