#Canvas can't process files in Zip

1 messages · Page 1 of 1 (latest)

river citrus
#

I dunno if this is specific to canvas or if it's a general anomaly of the ChatGPT interface.

I attached a zip file to a new session in the browser UI, and opened the discussion with "Extract the code project files from the attached zip. Open src/app.tsx in canvas."

It ignored the file in the zip, created a new file that seemed to conform to the README in the zip, and responded "here is the content of src/app.tsx".

I asked it to show a tree structure of the folders and files in the zip. It was completely accurate with a total of two folders and six small files (no confusing bulk larger than context).

I then attempted to get it to re-read from scratch: "OK, those are the files in the zip. Now, in the zip, from under the src folder, show file app.tsx in the canvas."

Response: "I've updated the canvas to show the exact content of app.tsx from the zip file under the src folder."

But it just made a refinement to its own new creation.

I then asked for details from an included .css file. The response was correct.
Without mentioning a file name, I asked for details that would be found in another file under src, foo.tsx. The response was correct.

Then I asked for details, again without specifying the file, which would be found in app.tsx:
"An array of values in div 'location-data-grid-inner' is used as a map for creating label/input pairs. Show me those values."
Response: "It appears there is no array definition directly related to the 'location-data-grid-inner' div in main.tsx."
That response is incorrect. In app.tsx there is such a div and it does contain an array.
However, it's incorrect in yet another way, the main.tsx file doesn't include a div with that classname, and yet the response implies that there is such a div but it doesn't contain property values.

I tried a different approach, asking for the first five lines from each file in the zip. It showed the file names, which are "the first five lines" in the zip. It didn't open the files within the zip.