Error updating bench

Hi Guys ,

I tried updating the bench but I am getting this error . Could anyone help me

future@future:~$ bench update
INFO:bench.utils:updating bench
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 9 (delta 1), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (9/9), done.
   cc2f948..f9e8abc  develop    -> origin/develop
 * [new branch]      nginx-domains-wildcard-ssl -> origin/nginx-domains-wildcard-ssl

*** Please tell me who you are.


  git config --global ""
  git config --global "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'future@future.(none)')
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 9, in <module>
    load_entry_point('bench==3.0.0', 'console_scripts', 'bench')()
  File "/home/future/bench-repo/bench/", line 40, in cli
  File "/usr/local/lib/python2.7/dist-packages/click/", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/", line 534, in invoke
    return callback(*args, **kwargs)
  File "/home/future/bench-repo/bench/commands/", line 34, in update
  File "/home/future/bench-repo/bench/", line 200, in update_bench
    exec_cmd("git pull", cwd=cwd)
  File "/home/future/bench-repo/bench/", line 100, in exec_cmd
    raise CommandFailedError(cmd)
bench.utils.CommandFailedError: git pull

Hi @ragav
set the user name and email and try again

Thanks, Makarand

1 Like

Thank you makarand , you saved my day , I am getting this error after update , kindly help

Traceback (most recent call last):
File "/home/ommi/frappe-bench/apps/frappe/frappe/", line 55, in application
response = frappe.handler.handle()
File "/home/ommi/frappe-bench/apps/frappe/frappe/", line 19, in handle
File "/home/ommi/frappe-bench/apps/frappe/frappe/", line 30, in execute_cmd
method = get_attr(cmd)
File "/home/ommi/frappe-bench/apps/frappe/frappe/", line 114, in get_attr
method = frappe.get_attr(cmd)
File "/home/ommi/frappe-bench/apps/frappe/frappe/", line 854, in get_attr
return getattr(get_module(modulename), methodname)
File "/home/ommi/frappe-bench/apps/frappe/frappe/", line 641, in get_module
return importlib.import_module(modulename)
File "/usr/lib/python2.7/importlib/", line 37, in import_module
ImportError: No module named pages.print