ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Login for website user showing verifying and working after refresh


#1

when trying to login with website user showing verifying and not log in but after refresh page its shows already login below is browser console

Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 59, in application
    init_request(request)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 121, in init_request
    frappe.local.http_request = frappe.auth.HTTPRequest()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 53, in __init__
    frappe.local.login_manager = LoginManager()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 111, in __init__
    self.run_trigger('on_session_creation')
  File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 232, in run_trigger
    frappe.call(frappe.get_attr(method), login_manager=self)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 939, in call
    return fn(*args, **newargs)
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/shopping_cart/utils.py", line 22, in set_cart_count
    set_cart_count()
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/shopping_cart/cart.py", line 22, in set_cart_count
    quotation = _get_cart_quotation()
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/shopping_cart/cart.py", line 215, in _get_cart_quotation
    apply_cart_settings(party, qdoc)
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/shopping_cart/cart.py", line 256, in apply_cart_settings
    quotation.run_method("calculate_taxes_and_totals")
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 755, in run_method
    out = Document.hook(fn)(self, *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 1024, in composer
    return composed(self, method, *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 1007, in runner
    add_to_return_value(self, fn(self, *args, **kwargs))
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 749, in <lambda>
    fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/controllers/accounts_controller.py", line 114, in calculate_taxes_and_totals
    calculate_taxes_and_totals(self)
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/controllers/taxes_and_totals.py", line 15, in __init__
    self.calculate()
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/controllers/taxes_and_totals.py", line 19, in calculate
    self._calculate()
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/controllers/taxes_and_totals.py", line 38, in _calculate
    self.calculate_totals()
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/controllers/taxes_and_totals.py", line 303, in calculate_totals
    self._set_in_company_currency(self.doc, ["total_taxes_and_charges", "rounding_adjustment"])
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/controllers/taxes_and_totals.py", line 81, in _set_in_company_currency
    val = flt(flt(doc.get(f), doc.precision(f)) * self.doc.conversion_rate, doc.precision("base_" + f))
TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'