openlabs / docker-wkhtmltopdf-aas

wkhtmltopdf in a docker container as a web service.
BSD 3-Clause "New" or "Revised" License
99 stars 94 forks source link

wkhtmltopdf.sh: No such file or directory #4

Closed ncjones closed 9 years ago

ncjones commented 10 years ago

I get a "no such file" error when a request is being processed:

bash: /usr/local/bin/wkhtmltopdf.sh: No such file or directory
2014-09-02 06:30:14 [13] [ERROR] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/sync.py", line 93, in handle
    self.handle_request(listener, req, client, addr)
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/sync.py", line 134, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
  File "/usr/local/lib/python2.7/dist-packages/werkzeug/wrappers.py", line 286, in application
    return f(*args[:-2] + (request,))(*args[-2:])
  File "/app.py", line 57, in application
    execute(' '.join(args))
  File "/usr/local/lib/python2.7/dist-packages/executor/__init__.py", line 92, in execute
    raise ExternalCommandFailed(msg % (shell.returncode, command))
ExternalCommandFailed: External command failed with exit code 127! (command: /usr/local/bin/wkhtmltopdf.sh /tmp/tmpnTO3Fm.html /tmp/tmpnTO3Fm.html.pdf)
ncjones commented 10 years ago

Pull request #7 fixes this.

sharoonthomas commented 9 years ago

@ncjones just saw your PR. Merged it.

Thanks for the patch. :+1: