Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

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

Open
Botanium opened this issue Dec 17, 2022 · 0 comments

Comments

@Botanium
Copy link

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"
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant