Hi
please help me i am getting this error (Updating. We will be back in a few moments… ) after resent updates.
this is my live server.
chandu@myerp:~/eipl$ cd frappe-bench/
chandu@myerp:~/eipl/frappe-bench$ bench update --bench
Already up-to-date.
Already up-to-date.
From GitHub - frappe/shopping_cart: Online Shopping Cart integrated with ERPNext
- branch develop → FETCH_HEAD
Already up-to-date.
From GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP) - branch develop → FETCH_HEAD
Updating 80f8b7b…5c7f0bc
Fast-forward
…/chart_of_accounts/chart_of_accounts.py | 11 +++±—
…/report/general_ledger/general_ledger.js | 24 ++++++++++++++++
…/report/general_ledger/general_ledger.py | 31 +++++++++++++++±----
…/doctype/newsletter_list/newsletter_list.py | 4 +±
erpnext/setup/page/setup_wizard/emails/email-1.md | 15 ++++±----
erpnext/setup/page/setup_wizard/emails/email-2.md | 8 +±—
6 files changed, 66 insertions(+), 27 deletions(-)
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript - branch master → FETCH_HEAD
Updating b288a2e…19ce1a7
Fast-forward
frappe/version.py | 2 ±
frappe/hooks.py | 2 ±
frappe/public/css/font/noto_sans/noto_sans.css | 24 +++++++++±----------
frappe/public/js/frappe/misc/number_format.js | 9 ++++±–
…/templates/print_formats/standard_macros.html | 2 ±
frappe/utils/init.py | 5 +++++
frappe/utils/file_manager.py | 4 ++++
frappe/website/utils.py | 2 ±
frappe/website/website_generator.py | 9 +++±—
requirements.txt | 2 ±
setup.py | 2 ±
11 files changed, 37 insertions(+), 26 deletions(-)
database backup taken - ./envirosyz.com/private/backups/20150421_38851533_database.sql.gz - on 2015-04-21 10:01:28.839606
database backup taken - ./eenergy.in/private/backups/20150421_45505894_database.sql.gz - on 2015-04-21 10:01:29.884362
Running latest for envirosyz.com
Executing execute:frappe.permissions.reset_perms(“GL Entry”) #2014-06-09 in envirosyz.com (envirosyz.com)
Traceback (most recent call last):
File “/home/chandu/eipl/frappe-bench/env/bin/frappe”, line 9, in
load_entry_point(‘frappe==4.1.0’, ‘console_scripts’, ‘frappe’)()
File “/home/chandu/eipl/frappe-bench/apps/frappe/frappe/cli.py”, line 39, in main
ret = run(fn, args)
File “/home/chandu/eipl/frappe-bench/apps/frappe/frappe/cli.py”, line 83, in run
out = globals().get(fn)(**args)
File “/home/chandu/eipl/frappe-bench/apps/frappe/frappe/cli.py”, line 67, in new_fn
return fn(*args, **new_kwargs)
File “/home/chandu/eipl/frappe-bench/apps/frappe/frappe/cli.py”, line 431, in latest
frappe.modules.patch_handler.run_all()
File “/home/chandu/eipl/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 25, in run_all
if not run_single(patchmodule = patch):
File “/home/chandu/eipl/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 50, in run_single
return execute_patch(patchmodule, method, methodargs)
File “/home/chandu/eipl/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 64, in execute_patch
exec patchmodule.split(“execute:”)[1] in globals()
File “”, line 1, in
AttributeError: ‘module’ object has no attribute ‘permissions’
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 55, in cli
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/chandu/bench-repo/bench/cli.py”, line 247, in update
patch_sites()
File “/home/chandu/bench-repo/bench/utils.py”, line 116, in patch_sites
exec_cmd(“{frappe} --latest all”.format(frappe=get_frappe(bench=bench)), cwd=os.path.join(bench, ‘sites’))
File “/home/chandu/bench-repo/bench/utils.py”, line 72, 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 ‘/home/chandu/eipl/frappe-bench/env/bin/frappe --latest all’ returned non-zero exit status 1