Skip to content

bug: S3 object output display error - 'Encountered object with invalid path' in Rich S3 Output component #6442

@knowsuchagency

Description

@knowsuchagency

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:

  1. Create a Python script that writes a CSV file to S3 using the wmill library
  2. Return the S3 object path as {"s3": path} from the main function
  3. Run the script
  4. 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

Image Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions