OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: Uploading a zip in the file explorer unzips it

Open amanape opened this issue 1 year ago • 5 comments

Is there an existing issue for the same bug?

  • [X] I have checked the troubleshooting document at https://docs.all-hands.dev/modules/usage/troubleshooting
  • [X] I have checked the existing issues.

Describe the bug

When uploading a .zip type in the file explorer mid-session, the server unpacks it.

Current OpenHands version

0.9.8

Installation and Configuration

N/A

Model and Agent

No response

Operating System

No response

Reproduction Steps

  1. Start a new session
  2. Drag a zip OR press the upload button and upload a .zip type
  3. Observe the updated file explorer has the unpacked files

Logs, Errors, Screenshots, and Additional Context

No response

amanape avatar Oct 08 '24 15:10 amanape

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Nov 08 '24 01:11 github-actions[bot]

@amanape Isn't this what we want though? For the zip to get unpacked?

mamoodi avatar Dec 05 '24 16:12 mamoodi

If we are uploading a project from the home screen, yes. This issue is specifically for uploading a zip mid-session through the file explorer upload functionality. I think the main issue here is that it will be unexpected to the user, or they may want to work on compressed files without unpacking them.

CC: @rbren

amanape avatar Dec 05 '24 17:12 amanape

Yeah we probably only want to unzip when doing the project upload. Guessing this is a long-tail issue though, not high priority

rbren avatar Dec 11 '24 17:12 rbren

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jan 11 '25 01:01 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Feb 13 '25 01:02 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Mar 16 '25 02:03 github-actions[bot]

Going to close this now because we removed upload functionality and all of this is handled in VS Code. So whatever functionality they support, OpenHands supports

mamoodi avatar Mar 28 '25 15:03 mamoodi