fission-codes / drive

A file manager for your webnative filesystem.
https://drive.fission.codes/
Other
24 stars 3 forks source link

Fails to Upload Keynote Files #169

Open expede opened 1 year ago

expede commented 1 year ago

Summary

Problem

Screenshot 2022-12-06 at 11 05 34

Impact

No upload. Much sad.

Solution

Find a workaround to uploading .key files when they're not cryptographic keys.

Desktop (please complete the following information):

expede commented 1 year ago

Hmm it did actually upload eventually? I don't know 🤷‍♀️ Still getting the console error though.

QuinnWilton commented 1 year ago

Hmm it did actually upload eventually? I don't know 🤷‍♀️ Still getting the console error though.

For what it's worth, I have keynote files in my drive with no issue, and just tested uploading them again. I think the console error is from selecting a file, and not from the upload process itself, since I get similar errors when selecting .zip files: image image

Not having looked at the code, I'm guessing this is just a case of the file preview trying to render non-image files in the pane, when selected.

icidasset commented 1 year ago

Thanks! I think this is because it's trying to "render" these files (there's a render function for image previews and audio), which obviously shouldn't happen.