nextcloud / recognize

👁 👂 Smart media tagging for Nextcloud: recognizes faces, objects, landscapes, music genres
https://apps.nextcloud.com/apps/recognize
GNU Affero General Public License v3.0
562 stars 45 forks source link

Photos not loading due to missing preview #1202

Closed andypmuc closed 1 month ago

andypmuc commented 1 month ago

Which version of recognize are you using?

7.1.0

Enabled Modes

Object recognition, Face recognition

TensorFlow mode

Normal mode

Downstream App

Photos App

Which Nextcloud version do you have installed?

29.0.7

Which Operating system do you have installed?

Ubuntu 24 LTS

Which database are you running Nextcloud on?

Maria DB latest

Which Docker container are you using to run Nextcloud? (if applicable)

n/a

How much RAM does your server have?

12

What processor Architecture does your CPU have?

x86_64

Describe the Bug

I had a lot a problems loading the images in the people app when clicking on faces. I checked the error messages and recognized that some mime types like TIFF HEIF HEIC are not in the preview. After adding them, the pages load very quickly.

Suggest you handle that error, that missing mime types do not lead to the page showing the people with recognized faces is not loading.

Regards

Expected Behavior

Correct error handling

To Reproduce

Add pictures like TIFF HEIC or HEIF and activate Preview and do not add them to preview providers

Debug log

None available, says in Chrome dev tools, that mime type is missing.

marcelklehr commented 1 month ago

some mime types like TIFF HEIF HEIC are not in the preview

What does this mean? I think this issue should go to the photos app

andypmuc commented 1 month ago

After adding the mime type in the config.php, everything is fine. See https://help.nextcloud.com/t/photoshop-psd-psb-tiff-large-files-previews/156862

marcelklehr commented 1 month ago

If the issue is with the config.php file then it does not belong in this repository. Sorry.

github-actions[bot] commented 1 month ago

Hello :wave:

Thank you for taking the time to open this issue with recognize. I know it's frustrating when software causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at and if possible solved. I try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it. Until then, please be patient. Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can collaborate to make this software better. For everyone. Thus, if you can, you could also look at other issues to see whether you can help other people with your knowledge and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and try to fix the odd bug yourself. Everyone will be thankful for extra helping hands! One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum, to twitter or somewhere else. But this is a technical issue tracker, so please make sure to focus on the tech and keep your opinions to yourself. (Also see our Code of Conduct. Really.)

I look forward to working with you on this issue Cheers :blue_heart: