Photos aren't loading: triangle with exclamation mark inside

I hear what you’re saying but no - it shouldn’t have changed. I connect to the external server using VPN software (Cisco AnyConnect) when I first start working, and then it stays connected. I suppose it might be interrupted with fluctuations in internet connection - but that hasn’t been happening this morning.

Also when I restarted Tropy not all the photos went missing - just some.

You say that the consolidating countdown (to 2066) should be quick if most of the photos are fine. But when it restarts, it counts slowly through all of them. I’ve added 40-odd more photos, and asked it to consolidate one of the earlier ones that went missing, and we’re slowly counting up to 2103 - one by one. image

I’m sorry I’m using up so much of your time with this. Universities are increasingly asking us to store our data on servers that are backed up regularly, though, so I’m hoping this topic might apply to more people.

It’s still not clear to me if any photos involved here have been moved or not? If the photos have been moved (or renamed) they need to be consolidated; letting Tropy try to resolve other missing photos automatically afterwards can save a lot of time if many photos were moved together or if one of the containing folders was renamed; if the file itself was renamed, however, other photos will not be able to be resolved automatically (so in that case auto-consolidation will just take up time but not fix anything).

Since only some photos go missing, can you try to test if there is a discernible pattern to this? For example, when you open and close Tropy are always the same photos missing? And are those photos really missing / changed in any way, or can you find them in Windows Explorer? (Hint: you can click on the file name in the metadata panel to open Windows Explorer in the folder where Tropy believes the photos is located.)

For any of the missing photos which you were able to fix by selecting their new location, can you tell me which part of the path changed: the file name or any of the containing folders? I.e., was the file moved or renamed?

I am having a similar problem, but it started with “ERROR: SQLITE_CANTOPEN: unable to open database file”. I read in another thread that I could fix that by moving my project file off of icloud and onto my desktop, which worked. However, now that I’m back in my project I can’t see any of my photos in the reader window - they only appear as thumbnails. And, some do not appear at all. It is random. I tried consolidating the photo library. I looked at the location of the photos and they are still held on a local remote disk.

Do you still have the problem? Or is it related to the Apple Photos update mentioned in the other thread?

In any case, if Tropy can’t find the photos it’s always because either: the photo was moved, renamed or deleted, or because there is some file permission error. If you try to consolidate a single photo (not item) Tropy should prompt you for the new photo location if it can’t find the photo. That is, if the prompt shows up, it means Tropy can’t find the photo; if the prompt does not show up and the photo is still not fixed after consolidation, it means Tropy can’t open the file for some other reason (typically lacking permissions) – if you can try consolidate a photo and then save and post the tropy.log file afterwards we should be able to tell what the reason is.

When I right-click on a missing photo, and select “consolidate,” nothing happens. I can see these photos are in iPhoto when I hover on the file name. There are over 700 items in my project, and I can see about 30% of them in thumbnail only. tropy.log (6.7 KB)

Are you sure that you right click on the photo (in the photo panel) and not the item? (Consolidating items does not prompt you for the new location, because you can have more than one photo in an item – I know that this can be confusing!)

According to the error in the log (file not found) Tropy should really prompt you for the photo. Looking at the path this looks like an old Apple Photos library – have you recently updated your Mac to Catalina? In that case it the photo’s are probably missing because of the update – unfortunately the best way to solve this currently is to use the script we wrote to update the paths (the files are difficult to find otherwise, because Apple renamed the originals).

Yes, I think the update is the cause of my problems!
When I clicked on the photo in the photo panel, I was indeed prompted to consolidate and find the new location on my computer. However, when I navigate through this dialog box to my Photos library, only a small percentage of photos appear. Say, 50 out of 500. Do I have to find the exact original to link here to make this updated file path process work? Why can’t I see everything?

The photo you pick will be associated with the corresponding entry in your Tropy project, so you definitely need to pick the exact original.

If you can’t locate the file in the Photos library (and if you don’t mind creating a duplicate) you can look for the photo in Apple Photos and then drag it to any folder: you can then consolidate the photo in Tropy using the copy in that folder. If you want to update all the photos affected by the update in one go the best way is to use the script mentioned in the other thread. It’s definitely advanced use and you need to be careful; but at the same time, this is just a few commands and it will update all the missing photos automatically.

I’d like to use the script if I can handle it! Otherwise is there an easy way to copy my iphoto library from a specific date range into a new folder?

Hello @inukshuk ,
Same symptom here (the triangle) but the cause may be that our photos are on a webdav folder and our computers run Windows. Everything is fine (base is consolidated, miniatures are created, asking for the original file open the file explorer in the good folder with the photo selected) except we can’t display the original file in Tropy.

The error in tropy.log :

{"level":40,"time":1600265927382,"type":"renderer","name":"project","stack":"TypeError: Failed to fetch\n    at loadImageBitmap (file:///C:/Users/jrabaud001/AppData/Local/tropy/app-1.8.0/resources/app.asar/res/workers/loader.js:4:24)\n    at self.onmessage (file:///C:/Users/jrabaud001/AppData/Local/tropy/app-1.8.0/resources/app.asar/res/workers/loader.js:25:15)","msg":"esper: failed loading file://\\\\msadsrv2\\composantes\\scd\\Projet  Blot\\PHOTOS NUMERIQUES-DOSSIER DE TRAVAIL\\PHOTOS de MONUMENTS  par commune\\Saint-Étienne-de-Baïgorry\\St Etienne  de Baigorri - Monuments\\St Etienne - Astate- D-\\-  Astate -   D.JPG"}
{"level":40,"time":1600265929913,"type":"renderer","name":"project","stack":"TypeError: Failed to fetch\n    at loadImageBitmap (file:///C:/Users/jrabaud001/AppData/Local/tropy/app-1.8.0/resources/app.asar/res/workers/loader.js:4:24)\n    at self.onmessage (file:///C:/Users/jrabaud001/AppData/Local/tropy/app-1.8.0/resources/app.asar/res/workers/loader.js:25:15)","msg":"esper: failed loading file://\\\\msadsrv2\\composantes\\scd\\Projet  Blot\\PHOTOS NUMERIQUES-DOSSIER DE TRAVAIL\\PHOTOS de MONUMENTS  par commune\\Saint-Étienne-de-Baïgorry\\St Etienne  de Baigorri - Monuments\\St Etienne - Astate- D-\\-  Astate -   D.JPG?c=1600265929893"}

Nothing “blocking” for our work (we still have the miniatures) and the metadata are okay. Just to know if we can do something (with webdav parameters or else) or if it is a minor bug.

This could be another issue with the security policy. Could you enable developer mode in the preferences, open the devtools from the Developer menu and then check the console tab for additional warnings when you try opening a photo?

1 Like

Once again, you’re right !

Tropy_error

Can I do something ?

it’s allright, I didn’t find this subject on the forum : content security policy

Will wait too :wink:

Thanks for your help :slight_smile:

Yes this is a bit strange. The 1.8.1 (or 1.9.0) release is coming along but packing more changes than originally anticipated. You could help us by trying this with the beta when it’s ready in a week or two to make sure the updated policy works before we make the stable release.

1 Like

I am also experiencing this problem as of today (week before last all was working fine). My images are stored on an external drive an my uni and I access them via our cloud - I downloaded them there just today. Today I wanted to enter images into my database and had no probs with the drag and drop, but in the item all I can see are the thumbnails. There is no triangle warning symbol. The connection is fine. I randomly checked older items (all in the same folder/place BTW) and could see all the images in the viewer OK. After reading this thread I tried to consolidate images but Tropy did not seem to do anything (I did not get the usual query about consolidating other images and this did not fix the problem). I deleted the item and started afresh - same problem with all images I import today. I have a Mac, Catalina 10.15.6. There is an update outstanding to 10.15.7 - could that be the snag?

Can you try opening one of the photos again and afterwards save the tropy.log file via Help -> Show log files and post it here?

If there are no errors (especially permission denied or similar) in the log, could you try enabling developer mode and checking the console for extra warnings as described above?

Thanks for getting back to me. Here is the log. I am not code-savvy enough to know if there are any errors, I’m afraid. Thanks!:

{“level”:30,“time”:1601363697556,“type”:“browser”,“name”:“main”,“opts”:{"_":[],“psn_0_73746”:true,“environment”:“production”,“env”:“production”,“auto-updates”:true,“ignore-gpu-blacklist”:false,“debug”:false,“trace”:false,“port”:null,“p”:null,"$0":“Applications/Tropy.app/Contents/MacOS/Tropy”,“data”:"/Users/robilliard/Library/Application Support/Tropy",“cache”:"/Users/robilliard/Library/Caches/Tropy",“logs”:"/Users/robilliard/Library/Logs/Tropy"},“version”:“1.8.0”,“msg”:“main.init 1.8.0 Darwin 19.6.0 (x64)”}
{“level”:30,“time”:1601363698224,“type”:“browser”,“name”:“main”,“msg”:“plugins scanned: 0”}
{“level”:30,“time”:1601363698225,“type”:“browser”,“name”:“main”,“msg”:“app state restored”}
{“level”:30,“time”:1601363698226,“type”:“browser”,“name”:“main”,“file”:"/Users/robilliard/Documents/Intoxicating Spaces.tpy",“msg”:“open new project window”}
{“level”:30,“time”:1601363698277,“type”:“browser”,“name”:“main”,“msg”:“ready after 797ms [req:102ms]”}
{“level”:30,“time”:1601363698288,“type”:“browser”,“name”:“main”,“msg”:“switch to “system” theme”}
{“level”:30,“time”:1601363698293,“type”:“browser”,“name”:“main”,“msg”:“checking for updates…”}
{“level”:30,“time”:1601363698516,“type”:“renderer”,“name”:“project”,“dpx”:1,“opts”:{“contrast”:false,“dark”:false,“environment”:“production”,“documents”:"/Users/robilliard/Documents",“maximizable”:true,“minimizable”:true,“pictures”:"/Users/robilliard/Pictures",“scrollbars”:true,“theme”:“system”,“file”:"/Users/robilliard/Documents/Intoxicating Spaces.tpy",“recent”:["/Users/robilliard/Documents/Intoxicating Spaces.tpy"],“data”:"/Users/robilliard/Library/Application Support/Tropy",“debug”:false,“dev”:false,“cache”:"/Users/robilliard/Library/Caches/Tropy",“plugins”:"/Users/robilliard/Library/Application Support/Tropy/plugins",“fontSize”:“13px”,“frameless”:true,“level”:“info”,“locale”:“en”,“log”:"/Users/robilliard/Library/Logs/Tropy/tropy.log",“uuid”:“ab0b6da0-dbc3-11ea-9a07-631c093e6d67”,“update”:{},“version”:“1.8.0”,“webgl”:true,“zoom”:1},“msg”:“project.init”}
{“level”:30,“time”:1601363698593,“type”:“renderer”,“name”:“project”,“msg”:“plugins scanned: 0”}
{“level”:30,“time”:1601363698593,“type”:“renderer”,“name”:“project”,“msg”:“plugins loaded: 0”}
{“level”:30,“time”:1601363699924,“type”:“browser”,“name”:“main”,“msg”:“no updates available”}
{“level”:30,“time”:1601363700850,“type”:“renderer”,“name”:“project”,“mode”:“w+”,“msg”:“open db /Users/robilliard/Library/Application Support/Tropy/ontology.db”}
{“level”:30,“time”:1601363700861,“type”:“renderer”,“name”:“project”,“msg”:“restoring recent@tropy”}
{“level”:30,“time”:1601363700899,“type”:“renderer”,“name”:“project”,“msg”:“restoring settings@tropy”}
{“level”:30,“time”:1601363700900,“type”:“renderer”,“name”:“project”,“msg”:“restoring ui@tropy”}
{“level”:30,“time”:1601363701302,“type”:“renderer”,“name”:“project”,“msg”:“Esper.instance created using webgl renderer”}
{“level”:30,“time”:1601363701316,“type”:“renderer”,“name”:“project”,“mode”:“w”,“msg”:“open db /Users/robilliard/Documents/Intoxicating Spaces.tpy”}
{“level”:30,“time”:1601363701523,“type”:“renderer”,“name”:“project”,“mode”:“w”,“msg”:“open db /Users/robilliard/Documents/Intoxicating Spaces.tpy”}
{“level”:30,“time”:1601363701562,“type”:“renderer”,“name”:“project”,“msg”:“project ready 3092ms [dom:61ms win:82ms req:2302ms]”}
{“level”:30,“time”:1601363701571,“type”:“renderer”,“name”:“project”,“msg”:“restoring nav@36f5d444-c233-45fe-8767-8b875e377c3f”}
{“level”:30,“time”:1601363701571,“type”:“renderer”,“name”:“project”,“msg”:“restoring notepad@36f5d444-c233-45fe-8767-8b875e377c3f”}
{“level”:30,“time”:1601363701571,“type”:“renderer”,“name”:“project”,“msg”:“restoring esper@36f5d444-c233-45fe-8767-8b875e377c3f”}
{“level”:30,“time”:1601363701571,“type”:“renderer”,“name”:“project”,“msg”:“restoring imports@36f5d444-c233-45fe-8767-8b875e377c3f”}
{“level”:30,“time”:1601363701571,“type”:“renderer”,“name”:“project”,“msg”:“restoring sidebar@36f5d444-c233-45fe-8767-8b875e377c3f”}
{“level”:30,“time”:1601363701572,“type”:“renderer”,“name”:“project”,“msg”:“restoring panel@36f5d444-c233-45fe-8767-8b875e377c3f”}
{“level”:30,“time”:1601363701647,“type”:“renderer”,“name”:“project”,“mode”:“w”,“msg”:“open db /Users/robilliard/Documents/Intoxicating Spaces.tpy”}

Thanks! Could you try this one more time, but before saving the log file trying to consolidate one of the images showing the warning sign? I.e., just open the project, select one of the photos with the warning sign, right click on the photo (in the photo panel) and select the consolidate photo action. This might prompt you to pick out the file again on your hard drive (if that’s the case, then please do). After the consolidation, if the photo still does not show, please check the log file again and there should be error messages there to help us.

My guess is that this could be related to file permissions: Catalina puts additional protections on files, especially when you’ve downloaded them over the network and, depending on the circumstances, I’ve seen cases where Tropy will not be allowed to access the files anymore (the best workaround I’m aware of is to then change the file permissions using the xattr tool).

Oh, apologies - I did not do that first! Here it is (I tried to consolidate a few pictures - not once did it ask me to choose a file):

{“level”:30,“time”:1601457259659,“type”:“browser”,“name”:“main”,“opts”:{"_":[],“environment”:“production”,“env”:“production”,“auto-updates”:true,“ignore-gpu-blacklist”:false,“debug”:false,“trace”:false,“port”:null,“p”:null,"$0":“Applications/Tropy.app/Contents/MacOS/Tropy”,“data”:"/Users/robilliard/Library/Application Support/Tropy",“cache”:"/Users/robilliard/Library/Caches/Tropy",“logs”:"/Users/robilliard/Library/Logs/Tropy"},“version”:“1.8.0”,“msg”:“main.init 1.8.0 Darwin 19.6.0 (x64)”}
{“level”:30,“time”:1601457259838,“type”:“browser”,“name”:“main”,“msg”:“plugins scanned: 0”}
{“level”:30,“time”:1601457259839,“type”:“browser”,“name”:“main”,“msg”:“app state restored”}
{“level”:30,“time”:1601457259841,“type”:“browser”,“name”:“main”,“file”:"/Users/robilliard/Documents/Intoxicating Spaces.tpy",“msg”:“open new project window”}
{“level”:30,“time”:1601457259899,“type”:“browser”,“name”:“main”,“msg”:“ready after 267ms [req:61ms]”}
{“level”:30,“time”:1601457259917,“type”:“browser”,“name”:“main”,“msg”:“switch to “system” theme”}
{“level”:30,“time”:1601457259922,“type”:“browser”,“name”:“main”,“msg”:“checking for updates…”}
{“level”:30,“time”:1601457260058,“type”:“renderer”,“name”:“project”,“dpx”:2,“opts”:{“contrast”:false,“dark”:false,“environment”:“production”,“documents”:"/Users/robilliard/Documents",“maximizable”:true,“minimizable”:true,“pictures”:"/Users/robilliard/Pictures",“scrollbars”:true,“theme”:“system”,“file”:"/Users/robilliard/Documents/Intoxicating Spaces.tpy",“recent”:["/Users/robilliard/Documents/Intoxicating Spaces.tpy"],“data”:"/Users/robilliard/Library/Application Support/Tropy",“debug”:false,“dev”:false,“cache”:"/Users/robilliard/Library/Caches/Tropy",“plugins”:"/Users/robilliard/Library/Application Support/Tropy/plugins",“fontSize”:“13px”,“frameless”:true,“level”:“info”,“locale”:“en”,“log”:"/Users/robilliard/Library/Logs/Tropy/tropy.log",“uuid”:“ab0b6da0-dbc3-11ea-9a07-631c093e6d67”,“update”:{},“version”:“1.8.0”,“webgl”:true,“zoom”:1},“msg”:“project.init”}
{“level”:30,“time”:1601457260088,“type”:“renderer”,“name”:“project”,“msg”:“plugins scanned: 0”}
{“level”:30,“time”:1601457260088,“type”:“renderer”,“name”:“project”,“msg”:“plugins loaded: 0”}
{“level”:30,“time”:1601457260365,“type”:“browser”,“name”:“main”,“msg”:“no updates available”}
{“level”:30,“time”:1601457261464,“type”:“renderer”,“name”:“project”,“mode”:“w+”,“msg”:“open db /Users/robilliard/Library/Application Support/Tropy/ontology.db”}
{“level”:30,“time”:1601457261466,“type”:“renderer”,“name”:“project”,“msg”:“restoring recent@tropy”}
{“level”:30,“time”:1601457261467,“type”:“renderer”,“name”:“project”,“msg”:“restoring settings@tropy”}
{“level”:30,“time”:1601457261467,“type”:“renderer”,“name”:“project”,“msg”:“restoring ui@tropy”}
{“level”:30,“time”:1601457261634,“type”:“renderer”,“name”:“project”,“msg”:“Esper.instance created using webgl renderer”}
{“level”:30,“time”:1601457261687,“type”:“renderer”,“name”:“project”,“mode”:“w”,“msg”:“open db /Users/robilliard/Documents/Intoxicating Spaces.tpy”}
{“level”:30,“time”:1601457261697,“type”:“renderer”,“name”:“project”,“mode”:“w”,“msg”:“open db /Users/robilliard/Documents/Intoxicating Spaces.tpy”}
{“level”:30,“time”:1601457261698,“type”:“renderer”,“name”:“project”,“msg”:“project ready 1675ms [dom:45ms win:34ms req:1369ms]”}
{“level”:30,“time”:1601457261730,“type”:“renderer”,“name”:“project”,“msg”:“restoring nav@36f5d444-c233-45fe-8767-8b875e377c3f”}
{“level”:30,“time”:1601457261730,“type”:“renderer”,“name”:“project”,“msg”:“restoring notepad@36f5d444-c233-45fe-8767-8b875e377c3f”}
{“level”:30,“time”:1601457261730,“type”:“renderer”,“name”:“project”,“msg”:“restoring esper@36f5d444-c233-45fe-8767-8b875e377c3f”}
{“level”:30,“time”:1601457261730,“type”:“renderer”,“name”:“project”,“msg”:“restoring imports@36f5d444-c233-45fe-8767-8b875e377c3f”}
{“level”:30,“time”:1601457261730,“type”:“renderer”,“name”:“project”,“msg”:“restoring sidebar@36f5d444-c233-45fe-8767-8b875e377c3f”}
{“level”:30,“time”:1601457261730,“type”:“renderer”,“name”:“project”,“msg”:“restoring panel@36f5d444-c233-45fe-8767-8b875e377c3f”}
{“level”:30,“time”:1601457261752,“type”:“renderer”,“name”:“project”,“mode”:“w”,“msg”:“open db /Users/robilliard/Documents/Intoxicating Spaces.tpy”}

OK so just to recap, some of your photos do not show up in the image viewer; but the thumbnails in the project view show just fine, right? Can you try the following:

  1. In the Tropy preferences enable ‘Developer mode’ and then, back in your project, try to view at least one of these photos and then select ‘Toggle developer tools’ from the developer menu. In the tools pane, please select the ‘Console’ tab and check if there are any warnings or errors.

  2. To check if there are any potential issues with extended file attributes, please pick one of the photos that does not show (you’ll need the full path to the file) and open the Terminal app. At the prompt, you can use the built-in xattr tool to see the file’s attributes by entering xattr "/path/to/your/file.jpg" – in particular, it would be important to know if the file has the quarantine or macl attributes set.