Skip to content

Instantly share code, notes, and snippets.

@bkiu
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bkiu/a201ac706772b279a28b to your computer and use it in GitHub Desktop.
Save bkiu/a201ac706772b279a28b to your computer and use it in GitHub Desktop.
Running latest for mysite
--------------------------------------------------
Executing erpnext.patches.v4_2.default_website_style in mysite (mysite_db)
Traceback (most recent call last):
File "/home/linuxuser/frappe-bench/env/bin/frappe", line 9, in <module>
load_entry_point('frappe==4.1.0', 'console_scripts', 'frappe')()
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/cli.py", line 39, in main
ret = run(fn, args)
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/cli.py", line 83, in run
out = globals().get(fn)(**args)
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_fn
return fn(*args, **new_kwargs)
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/cli.py", line 422, in latest
frappe.modules.patch_handler.run_all()
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 2
5, in run_all
if not run_single(patchmodule = patch):
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 5
0, in run_single
return execute_patch(patchmodule, method, methodargs)
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 6
6, in execute_patch
frappe.get_attr(patchmodule.split()[0] + ".execute")()
File "/home/linuxuser/frappe-bench/apps/erpnext/erpnext/patches/v4_2/default_website_st
yle.py", line 9, in execute
style_settings.save()
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/model/document.py", line 210, in
save
self.run_post_save_methods()
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/model/document.py", line 436, in
run_post_save_methods
self.run_method("on_update")
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/model/document.py", line 406, in
run_method
return Document.hook(fn)(self, *args, **kwargs)
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/model/document.py", line 487, in
composer
return composed(self, method, *args, **kwargs)
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/model/document.py", line 470, in
runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/model/document.py", line 400, in
<lambda>
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/website/doctype/style_settings/s$
yle_settings.py", line 30, in on_update
clear_cache()
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/website/render.py", line 172, in
clear_cache
clear_sitemap()
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/website/router.py", line 105, in
clear_sitemap
process_generators(clear_generators)
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/website/router.py", line 112, in
process_generators
controller = get_controller(doctype)
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/model/document.py", line 34, in $
et_controller
module = load_doctype_module(doctype)
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/modules/__init__.py", line 58, i$
load_doctype_module
doctype_python_modules[key] = frappe.get_module(get_module_name(doctype, module, pre$
ix))
File "/home/linuxuser/frappe-bench/apps/frappe/frappe/__init__.py", line 379, in get_m$
dule
return importlib.import_module(modulename)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named web_form.web_form
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment