Skip to content
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

Invalid value for "PDF_PATH": File "/work/host-input/paper.pdf" does not exist. #4

Open
lpengxue opened this issue Oct 8, 2018 · 0 comments

Comments

@lpengxue
Copy link

lpengxue commented Oct 8, 2018

Docker build has succeeded.

Usage: rundetection.py [OPTIONS] OUTPUT_DIRECTORY PDF_PATH
Try "rundetection.py -h" for help.

Error: Invalid value for "PDF_PATH": File "/work/host-input/paper.pdf" does not exist.
Traceback (most recent call last):
File "manage.py", line 70, in
manage()
File "/media/amax/Masters/liupengxue/lpx/lib/python3.5/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/media/amax/Masters/liupengxue/lpx/lib/python3.5/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/media/amax/Masters/liupengxue/lpx/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/media/amax/Masters/liupengxue/lpx/lib/python3.5/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/media/amax/Masters/liupengxue/lpx/lib/python3.5/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/media/amax/Masters/liupengxue/deepfigures/deepfigures-open-master/scripts/detectfigures.py", line 79, in detectfigures
raise_error=True)
File "/media/amax/Masters/liupengxue/deepfigures/deepfigures-open-master/scripts/init.py", line 54, in execute
cmd=command)
subprocess.CalledProcessError: Command 'docker run --rm --env-file deepfigures-local.env --volume /media/amax/Masters/liupengxue/deepfigures/deepfigures-open-master/results:/work/host-output/ --volume /media/amax/Masters/liupengxue/deepfigures/deepfigures-open-master:/work/host-input/ deepfigures-cpu:0.0.1 python3 /work/scripts/rundetection.py /work/host-output/ /work/host-input/paper.pdf' returned non-zero exit status 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant