frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
21.78k stars 7.31k forks source link

Bench update error ERPNext: v9.2.22 Frappe Framework: v9.2.21 #11969

Closed jasonbrowne closed 6 years ago

jasonbrowne commented 6 years ago

Installed Apps

ERPNext: v9.2.22

Frappe Framework: v9.2.21

FreeBSD 11.0-RELEASE-p1

Team,

I am getting the following error after attempting to run bench update:

(12:27 frappe@ERPNext-Demo1 frappe-bench) > bench update INFO:bench.utils:updating bench INFO:bench.utils:git pull Already up-to-date. remote: Counting objects: 211, done. remote: Total 211 (delta 149), reused 150 (delta 149), pack-reused 61 Receiving objects: 100% (211/211), 34.24 KiB | 0 bytes/s, done. Resolving deltas: 100% (173/173), completed with 83 local objects. From https://github.com/frappe/frappe 01a955eb4..7506c49dc develop -> upstream/develop 2d9b988b9..4d4fb7231 hotfix -> upstream/hotfix 2d9b988b9..4d4fb7231 master -> upstream/master

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (cu rrent: {"os":"freebsd","arch":"x64"}) npm WARN frappe@ No description Backing up sites... Patching sites... Migrating site1.local Executing erpnext.patches.v10_0.setup_vat_for_uae_and_saudi_arabia in site1.local (1bd3e0294da19198) Success Updating DocTypes for frappe : [========================================] Updating DocTypes for erpnext : [========================================] Traceback (most recent call last): File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 94, in main() File "/usr/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main click.Group(commands=commands)(prog_name='bench') File "/usr/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 722, in call return self.main(args, kwargs) File "/usr/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 697, in main rv = self.invoke(ctx) File "/usr/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 895, in invoke return ctx.invoke(self.callback, ctx.params) File "/usr/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 535, in invoke return callback(args, kwargs) File "/usr/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, *kwargs) File "/usr/home/frappe/frappe-bench/apps/frappe/frappe/commands/init.py", line 24, in _func ret = f(frappe._dict(ctx.obj), args, kwargs) File "/usr/home/frappe/frappe-bench/apps/frappe/frappe/commands/site.py", line 222, in migrate migrate(context.verbose, rebuild_website=rebuild_website) File "/usr/home/frappe/frappe-bench/apps/frappe/frappe/migrate.py", line 37, in migrate sync_desktop_icons() File "/usr/home/frappe/frappe-bench/apps/frappe/frappe/desk/doctype/desktop_icon/desktop_icon.py", line 317, in sync_desktop_icons sync_from_app(app) File "/usr/home/frappe/frappe-bench/apps/frappe/frappe/desk/doctype/desktop_icon/desktop_icon.py", line 353, in sync_from_app desktop_icon.save() File "/usr/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 256, in save return self._save(*args, **kwargs) File "/usr/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 279, in _save self.insert() File "/usr/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 217, in insert self._validate_links() File "/usr/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 724, in _validate_links frappe.LinkValidationError) File "/usr/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 323, in throw msgprint(msg, raise_exception=exc, title=title, indicator='red') File "/usr/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 309, in msgprint _raise_exception() File "/usr/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 282, in _raise_exception raise raise_exception(encode(msg)) frappe.exceptions.LinkValidationError: Could not find _doctype: Data Import

Cheers,

Jason

manassolanki commented 6 years ago

Fixed via https://github.com/frappe/erpnext/pull/11974