-
-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uploading an image makes an album inaccessible & undeletable #925
Comments
The small variant is not created simply because of low resolution of the original image. That's not the source of your problems. It's a little embarrassing but Lychee is failing because... the file name doesn't have any extension. Our code currently assumes that an extension is always present so it fails in weird ways with files like yours. I just started fixing this in #926. I don't consider the fix to be complete yet but it is enough to enable the album to be opened and the photo to be deleted. If you want to try it out, simply replace the files |
Thank you very much for this immediate reaction and the explication which will help me to avoid the problem in my upload scripts. I'm sorry I didn't figure out / report the actual reason for the problem. I'll install the new code as soon as I can to give you a quick feedback. Let me tell you at this point how much I appreciate your work and that of the other team members. I did a lot of research and comparison before deciding to use Lychee to store and share my photos. Great work! |
The fixes found in #926 do the job and images without an extension now work as expected. |
As long as #926 is not merged, this should not be closed. :) |
Ok, sorry for being too fast, Will this be closed by the team creating the next release or should I check it once the patches have been integrated / released. |
No worries, we do appreciate that you close the issue yourself, that is very kind of you. Even better, GitHub will auto-close the issue when #926 is merged: the PR description contains "Fixes #925". |
Detailed description of the problem
There seems to be the possibility to upload a specific image to Lychee which entirely blocks an album and all of its contents, i.e. when trying got open the album after the upload of this image the system just displays an error (Error: Server error or API not found). The same happens if you try to «Delete» the album containing this image. This leaves you with an album that cannot be used or removed anymore.
This happens independently of the way the image is imported to the system: «Drag & Drop» or «Import from Server». The zipped version of an example image triggering this problem has been attached to this ticket.
It looks like the original image is properly copied to the «big» folder and the «thumb» image is created afterwards. However the «small» version of the image does not seem to be created.
Steps to reproduce the issue
Logfile
Output of the diagnostics
Browser and system
OS X 10.14.6
Firefox 85.0.1
The text was updated successfully, but these errors were encountered: