zipline icon indicating copy to clipboard operation
zipline copied to clipboard

Bug: IO Error when uploading a larger zip file

Open Pumpline opened this issue 1 year ago • 4 comments

What happened?

When uploading a larger zip (in this case 6 gigabyte) file, an error occurs.

Version

latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)

What browser(s) are you seeing the problem on?

Firefox

Zipline Logs

[Error: ENOENT: no such file or directory, open 'C:\Users\ADMINI~1\AppData\Local\Temp\2\zipline\zipline_partial_Uv2c_0_20971520'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2\\zipline\\zipline_partial_Uv2c_0_20971520'
}

Browser Logs

Browser is not noticing this issue as I saw, tries to continue to upload but the upload bar stays stuck.

Additional Info

No response

Pumpline avatar Apr 02 '24 20:04 Pumpline

Is this issue still happening? Could you turn on the debug logs and show the logs surrounding the error if it's still happening?

diced avatar Apr 15 '24 05:04 diced

A possibility is that the temp directory isn't being created, I don't test Zipline on windows but try to create the C:\Users\ADMINI~1\AppData\Local\Temp\2\zipline directory your self and see if the issue is resolved. Obviously this isn't a solution but I'll have to investigate it in more detail later on windows.

diced avatar Apr 15 '24 05:04 diced

Hey there, the named folder already exists. https://pumpline.de/cloud/aiv314TzUFoPipftwKuh.png

Pumpline avatar Apr 16 '24 13:04 Pumpline

Not sure if this will fix it, but try setting the CORE_TEMP_DIRECTORY variable to somewhere other than inside of AppData\Local\Temp for example maybe just your user folder and call the directory something like zipline_temp.

reference: https://zipline.diced.sh/docs/config/core#core_temp_directory

diced avatar Apr 22 '24 03:04 diced