Hi makarand_b,
Thanks, wkhtml2pdf can be download now. But I have another error in init bench.
TASK [init bench] **************************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“bench”, “init”, “/home/frappe/frappe-bench”, “–frappe-branch”, “master”], “delta”: “0:00:06.257440”, “end”: “2017-06-01 08:37:07.593473”, “failed”: true, “rc”: 1, “start”: “2017-06-01 08:37:01.336033”, “stderr”: “Command "/home/frappe/frappe-bench/env/bin/python -c "import setuptools, tokenize;file=‘/home/frappe/frappe-bench/env/src/pdfkit/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))" develop --no-deps" failed with error code 1 in /home/frappe/frappe-bench/env/src/pdfkit/\nTraceback (most recent call last):\n File "/usr/local/bin/bench", line 11, in \n load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()\n File "/home/frappe/.bench/bench/cli.py", line 40, in cli\n bench_command()\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in call\n return self.main(*args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main\n rv = self.invoke(ctx)\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke\n return callback(*args, **kwargs)\n File "/home/frappe/.bench/bench/commands/make.py", line 19, in init\n verbose=verbose, clone_from=clone_from)\n File "/home/frappe/.bench/bench/utils.py", line 46, in init\n setup_env(bench_path=path)\n File "/home/frappe/.bench/bench/utils.py", line 134, in setup_env\n exec_cmd(‘./env/bin/pip -q install -e git+https://github.com/frappe/python-pdfkit.git#egg=pdfkit’, cwd=bench_path)\n File "/home/frappe/.bench/bench/utils.py", line 127, in exec_cmd\n raise CommandFailedError(cmd)\nbench.utils.CommandFailedError: ./env/bin/pip -q install -e git+https://github.com/frappe/python-pdfkit.git#egg=pdfkit”, “stdout”: “Already using interpreter /usr/bin/python”, “stdout_lines”: [“Already using interpreter /usr/bin/python”], “warnings”: }
to retry, use: --limit @production/install.retry
PLAY RECAP *********************************************************************
localhost : ok=32 changed=20 unreachable=0 failed=1
Traceback (most recent call last):
File “install.py”, line 329, in
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 279, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/subprocess.py”, line 540, 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
Thanks your help again.