-
Notifications
You must be signed in to change notification settings - Fork 807
Description
Description
When returning an S3 object from a Python script, the Rich S3 Output component displays an error message "Internal: Error loading csv preview: Object Store error: Encountered object with invalid path: Path" instead of properly rendering the S3 object output. The S3 path is correctly shown (s3:///examples/file.csv
) but the component fails to load the preview.
To Reproduce
Steps to reproduce the behavior:
- Create a Python script that writes a CSV file to S3 using the wmill library
- Return the S3 object path as
{"s3": path}
from the main function - Run the script
- The Rich S3 Output component shows an error instead of the CSV preview
Expected behavior
The Rich S3 Output component should properly display the S3 object content or provide a functional preview/download option for the CSV file stored in S3.
Screenshots


Script returns an S3 object but the output component shows:
- "Raw S3 object"
- Path:
s3:///examples/file.csv
- Error: "Internal: Error loading csv preview: Object Store error: Encountered object with invalid path: Path"
Browser information
Arc browser Version 1.109.0 (67185)
Application version
Windmill CE v1.530.0-4-g54f36fcce
Additional context
The script successfully writes the CSV to S3 (as confirmed by the returned path), but the UI component fails to properly handle the S3 object display. This appears to be a bug in the Rich S3 Output component's path parsing or object retrieval logic.