Created
August 4, 2014 09:48
Migrate3-to-4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Executing erpnext.patches.v4_0.reload_purchase_print_format in erpnext (ERP) | |
Traceback (most recent call last): | |
File "/home/nuco/frappe-bench/env/bin/frappe", line 9, in <module> | |
load_entry_point('frappe==4.1.0', 'console_scripts', 'frappe')() | |
File "/home/nuco/frappe-bench/apps/frappe/frappe/cli.py", line 39, in main | |
ret = run(fn, args) | |
File "/home/nuco/frappe-bench/apps/frappe/frappe/cli.py", line 83, in run | |
out = globals().get(fn)(**args) | |
File "/home/nuco/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_fn | |
return fn(*args, **new_kwargs) | |
File "/home/nuco/frappe-bench/apps/frappe/frappe/cli.py", line 420, in latest | |
frappe.modules.patch_handler.run_all() | |
File "/home/nuco/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 25, in run_all | |
if not run_single(patchmodule = patch): | |
File "/home/nuco/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 50, in run_single | |
return execute_patch(patchmodule, method, methodargs) | |
File "/home/nuco/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 66, in execute_patch | |
frappe.get_attr(patchmodule.split()[0] + ".execute")() | |
File "/home/nuco/frappe-bench/apps/frappe/frappe/__init__.py", line 515, in get_attr | |
return getattr(get_module(modulename), methodname) | |
File "/home/nuco/frappe-bench/apps/frappe/frappe/__init__.py", line 375, in get_module | |
return importlib.import_module(modulename) | |
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module | |
__import__(name) | |
ImportError: No module named reload_purchase_print_format | |
Error: None | |
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/nuco/bench-repo/bench/cli.py", line 26, 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/nuco/bench-repo/bench/cli.py", line 96, in update | |
patch_sites() | |
File "/home/nuco/bench-repo/bench/utils.py", line 77, in patch_sites | |
exec_cmd("{frappe} --latest all".format(frappe=get_frappe(bench=bench)), cwd=os.path.join(bench, 'sites')) | |
File "/home/nuco/bench-repo/bench/utils.py", line 56, 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/nuco/frappe-bench/env/bin/frappe --latest all' returned non-zero exit status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment