frappe@webhost:~/frappe-bench$ bench update
INFO:bench.utils:updating bench
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 6 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (6/6), done.
From GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps
86afa27…8b40528 master → origin/master
Updating 86afa27…8b40528
Fast-forward
bench/commands/update.py | 2 ±
1 file changed, 1 insertion(+), 1 deletion(-)
remote: Counting objects: 48, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 48 (delta 37), reused 42 (delta 32), pack-reused 0
Unpacking objects: 100% (48/48), done.
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
b0eef11…6516f2d develop → upstream/develop
- [new tag] v7.0.29 → v7.0.29
Requirement already satisfied (use --upgrade to upgrade): Pillow in ./env/lib/python2.7/site-packages
INFO:bench.app:pulling frappe
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript - branch develop → FETCH_HEAD
Updating b0eef11…6516f2d
Fast-forward
frappe/model/db_query.py | 21 +++++++++±----------
frappe/patches.txt | 7 +±----
frappe/patches/v6_24/set_language_as_code.py | 13 ±-----------
frappe/patches/v7_1/rename_chinese_language_codes.py | 1 -
frappe/patches/v7_1/sync_language_doctype.py | 21 +++++++++++++++++++++
frappe/public/css/form_grid.css | 4 ++±
frappe/public/js/frappe/ui/listing.html | 2 ±
frappe/public/js/frappe/ui/listing.js | 16 +++++++++++±—
frappe/public/less/form_grid.less | 15 ++++++++±-----
9 files changed, 59 insertions(+), 41 deletions(-)
create mode 100644 frappe/patches/v7_1/sync_language_doctype.py
INFO:bench.app:pulling erpnext
remote: Counting objects: 64, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 64 (delta 54), reused 58 (delta 48), pack-reused 0
Unpacking objects: 100% (64/64), done.
From GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP) - branch master → FETCH_HEAD
ec6267e…f92f04b master → upstream/master
Updating ec6267e…f92f04b
Fast-forward
erpnext/init.py | 2 ±
erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json | 14 +++±----
erpnext/accounts/doctype/sales_invoice/sales_invoice.py | 78 +++++++++++++++++++++++++±-------------------
erpnext/controllers/status_updater.py | 2 ±
erpnext/controllers/taxes_and_totals.py | 14 +++±----
erpnext/patches.txt | 3 ±
erpnext/patches/v7_0/repost_future_gle_for_purchase_invoice.py | 2 ++
erpnext/patches/v7_0/repost_gle_for_pos_sales_return.py | 24 ++++++++++++++
erpnext/public/js/controllers/taxes_and_totals.js | 15 ++++±—
9 files changed, 97 insertions(+), 57 deletions(-)
create mode 100644 erpnext/patches/v7_0/repost_gle_for_pos_sales_return.py
Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
Migrating localhost2
Executing frappe.patches.v7_1.sync_language_doctype in localhost2 (cfd511bd42)
Success
Executing erpnext.patches.v7_0.repost_gle_for_pos_sales_return in localhost2 (cfd511bd42)
Success
Updating frappe : [========================================]
Updating erpnext : [========================================]
Syncing help database…
Traceback (most recent call last):
File “/usr/lib/python2.7/runpy.py”, line 162, in _run_module_as_main
“main”, fname, loader, pkg_name)
File “/usr/lib/python2.7/runpy.py”, line 72, in _run_code
exec code in run_globals
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 79, in
main()
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 16, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 716, in call
return self.main(*args, **kwargs)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 696, in main
rv = self.invoke(ctx)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/commands/init.py”, line 24, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/commands/site.py”, line 206, in migrate
migrate(context.verbose, rebuild_website=rebuild_website)
File “/home/frappe/frappe-bench/apps/frappe/frappe/migrate.py”, line 46, in migrate
frappe.utils.help.sync()
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/help.py”, line 23, in sync
help_db.sync_pages()
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/help.py”, line 117, in sync_pages
{‘docs_base_url’: ‘/assets/{app}_docs’.format(app=app)})
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/jinja.py”, line 50, in render_template
return get_jenv().from_string(template).render(context)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 862, in from_string
return cls.from_code(self, self.compile(source), globals, None)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 565, in compile
self.handle_exception(exc_info, source_hint=source_hint)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File “”, line 33, in template
jinja2.exceptions.TemplateSyntaxError: Expected an expression, got ‘end of print statement’
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==3.0.0’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 716, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 696, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “/home/frappe/bench-repo/bench/commands/update.py”, line 60, in update
_update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force)
File “/home/frappe/bench-repo/bench/commands/update.py”, line 90, in _update
patch_sites(bench_path=bench_path)
File “/home/frappe/bench-repo/bench/utils.py”, line 161, in patch_sites
run_frappe_cmd(‘–site’, ‘all’, ‘migrate’, bench_path=bench_path)
File “/home/frappe/bench-repo/bench/utils.py”, line 501, in run_frappe_cmd
raise CommandFailedError(args)
bench.utils.CommandFailedError: (‘–site’, ‘all’, ‘migrate’)
frappe@webhost:~/frappe-bench$ bench doctor
-----Checking scheduler status-----
Workers online: 3
-----None Jobs-----
How do I rectify this?