Screen Greys out Permanently on Certain Screens

@rmehta I think there is the problem of the commit of @anand that cause this problem

https://github.com/frappe/frappe/commit/c8e0384ce12431d6981827ea81e9e2880829a5db
https://github.com/frappe/frappe/commit/a6ddb002547e44ea5840f50235da83dee26ae93a

@ccfiel thanks! let me have a look.

1 Like

Fixed.

@rmehta still the same problem :frowning:

@ccfiel how do I replicate it?

@rmehta

Use Case:

  1. Go To User List
  2. Click and Existing User.
  3. Form will not display. Only blank space.

and when you inspect from console this is the error

form.min.js:2088 Uncaught TypeError: Cannot read property 'Core' of undefined

Cannot replicate. Have you pulled latest?

For me, i dot get the same JS error as @ccfiel when i browse User Listing and Click Existing User.

However for Sales Invoice its just a blank screen without and JS errors even in developer mode. I’ve pulled latest BTW.

@rmehta yes I have. when I do a git show

commit 4347fac6a1f168a678e7657b5ad8520a0b599a42
Author: Rushabh Mehta <rmehta@gmail.com>
Date:   Wed Jun 8 11:43:12 2016 +0530

    [fix] document_flow.js

diff --git a/frappe/public/js/frappe/form/document_flow.js b/frappe/public/js/frappe/form/document_flow.js
index 70cac7b..99cca98 100644
--- a/frappe/public/js/frappe/form/document_flow.js
+++ b/frappe/public/js/frappe/form/document_flow.js

This is weird :frowning: why you are not getting the same error.

@rmehta I confirm this bug exist if you only installed frappe. NO erpnext

@rmehta I bench update again its now ok. yey!

no improvement on my side… its still the same after update

@rmehta that problem is there on beta.erpnext.com as well.
I tried to see a salary slip or salary structure and it greys out.

Here is the console log -

TypeError: frappe.document_flow[module] is undefined

1 Like

@kirthi beta may not be latest. Try pulling latest

I’m still experiencing the grey screen on Activity (so far)

Here is the log:

list.min.js:24 Uncaught TypeError: Cannot read property ‘image_view’ of undefinedfrappe.ui.Listing.Class.extend.render_rows @ list.min.js:24frappe.ui.Listing.Class.extend.render_list @ list.min.js:24frappe.ui.Listing.Class.extend.render_results @ list.min.js:22frappe.call.callback @ list.min.js:12callback @ desk.min.js:117statusCode.200 @ desk.min.js:119(anonymous function) @ desk.min.js:125j @ jquery.min.js:2k.fireWith @ jquery.min.js:2x @ jquery.min.js:4(anonymous function) @ jquery.min.js:4

I am also receiving the same issues. I think however mine is related more to the products than to the the other issues stated. This is the error that is logged inside the Javascript Console on Chrome.

Uncaught TypeError: Cannot read property 'ERP' of undefined

We have been testing with just a single item our products named ERP. Nothing else other than what was in the basic setup.

We were also getting this error from web.error.log:
Request Error Traceback (most recent call last): File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 70, in application raise NotFound NotFound: 404: Not Found

And this additional error from web.log:

Traceback (most recent call last): File "/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py", line 25, in render data = render_page_by_language(path) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py", line 91, in render_page_by_language return render_page(path) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py", line 107, in render_page return build(path) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py", line 114, in build return build_page(path) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py", line 127, in build_page context = get_context(path) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/context.py", line 16, in get_context context = build_context(context) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/context.py", line 64, in build_context ret = module.get_context(context) File "/home/frappe/frappe-bench/apps/erpnext/erpnext/templates/pages/cart.py", line 12, in get_context context.update(get_cart_quotation()) File "/home/frappe/frappe-bench/apps/erpnext/erpnext/shopping_cart/cart.py", line 30, in get_cart_quotation quotation = _get_cart_quotation(party) File "/home/frappe/frappe-bench/apps/erpnext/erpnext/shopping_cart/cart.py", line 167, in _get_cart_quotation {party.doctype.lower(): party.name, "order_type": "Shopping Cart", "docstatus": 0}, AttributeError: 'NoneType' object has no attribute 'name'

Does anyone have any luck in finding out why it behaves this way?

I looked at web.error.log and there is nothing on my end.

@bohlian are you still getting this issue after update? We had fixed it yesterday itself.

@anand i am getting the same error as @samjaninf and i just did a fresh install