Installation failure due to wkthmltox

Hello everybody!

I just tried installing ERPNext following these instructions, but the installer is crashing.

It looks like the URL of the wkthmltox package is timing out and the installer collapses. How could I circumvent this issue? Are there alternative URLs for this package? I found this one, for example. Assuming it’s legitimate, how could I use it instead? Or… is there another route to get this package installed?

I’m running this on a fresh install of Ubuntu 16.04.2 x64.

sudo python install.py --production

[...]

TASK [Install nodejs 6.x] ******************************************************
ok: [localhost]

TASK [include] *****************************************************************
included: /tmp/.bench/playbooks/develop/includes/mariadb_ubuntu.yml for localhost

TASK [Add apt key for mariadb for Ubuntu < 16.04] ******************************
skipping: [localhost]

TASK [Add apt key for mariadb for Ubuntu >= 16.04] *****************************
ok: [localhost]

TASK [Add apt repository] ******************************************************
ok: [localhost]

TASK [Unattended package installation] *****************************************
changed: [localhost]

TASK [apt-get install] *********************************************************
ok: [localhost] => (item=[u'mariadb-server', u'mariadb-client', u'mariadb-common', u'libmariadbclient-dev'])

TASK [include] *****************************************************************
included: /tmp/.bench/playbooks/develop/includes/wkhtmltopdf.yml for localhost

TASK [download wkthmltox linux] ************************************************
fatal: [localhost]: FAILED! => {"changed": false, "dest": "/tmp/wkhtmltox.tar.xz", "failed": true, "msg": "Request failed", "response": "Request failed: <urlopen error timed out>", "state": "absent", "status_code": -1, "url": "http://download.gna.org/wkhtmltopdf/0.12/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz"}
	to retry, use: --limit @production/install.retry

PLAY RECAP *********************************************************************
localhost                  : ok=15   changed=1    unreachable=0    failed=1   

Traceback (most recent call last):
  File "install.py", line 351, in <module>
    install_bench(args)
  File "install.py", line 111, in install_bench
    run_playbook('production/install.yml', sudo=True, extra_vars=extra_vars)
  File "install.py", line 301, in run_playbook
    success = subprocess.check_call(args, cwd=os.path.join(cwd, 'playbooks'))
  File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'production/install.yml', '-e', '@/tmp/extra_vars.json', '--become', '--become-user=frappe']' returned non-zero exit status 2

Hi, sorry for this and thanks for reporting the issue. It looks like the links for downloading wkhtmltopdf (with patched Qt) have changed.

You can manually install it for now: wkhtmltopdf

We will actively resolve this issue.

This issue has been resolved. Try again.