Advertisement
Guest User

bench update error erpnext.patches.v7_0.fix_duplicate_icons

a guest
Nov 20th, 2016
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.95 KB | None | 0 0
  1. Executing erpnext.patches.v7_0.fix_duplicate_icons in site1.local (1bd3e0294d)
  2. Module import failed for Desktop Icon (frappe.core.doctype.desktop_icon.desktop_icon)
  3. Traceback (most recent call last):
  4.   File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
  5.     "__main__", fname, loader, pkg_name)
  6.   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
  7.     exec code in run_globals
  8.   File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 79, in <module>
  9.     main()
  10.   File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 16, in main
  11.     click.Group(commands=commands)(prog_name='bench')
  12.   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 716, in __call__
  13.     return self.main(*args, **kwargs)
  14.   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 696, in main
  15.     rv = self.invoke(ctx)
  16.   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
  17.     return _process_result(sub_ctx.command.invoke(sub_ctx))
  18.   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
  19.     return _process_result(sub_ctx.command.invoke(sub_ctx))
  20.   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 889, in invoke
  21.     return ctx.invoke(self.callback, **ctx.params)
  22.   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 534, in invoke
  23.     return callback(*args, **kwargs)
  24.   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
  25.     return f(get_current_context(), *args, **kwargs)
  26.   File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 24, in _func
  27.     ret = f(frappe._dict(ctx.obj), *args, **kwargs)
  28.   File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/site.py", line 209, in migrate
  29.     migrate(context.verbose, rebuild_website=rebuild_website)
  30.   File "/home/frappe/frappe-bench/apps/frappe/frappe/migrate.py", line 30, in migrate
  31.     frappe.modules.patch_handler.run_all()
  32.   File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 29, in run_all
  33.     if not run_single(patchmodule = patch):
  34.   File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 63, in run_single
  35.     return execute_patch(patchmodule, method, methodargs)
  36.   File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 83, in execute_patch
  37.     frappe.get_attr(patchmodule.split()[0] + ".execute")()
  38.   File "/home/frappe/frappe-bench/apps/erpnext/erpnext/patches/v7_0/fix_duplicate_icons.py", line 11, in execute
  39.     sync_desktop_icons()
  40.   File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/doctype/desktop_icon/desktop_icon.py", line 296, in sync_desktop_icons
  41.     sync_from_app(app)
  42.   File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/doctype/desktop_icon/desktop_icon.py", line 325, in sync_from_app
  43.     'owner': 'Administrator'
  44.   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 589, in get_doc
  45.     return frappe.model.document.get_doc(arg1, arg2)
  46.   File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 45, in get_doc
  47.     controller = get_controller(doctype)
  48.   File "/home/frappe/frappe-bench/apps/frappe/frappe/model/base_document.py", line 34, in get_controller
  49.     module = load_doctype_module(doctype, module_name)
  50.   File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/utils.py", line 171, in load_doctype_module
  51.     doctype_python_modules[key] = frappe.get_module(module_name)
  52.   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 654, in get_module
  53.     return importlib.import_module(modulename)
  54.   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
  55.     __import__(name)
  56. ImportError: No module named desktop_icon.desktop_icon
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement