Hi,
I am working in ubuntu OS 14.04 and trying to install the production set up for erpnext. I got error like this
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“bench”, “init”, “/home/frappe/frappe-bench”, “–frappe-branch”, “master”], “delta”: “0:00:44.145013”, “end”: “2016-08-01 15:25:54.921869”, “failed”: true, “rc”: 1, “start”: “2016-08-01 15:25:10.776856”, “stderr”: “fatal: unable to access ‘GitHub - frappe/python-pdfkit: Wkhtmltopdf python wrapper to convert html to pdf’: Could not resolve host: github.com\nCommand "git clone -q GitHub - frappe/python-pdfkit: Wkhtmltopdf python wrapper to convert html to pdf /home/frappe/frappe-bench/env/src/pdfkit" failed with error code 128 in None\nTraceback (most recent call last):\n File "/usr/local/bin/bench", line 9, 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 716, in call\n return self.main(*args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main\n rv = self.invoke(ctx)\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1060, 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 889, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke\n return callback(*args, **kwargs)\n File "/home/frappe/.bench/bench/commands/make.py", line 17, in init\n no_auto_update=no_auto_update, frappe_path=frappe_path, frappe_branch=frappe_branch, verbose=verbose)\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 97, 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 90, 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=29 changed=16 unreachable=0 failed=1
Traceback (most recent call last):
File “install.py”, line 284, in
install_bench(args)
File “install.py”, line 102, in install_bench
run_playbook(‘production/install.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 234, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(tmp_bench_repo, ‘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
anyone help me how to solve this