chandu@myerp:~/eipl/frappe-bench$ bench update --pull
From GitHub - frappe/shopping_cart: Online Shopping Cart integrated with ERPNext
- branch develop → FETCH_HEAD
Already up-to-date.
remote: Counting objects: 68, done.
remote: Compressing objects: 100% (36/36), done.
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
Error: None
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “/home/chandu/bench-repo/bench/cli.py”, line 35, in cli
return bench()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 488, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 474, in main
self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 758, in invoke
return self.invoke_subcommand(ctx, cmd, cmd_name, ctx.args[1:])
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 767, in invoke_subcommand
return cmd.invoke(cmd_ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 659, in invoke
ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 325, in invoke
return callback(*args, **kwargs)
File “/home/chandu/bench-repo/bench/cli.py”, line 160, in update
pull_all_apps()
File “/home/chandu/bench-repo/bench/app.py”, line 64, in pull_all_apps
exec_cmd(“git pull {rebase} upstream {branch}”.format(rebase=rebase, branch=get_current_branch(app_dir)), cwd=app_dir)
File “/home/chandu/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 pull upstream develop
’ returned non-zero exit status 1
chandu@myerp:~/eipl/frappe-bench$ bench config auto_update on
chandu@myerp:~/eipl/frappe-bench$ bench update
remote: Counting objects: 89, done.
remote: Compressing objects: 100% (54/54), done.
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
Error: None
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “/home/chandu/bench-repo/bench/cli.py”, line 35, in cli
return bench()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 488, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 474, in main
self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 758, in invoke
return self.invoke_subcommand(ctx, cmd, cmd_name, ctx.args[1:])
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 767, in invoke_subcommand
return cmd.invoke(cmd_ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 659, in invoke
ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 325, in invoke
return callback(*args, **kwargs)
File “/home/chandu/bench-repo/bench/cli.py”, line 150, in update
update_bench()
File “/home/chandu/bench-repo/bench/utils.py”, line 138, in update_bench
exec_cmd(“git pull”, cwd=cwd)
File “/home/chandu/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 pull’ returned non-zero exit status 1
chandu@myerp:~/eipl/frappe-bench$