i am unable to open ernext
App Versions
{
"erpnext": "15.27.0",
"frappe": "15.29.1"
}
Route
setup-wizard/0
Traceback
Traceback (most recent call last):
File "env/lib/python3.12/site-packages/redis/connection.py", line 699, in connect
sock = self.retry.call_with_retry(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "env/lib/python3.12/site-packages/redis/retry.py", line 46, in call_with_retry
return do()
^^^^
File "env/lib/python3.12/site-packages/redis/connection.py", line 700, in <lambda>
lambda: self._connect(), lambda error: self.disconnect(error)
^^^^^^^^^^^^^^^
File "env/lib/python3.12/site-packages/redis/connection.py", line 1002, in _connect
raise err
File "env/lib/python3.12/site-packages/redis/connection.py", line 990, in _connect
sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "apps/frappe/frappe/utils/background_jobs.py", line 473, in get_redis_conn
return get_redis_connection_without_auth()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/background_jobs.py", line 495, in get_redis_connection_without_auth
_redis_queue_conn = RedisQueue.get_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
conn.ping()
File "env/lib/python3.12/site-packages/redis/commands/core.py", line 1205, in ping
return self.execute_command("PING", **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "env/lib/python3.12/site-packages/redis/client.py", line 1266, in execute_command
conn = self.connection or pool.get_connection(command_name, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "env/lib/python3.12/site-packages/redis/connection.py", line 1457, in get_connection
connection.connect()
File "env/lib/python3.12/site-packages/redis/connection.py", line 705, in connect
raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11000. Connection refused.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py", line 81, in process_setup_stages
task.get("fn")(task.get("args"))
File "apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py", line 111, in update_global_settings
create_or_update_user(args)
File "apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py", line 224, in create_or_update_user
user.insert()
File "apps/frappe/frappe/model/document.py", line 315, in insert
self.run_post_save_methods()
File "apps/frappe/frappe/model/document.py", line 1128, in run_post_save_methods
self.run_method("on_update")
File "apps/frappe/frappe/model/document.py", line 962, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/model/document.py", line 1322, in composer
return composed(self, method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/model/document.py", line 1304, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/model/document.py", line 959, in fn
return method_object(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/core/doctype/user/user.py", line 207, in on_update
frappe.enqueue(
File "apps/frappe/frappe/__init__.py", line 2305, in enqueue
return frappe.utils.background_jobs.enqueue(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/background_jobs.py", line 121, in enqueue
q = get_queue(queue, is_async=is_async)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/background_jobs.py", line 432, in get_queue
return Queue(generate_qname(qtype), connection=get_redis_conn(), is_async=is_async)
^^^^^^^^^^^^^^^^
File "env/lib/python3.12/site-packages/tenacity/__init__.py", line 289, in wrapped_f
return self(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File "env/lib/python3.12/site-packages/tenacity/__init__.py", line 379, in __call__
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "env/lib/python3.12/site-packages/tenacity/__init__.py", line 314, in iter
return fut.result()
^^^^^^^^^^^^
File "/usr/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "env/lib/python3.12/site-packages/tenacity/__init__.py", line 382, in __call__
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/background_jobs.py", line 484, in get_redis_conn
log(
File "apps/frappe/frappe/utils/commands.py", line 57, in log
print(colour + message + end_line)
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 115, in application
response = frappe.api.handle(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/api/__init__.py", line 49, in handle
data = endpoint(**arguments)
^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
return frappe.handler.handle()
^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/handler.py", line 49, in handle
data = execute_cmd(cmd)
^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/handler.py", line 85, in execute_cmd
return frappe.call(method, **frappe.form_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/__init__.py", line 1768, in call
return fn(*args, **newargs)
^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py", line 61, in setup_complete
return process_setup_stages(stages, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py", line 83, in process_setup_stages
handle_setup_exception(user_input)
File "apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py", line 158, in handle_setup_exception
print(traceback)
BrokenPipeError: [Errno 32] Broken pipe
Request Data
{
"type": "POST",
"args": {
"args": "{\"language\":\"English\",\"country\":\"India\",\"timezone\":\"Asia/Kolkata\",\"currency\":\"INR\",\"full_name\":\"Human Resource Management\",\"email\":\"Hrms@nstarxinc.com\",\"password\":\"Frappeadmin\",\"company_name\":\"NStarX India Pvt Ltd.\",\"company_abbr\":\"NstarX\",\"chart_of_accounts\":\"Standard\",\"fy_start_date\":\"2024-04-01\",\"fy_end_date\":\"2025-03-31\",\"setup_demo\":1}"
},
"headers": {},
"error_handlers": {},
"url": "/api/method/frappe.desk.page.setup_wizard.setup_wizard.setup_complete",
"request_id": null
}
Response Data
{
"exception": "BrokenPipeError: [Errno 32] Broken pipe",
"exc_type": "BrokenPipeError"
}