Getting error in python code

Hi
Our workflow it was working fine till today, but suddenly it got started throwing the error.
We are using the python code in workflow design.
The error is as below.
ERROR: Pyodide already fatally failed and can no longer be used.

Details

Stack

Error: Pyodide already fatally failed and can no longer be used.
    at Object.get [as runPythonAsync] (/usr/lib/node_modules/n8n/node_modules/pyodide/pyodide.asm.js:9:103459)
    at PythonSandbox.runCodeInPython (/usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/nodes/Code/PythonSandbox.ts:58:18)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at PythonSandbox.runCodeAllItems (/usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/nodes/Code/PythonSandbox.ts:43:27)
    at Object.execute (/usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/nodes/Code/Code.node.ts:135:13)
    at Workflow.runNode (/usr/lib/node_modules/n8n/node_modules/n8n-workflow/src/Workflow.ts:1310:8)
    at /usr/lib/node_modules/n8n/node_modules/n8n-core/src/WorkflowExecute.ts:1048:29

Thanks
Raju

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

n8n version: 1.18.0

Database (default: SQLite): Postgres

n8n EXECUTIONS_PROCESS setting (default: own, main): main

Running n8n via (Docker, npm, n8n cloud, desktop app): /usr/bin/n8n start

Operating system: Ubuntu

Hi @Raju_Bishnoi :wave: Welcome to the community :cake:

Can you try restarting your n8n instance and seeing if this error persists? :thinking: