Error: "Typeerror: init_io_state"
Environment Details
When running a Python workflow on the Server, an initialization error occurs at the end of the stack trace (typeerror: init_io_state).
Typeerror: init_io_state
- Alteryx Server
- Python Tool
Cause
Python Tool is set to Interactive mode. Production mode must be used when running Python workflows on the Alteryx Server.
Resolution
- Select the Python Tool(s) in the workflow.
- In the top right of the Configuration Window, switch the "Interactive/Production" button to "Production".
- Publish the workflow to the Server.
image.png
Additional Resources