chat icon indicating copy to clipboard operation
chat copied to clipboard

Chat room are not listed, the following error appears when the ERPNext app loads and opens for the first time.

Open Botanium opened this issue 2 years ago • 0 comments

When I open my ERP site, I get the following error. I can't see the list of chat rooms. Even if I create a new room it doesn't show.

App Versions

{
	"chat": "0.0.1",
	"erpnext": "13.42.3",
	"erpnext_telegram_integration": "1.0.1",
	"frappe": "13.45.3",
	"laboratory": "0.0.1",
	"persona": "0.0.1",
	"twilio_integration": "0.0.1"
}

Route


Trackeback

Traceback (most recent call last):
  File "apps/frappe/frappe/app.py", line 69, in application
    response = frappe.api.handle()
  File "apps/frappe/frappe/api.py", line 55, in handle
    return frappe.handler.handle()
  File "apps/frappe/frappe/handler.py", line 38, in handle
    data = execute_cmd(cmd)
  File "apps/frappe/frappe/handler.py", line 76, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
  File "apps/frappe/frappe/__init__.py", line 1457, in call
    return fn(*args, **newargs)
  File "apps/chat/chat/api/room.py", line 31, in get
    members[0]) if email == members[1] else get_full_name(members[1])
IndexError: list index out of range

Request Data

{
	"type": "GET",
	"args": {
		"email": "Administrator"
	},
	"headers": {},
	"error_handlers": {},
	"url": "/api/method/chat.api.room.get"
}

Response Data

{
	"exception": "IndexError: list index out of range"
}

Botanium avatar Dec 17 '22 06:12 Botanium