[Release Notes] ERPNext Version 13 has been released

I try to switch from beta to V 13 got me below

how to resolve this

Backing up sites…
Traceback (most recent call last):
File “/usr/lib/python3.7/runpy.py”, line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.7/runpy.py”, line 109, in get_module_details
import(pkg_name)
File “/home/sanath/frappe-bench/apps/frappe/frappe/init.py”, line 1627, in
def log_error(message=None, title=
(“Error”)):
File “/home/sanath/frappe-bench/apps/frappe/frappe/init.py”, line 69, in _
from frappe.translate import get_full_dict
File “/home/sanath/frappe-bench/apps/frappe/frappe/translate.py”, line 18, in
from frappe.model.utils import render_include, InvalidIncludePath
File “/home/sanath/frappe-bench/apps/frappe/frappe/model/utils/init.py”, line 9, in
from frappe.build import html_to_js_template
File “/home/sanath/frappe-bench/apps/frappe/frappe/build.py”, line 18, in
import psutil
ModuleNotFoundError: No module named ‘psutil’

Execute

./env/bin/pip install psutil
4 Likes

Now got me this, but it receiving continually after make bench setup requirements as suggested below.

UNRESOLVED_IMPORT : ‘vue/dist/vue.js’ is imported by …/erpnext/erpnext/public/js/hub/vue-plugins.js, but could not be resolved – treating it as an external dependency
Cannot find some dependencies. You may have to run “bench setup requirements” to install them.

UNRESOLVED_IMPORT : ‘vue/dist/vue.js’ is imported by …/erpnext/erpnext/public/js/hub/marketplace.js, but could not be resolved – treating it as an external dependency
Cannot find some dependencies. You may have to run “bench setup requirements” to install them.

MISSING_GLOBAL_NAME : No name was provided for external module ‘vue/dist/vue.js’ in output.globals – guessing ‘Vue’

1 Like

Sorry to hear that.
Did you enable automatic update ?

Regards,
Subhajit

https://github.com/frappe/erpnext/issues/25291

https://github.com/frappe/erpnext/issues/25151

https://github.com/frappe/erpnext/issues/25135

https://github.com/frappe/frappe/issues/12830

https://github.com/frappe/frappe/issues/12825

2 Likes

Hi,

Community’s responsibility is to test their instances with Release Candidates versions, not with beta, right?

And, that’s what we missed!

PS: I tried to convince you guys to release RC versions here: Consider major release with Beta & RC tags and I believe you liked the post.

2 Likes

Can anybody guide how to add some additional features to Item Cart UI in point-of-sale page using custom application in erpnext V13.

https://github.com/frappe/frappe/issues/12837

This method and second post perfectly well if we have Debian 10 but what to do if we have Debian 9. Please advise.

It is pretty frustrating that the new Desk app was not included in ANY of the betas. Our jump from latest beta to release has been an unstable nightmare.

6 Likes

Have the same problem, and don’t know how to fix it

While converting a version-12 to version-13, I got the following error:

~/frappe-bench$ bench switch-to-branch version-13 frappe erpnext --upgrade
...
...
~/frappe-bench$ bench update --patch
Backing up sites...
...
...
Executing erpnext.patches.v13_0.delete_old_purchase_reports
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 101, in <module>
    main()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
    click.Group(commands=commands)(prog_name='bench')
  File "/home/frappe/frappe-bench/env/lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/frappe/frappe-bench/env/lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/frappe/frappe-bench/env/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/frappe/frappe-bench/env/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/frappe/frappe-bench/env/lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/frappe/frappe-bench/env/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/frappe/frappe-bench/env/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 27, in _func
    ret = f(frappe._dict(ctx.obj), *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/site.py", line 300, in migrate
    skip_search_index=skip_search_index
  File "/home/frappe/frappe-bench/apps/frappe/frappe/migrate.py", line 67, in migrate
    frappe.modules.patch_handler.run_all(skip_failing)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 41, in run_all
    run_patch(patch)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 30, in run_patch
    if not run_single(patchmodule = patch):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 71, in run_single
    return execute_patch(patchmodule, method, methodargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 91, in execute_patch
    frappe.get_attr(patchmodule.split()[0] + ".execute")()
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/patches/v13_0/delete_old_purchase_reports.py", line 17, in execute
    frappe.delete_doc("Report", report)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 871, in delete_doc
    ignore_permissions, flags, ignore_on_trash, ignore_missing, delete_permanently)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/delete_doc.py", line 105, in delete_doc
    check_if_doc_is_linked(doc)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/delete_doc.py", line 253, in check_if_doc_is_linked
    raise_link_exists_exception(doc, linked_doctype, reference_docname)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/delete_doc.py", line 308, in raise_link_exists_exception
    .format(doc.doctype, doc_link, reference_doctype, reference_link, row), frappe.LinkExistsError)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 424, in throw
    msgprint(msg, raise_exception=exc, title=title, indicator='red', is_minimizable=is_minimizable, wide=wide, as_list=as_list)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 403, in msgprint
    _raise_exception()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 357, in _raise_exception
    raise raise_exception(msg)
frappe.exceptions.LinkExistsError: Cannot delete or cancel because Report <a href="/app/Form/Report/Purchase Order Items To Be Received or Billed">Purchase Order Items To Be Received or Billed</a> is linked with Prepared Report <a href="/app/Form/Prepared Report/REP00666">REP00666</a>

Any idea how this can be solved?
I tried to look through the ‘Report’ doctype for any ‘REP00666’ through bench console but there is no such report in the list. The site too is not accessible now.
I attempted to delete ‘Purchase Order Items To Be Received or Billed’ as well through bench console - frappe.delete_doc - but being a standard report, I cannot delete that either.

So, any hints what I can do on this?

What if we have Debian 9 with v12 then what do you suggest?

I have upgraded two instance from different server one of the instance not showing search bar … how to resolve that issue

Version 13 is slower than the v13 betas. Loading and during data crud activities.

In this case the db is 20gb, but still the betas were faster.

The issue is if child record/grid has more than 50 lines. It times out on submitting, any doc.

Did you try bench build --force ?

yes i tried force build also … but still same issue

How to enable Chat in New version 13 rebrand UI, The chat icon didn’t show in header. Request you to share information. @nabinhait @rmehta

https://github.com/frappe/erpnext/issues/25338

1 Like

We have asked several times, and they neglect to answer. I hope you will be luckier than me.