Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.
This repository was 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

@Botanium

Description

@Botanium

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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions