I get the following error on bench update
Executing erpnext.patches.v7_0.update_home_page in erp_testdev (erp_testdev)
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/test/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 79, in <module>
main()
File "/home/test/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 16, in main
click.Group(commands=commands)(prog_name='bench')
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 610, in __call__
return self.main(*args, **kwargs)
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 590, in main
rv = self.invoke(ctx)
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "/home/test/frappe-bench/apps/frappe/frappe/commands.py", line 29, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File "/home/test/frappe-bench/apps/frappe/frappe/commands.py", line 220, in migrate
migrate(context.verbose, rebuild_website=rebuild_website)
File "/home/test/frappe-bench/apps/frappe/frappe/migrate.py", line 27, in migrate
frappe.modules.patch_handler.run_all()
File "/home/test/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 25, in run_all
if not run_single(patchmodule = patch):
File "/home/test/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 52, in run_single
return execute_patch(patchmodule, method, methodargs)
File "/home/test/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 68, in execute_patch
frappe.get_attr(patchmodule.split()[0] + ".execute")()
File "/home/test/frappe-bench/apps/erpnext/erpnext/patches/v7_0/update_home_page.py", line 13, in execute
homepage.save()
File "/home/test/frappe-bench/apps/frappe/frappe/model/document.py", line 250, in save
self._validate()
File "/home/test/frappe-bench/apps/frappe/frappe/model/document.py", line 363, in _validate
self._validate_mandatory()
File "/home/test/frappe-bench/apps/frappe/frappe/model/document.py", line 554, in _validate_mandatory
raise frappe.MandatoryError(", ".join((each[0] for each in missing)))
frappe.exceptions.MandatoryError: tag_line
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/test/bench-repo/bench/cli.py", line 40, in cli
bench_command()
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/test/bench-repo/bench/commands/update.py", line 61, in update
_update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force)
File "/home/test/bench-repo/bench/commands/update.py", line 91, in _update
patch_sites(bench=bench_path)
File "/home/test/bench-repo/bench/utils.py", line 131, in patch_sites
run_frappe_cmd('--site', 'all', 'migrate', bench=bench)
File "/home/test/bench-repo/bench/utils.py", line 468, in run_frappe_cmd
raise CommandFailedError(args)
bench.utils.CommandFailedError: ('--site', 'all', 'migrate')