You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m encountering a BrokenPipeError when attempting to update the agent via the web interface in your Frappe Agent repository.
Here’s a snippet of the error:
Data:
{
"data": {
"branch": "master",
"url": "https://github.com/frappe/agent"
},
"headers": {
"Authorization": "bearer [Hidden]",
"X-Agent-Job-Id": null
},
"method": "POST",
"result": {
"error": [
"Traceback (most recent call last):",
" File \"/home/frappe/agent/env/lib/python3.10/site-packages/flask/app.py\", line 1949, in full_dispatch_request",
" rv = self.dispatch_request()",
" File \"/home/frappe/agent/env/lib/python3.10/site-packages/flask/app.py\", line 1935, in dispatch_request",
" return self.view_functions[rule.endpoint](**req.view_args)",
" File \"/home/frappe/agent/repo/agent/web.py\", line 1135, in update_agent",
" )",
" File \"/home/frappe/agent/repo/agent/server.py\", line 527, in update_agent_web",
" self.execute(\"git reset --hard\", directory=directory)",
" File \"/home/frappe/agent/repo/agent/base.py\", line 81, in execute",
" File \"/home/frappe/agent/repo/agent/base.py\", line 199, in log",
"BrokenPipeError: [Errno 32] Broken pipe"
]
},
"url": "[Hidden for Security]:443/agent/update",
"user": "Administrator"
}
The error occurs when the application tries to log data via print(json.dumps(data)). Additionally, I’ve verified that the supervisorctl restart command is working correctly, and the server responds with a 500 INTERNAL SERVER ERROR after the request.
Could you please advise on how to resolve this or if there’s any fix available?
Thank you for your support.
The text was updated successfully, but these errors were encountered:
Dear Frappe Agent,
I’m encountering a BrokenPipeError when attempting to update the agent via the web interface in your Frappe Agent repository.
Here’s a snippet of the error:
The error occurs when the application tries to log data via print(json.dumps(data)). Additionally, I’ve verified that the supervisorctl restart command is working correctly, and the server responds with a 500 INTERNAL SERVER ERROR after the request.
Could you please advise on how to resolve this or if there’s any fix available?
Thank you for your support.
The text was updated successfully, but these errors were encountered: