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

LinDA Analytics Engine - Download report doesn't work #198

Open
smouzakitis opened this issue Sep 11, 2015 · 0 comments
Open

LinDA Analytics Engine - Download report doesn't work #198

smouzakitis opened this issue Sep 11, 2015 · 0 comments
Assignees

Comments

@smouzakitis
Copy link
Contributor

I followed the tool examples / steps for Example 1 : How to prepare and interpret an analysis. After step 15 "Press submit and wait." , i saw the results and clicked Download report.
I got the following:

OSError at /analytics/report/58/exportreport/

wkhtmltopdf exited with non-zero code 2. error:

                    response = wrapped_callback(request, *callback_args, **callback_kwargs)

 ...

▶ Local vars
/home/linda/LindaWorkbench/linda/analytics/views.py in exportreport

        pdfkit.from_url('http://localhost:8000'+str(pdfurl), tempfile)

 ...

▶ Local vars
/home/linda/LindaWorkbench/LindaEnv/lib/python3.4/site-packages/pdfkit/api.py in from_url

    return r.to_pdf(output_path)

 ...

▶ Local vars
/home/linda/LindaWorkbench/LindaEnv/lib/python3.4/site-packages/pdfkit/pdfkit.py in to_pdf

            raise IOError("wkhtmltopdf exited with non-zero code {0}. error:\n{1}".format(exit_code, stderr.decode("utf-8")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants