-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Stuck in "Training" with no progress if a HEIF image was uploaded. #123
Comments
Thank you for reporting this. Do you have a sample file that produces this error I could use to test with? |
This may have been the log entry:
|
i shell'd into the container, installed sqlite and used sqlite3 with the following commands:
|
I'd rather not provide what caused the problem, but i think it's pretty easy to repro; the HEIF image in question taken the camera on an Apple iPhone 13 Pro. |
What steps did you go through to produce the error? I also have an iPhone 13 Pro and when I select photos from my camera roll they upload to the train page just fine. I verified I have the HEIF mode turned on as well. |
A bit clarification on how i uploaded the file; I didn't directly upload it from the iOS device: Google Photos is running on an iphone 13 Pro. I used MS Edge on an android device, and selected a HEIF image that was sync'd Google Photos instead. I bectcha native iOS upload would transcode it to jpeg instead. |
I pushed a few more checks last night that should hopefully catch this in the future. I was able to break the training page as well, though I got a different error. I found the root cause of this though and that should be fixed. |
# [1.4.0](v1.3.0...v1.4.0) (2021-10-12) ### Bug Fixes * **api:train:** validate mime type and result of database.get.fileByFilename ([#123](#123)) ([d5e050f](d5e050f)) * **api:** catch facebox error before normalizing data ([67c93c4](67c93c4)) * **api:** delete orphaned db records when deleting training folder / files ([f031545](f031545)) * **ui:** fix multiselect dropdowns when open and scrolling ([ae2085b](ae2085b)) * **ui:** theme wouldn't load if setting to same theme ([88b0976](88b0976)) ### Features * **api:** api/latest/<name>.jpg ([#120](#120)) ([cd765ae](cd765ae)) * **api:** use camera name when using custom mqtt topic ([70a4ce3](70a4ce3)) * **ui:** enable/disable sockets on matches page ([bb95e0a](bb95e0a))
This is now released in |
Describe the bug
Stuck in "Training" with no progress if a HEIF image was uploaded.
uploading unsupported image format causes a bad row in train table in the sqlite database causes "Training" to be stuck
Version of Double Take
v1.3.0-5fdac97
Expected behavior
Failed detection should be purged from the database, restrict unsupported file types or convert it to a supported file type.
Screenshots
N/A
Hardware
Additional context
Very impressive app!
The text was updated successfully, but these errors were encountered: