Installation problem on fresh Ubuntu with Git

Hey guys, I tried to install ERPNext on a fresh Ubuntu instance and I got this error; does anyone have any idea about it?

First attempt:

installing frappe
Error: None
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 9, in <module>
    load_entry_point('bench==0.1', 'console_scripts', 'bench')()
  File "/home/sup3r/bench-repo/bench/cli.py", line 38, in cli
    return bench()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in invoke
    return callback(*args, **kwargs)
  File "/home/sup3r/bench-repo/bench/cli.py", line 108, in init
    no_auto_update=no_auto_update, frappe_path=frappe_path, frappe_branch=frappe_branch)
  File "/home/sup3r/bench-repo/bench/utils.py", line 57, in init
    install_apps_from_path(apps_path, bench=path)
  File "/home/sup3r/bench-repo/bench/app.py", line 83, in install_apps_from_path
    get_app(app['name'], app['url'], branch=app.get('branch'), bench=bench, build_asset_files=False)
  File "/home/sup3r/bench-repo/bench/app.py", line 42, in get_app
    cwd=os.path.join(bench, 'apps'))
  File "/home/sup3r/bench-repo/bench/utils.py", line 61, in exec_cmd
    subprocess.check_call(cmd, cwd=cwd, shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'git clone https://github.com/frappe/erpnext --branch master  --origin upstream erpnext' returned non-zero exit status 128

After this I deleted the folders created by git.
Second attempt:

Adding ubuntu mariadb repo
Installing packages for Ubuntu. This might take time...
Installing wkhtmltopdf
Adding frappe user
Installing frappe-bench
Already using interpreter /usr/bin/python
Cloning into 'frappe'...
Wrote ./assets/js/frappe-web.min.js - 90k
Wrote ./assets/js/print_format_v3.min.js - 18k
Wrote ./assets/css/frappe.css - 221k
Wrote ./assets/css/frappe-web.css - 163k
Wrote ./assets/js/editor.min.js - 27k
Wrote ./assets/js/frappe.min.js - 609k
Wrote ./assets/js/slickgrid.min.js - 105k
Wrote ./assets/js/canvasResize.min.js - 22k
no crontab for sup3r
Cloning into 'erpnext'...
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
installing frappe
Error: None
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 9, in <module>
    load_entry_point('bench==0.1', 'console_scripts', 'bench')()
  File "/home/sup3r/bench-repo/bench/cli.py", line 38, in cli
    return bench()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in invoke
    return callback(*args, **kwargs)
  File "/home/sup3r/bench-repo/bench/cli.py", line 108, in init
    no_auto_update=no_auto_update, frappe_path=frappe_path, frappe_branch=frappe_branch)
  File "/home/sup3r/bench-repo/bench/utils.py", line 57, in init
    install_apps_from_path(apps_path, bench=path)
  File "/home/sup3r/bench-repo/bench/app.py", line 83, in install_apps_from_path
    get_app(app['name'], app['url'], branch=app.get('branch'), bench=bench, build_asset_files=False)
  File "/home/sup3r/bench-repo/bench/app.py", line 42, in get_app
    cwd=os.path.join(bench, 'apps'))
  File "/home/sup3r/bench-repo/bench/utils.py", line 61, in exec_cmd
    subprocess.check_call(cmd, cwd=cwd, shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'git clone https://github.com/frappe/erpnext --branch master  --origin upstream erpnext' returned non-zero exit status 128

By the way, I’m running Ubuntu 14.04.

Thanks!

Well, I tried again on another installation and it worked know. Nevermind! :smile: