Tropy is not responding

Hello, I desperately need help. I don’t know Tropy very well and I haven’t been using it for a long time. I have just uploaded some pictures which I took from my phone, then uploaded them to Dropbox, downloaded them on my Mac, and imported them into Tropy. When I click on a picture to insert metadata, Tropy crashes. I am not sure what to do. Should I save the files in a different way? How can I delete the latest imported files so I can keep working on other things at least?

Thank you very much in advance,
Martina

Can you talk about this in a little more detail? If I understand this correctly, you imported a picture into Tropy successfully. But when you select the item containing the picture in Tropy it crashes?

Does the item causing the crash already have the small preview photo showing up or is it blank? And can you select/open other items as usual or does Tropy crash every time you try to open an item?

A log file of the crash could be helpful to figure this out as well. You can open the log file folder via Help -> Show log files in the menu. Then try to select the item to cause the crash; afterwards make a copy of the tropy.log file and post it here.

Hi, thank you very much for your reply.
It is correct. I import the pictures into Tropy correctly but when I select the items, Tropy crashes. Some times it crashes even before clicking on a picture.
This is the latest log file:

{“level”:30,“time”:1679359903679,“type”:“renderer”,“name”:“prefs”,“dpx”:2,“opts”:{“env”:“production”,“documents”:“/Users/martins89/Documents”,“pictures”:“/Users/martins89/Pictures”,“theme”:“system”,“contrast”:false,“dark”:false,“scrollbars”:true,“vibrancy”:false,“file”:“/Users/martins89/Desktop/TROPY/TRYOUT2.tpy”,“data”:“/Users/martins89/Library/Application Support/Tropy”,“debug”:false,“dev”:false,“cache”:“/Users/martins89/Library/Caches/Tropy”,“plugins”:“/Users/martins89/Library/Application Support/Tropy/plugins”,“fontSize”:“13px”,“frameless”:true,“level”:“info”,“locale”:“en”,“log”:“/Users/martins89/Library/Logs/Tropy/tropy.log”,“uuid”:“4c32cf50-c260-11ec-b7e0-5f4ccbb1b2a3”,“update”:{},“version”:“1.12.0”,“webgl”:true,“zoom”:1,“maximizable”:false,“minimizable”:false},“msg”:“prefs.init”}
{“level”:30,“time”:1679359903723,“type”:“renderer”,“name”:“prefs”,“msg”:“plugins scanned: 0”}
{“level”:30,“time”:1679359903723,“type”:“renderer”,“name”:“prefs”,“msg”:“plugins loaded: 0”}
{“level”:30,“time”:1679359903877,“type”:“renderer”,“name”:“prefs”,“msg”:“restoring prefs@tropy”}
{“level”:30,“time”:1679359903878,“type”:“renderer”,“name”:“prefs”,“msg”:“restoring settings@tropy”}
{“level”:30,“time”:1679359903888,“type”:“renderer”,“name”:“prefs”,“mode”:“w+”,“msg”:“open db /Users/martins89/Library/Application Support/Tropy/ontology.db”}
{“level”:30,“time”:1679359904052,“type”:“renderer”,“name”:“prefs”,“mode”:“w”,“msg”:“open db /Users/martins89/Desktop/TROPY/TRYOUT2.tpy”}
{“level”:30,“time”:1679359904061,“type”:“renderer”,“name”:“prefs”,“msg”:“prefs ready 811ms [dom:437ms win:36ms req:151ms]”}
{“level”:30,“time”:1679359904070,“type”:“renderer”,“name”:“prefs”,“mode”:“w+”,“msg”:“open db /Users/martins89/Library/Application Support/Tropy/ontology.db”}
{“level”:30,“time”:1679359904076,“type”:“renderer”,“name”:“prefs”,“msg”:“restoring project.watch@1c3f9c35-c927-421c-9265-f07abeab2aa9”}
{“level”:30,“time”:1679359933413,“type”:“renderer”,“name”:“prefs”,“msg”:“restoring project.watch@1c3f9c35-c927-421c-9265-f07abeab2aa9”}
{“level”:30,“time”:1679359933413,“type”:“renderer”,“name”:“prefs”,“msg”:“persisting prefs@tropy”}
{“level”:30,“time”:1679359933413,“type”:“renderer”,“name”:“prefs”,“msg”:“persisting settings@tropy”}
{“level”:30,“time”:1679359933770,“type”:“renderer”,“name”:“project”,“msg”:“restoring settings@tropy”}
{“level”:30,“time”:1679359933829,“type”:“renderer”,“name”:“project”,“msg”:“restoring project.watch@1c3f9c35-c927-421c-9265-f07abeab2aa9”}
{“level”:30,“time”:1679359947062,“type”:“renderer”,“name”:“prefs”,“dpx”:2,“opts”:{“env”:“production”,“documents”:“/Users/martins89/Documents”,“pictures”:“/Users/martins89/Pictures”,“theme”:“system”,“contrast”:false,“dark”:false,“scrollbars”:true,“vibrancy”:false,“file”:“/Users/martins89/Desktop/TROPY/TRYOUT2.tpy”,“data”:“/Users/martins89/Library/Application Support/Tropy”,“debug”:false,“dev”:false,“cache”:“/Users/martins89/Library/Caches/Tropy”,“plugins”:“/Users/martins89/Library/Application Support/Tropy/plugins”,“fontSize”:“13px”,“frameless”:true,“level”:“info”,“locale”:“en”,“log”:“/Users/martins89/Library/Logs/Tropy/tropy.log”,“uuid”:“4c32cf50-c260-11ec-b7e0-5f4ccbb1b2a3”,“update”:{},“version”:“1.12.0”,“webgl”:true,“zoom”:1,“maximizable”:false,“minimizable”:false},“msg”:“prefs.init”}
{“level”:30,“time”:1679359947091,“type”:“renderer”,“name”:“prefs”,“msg”:“plugins scanned: 0”}
{“level”:30,“time”:1679359947091,“type”:“renderer”,“name”:“prefs”,“msg”:“plugins loaded: 0”}
{“level”:30,“time”:1679359947235,“type”:“renderer”,“name”:“prefs”,“msg”:“restoring prefs@tropy”}
{“level”:30,“time”:1679359947236,“type”:“renderer”,“name”:“prefs”,“msg”:“restoring settings@tropy”}
{“level”:30,“time”:1679359947245,“type”:“renderer”,“name”:“prefs”,“mode”:“w+”,“msg”:“open db /Users/martins89/Library/Application Support/Tropy/ontology.db”}
{“level”:30,“time”:1679359947353,“type”:“renderer”,“name”:“prefs”,“mode”:“w”,“msg”:“open db /Users/martins89/Desktop/TROPY/TRYOUT2.tpy”}
{“level”:30,“time”:1679359947362,“type”:“renderer”,“name”:“prefs”,“mode”:“w+”,“msg”:“open db /Users/martins89/Library/Application Support/Tropy/ontology.db”}
{“level”:30,“time”:1679359947368,“type”:“renderer”,“name”:“prefs”,“msg”:“restoring project.watch@1c3f9c35-c927-421c-9265-f07abeab2aa9”}
{“level”:30,“time”:1679359947401,“type”:“renderer”,“name”:“prefs”,“msg”:“prefs ready 557ms [dom:223ms win:25ms req:140ms]”}
{“level”:30,“time”:1679359961128,“type”:“renderer”,“name”:“prefs”,“msg”:“restoring project.watch@1c3f9c35-c927-421c-9265-f07abeab2aa9”}
{“level”:30,“time”:1679359961128,“type”:“renderer”,“name”:“prefs”,“msg”:“persisting prefs@tropy”}
{“level”:30,“time”:1679359961128,“type”:“renderer”,“name”:“prefs”,“msg”:“persisting settings@tropy”}
{“level”:30,“time”:1679359961427,“type”:“renderer”,“name”:“project”,“msg”:“restoring settings@tropy”}
{“level”:30,“time”:1679359961438,“type”:“renderer”,“name”:“project”,“msg”:“restoring project.watch@1c3f9c35-c927-421c-9265-f07abeab2aa9”}
{“level”:30,“time”:1679360229790,“type”:“renderer”,“name”:“project”,“msg”:“pruning cache 1c3f9c35-c927-421c-9265-f07abeab2aa9”}
{“level”:30,“time”:1679360229801,“type”:“renderer”,“name”:“project”,“msg”:“purging cache /Users/martins89/Library/Caches/Tropy”}
{“level”:30,“time”:1679360229872,“type”:“renderer”,“name”:“project”,“msg”:“cleared 26 file(s) from cache”}
{“level”:40,“time”:1679360253060,“type”:“renderer”,“name”:“project”,“query”:“\n DELETE FROM tags WHERE tag_id IN (27)”,“ms”:211,“msg”:“SLOW: db query took 211ms”}
{“level”:30,“time”:1679360904485,“type”:“renderer”,“name”:“project”,“msg”:“db query took 121ms”,“query”:“\n INSERT INTO metadata_values (datatype, text)\n VALUES (?, ?)”,“ms”:121}
{“level”:30,“time”:1679360905819,“type”:“renderer”,“name”:“project”,“msg”:“db query took 176ms”,“query”:“\n INSERT INTO metadata_values (datatype, text)\n VALUES (?, ?)”,“ms”:176}
{“level”:40,“time”:1679360906247,“type”:“renderer”,“name”:“project”,“msg”:“SLOW: item.import#1034”}
{“level”:40,“time”:1679360938595,“type”:“browser”,“name”:“main”,“msg”:“project[17] has become unresponsive”}

But it’s clearly caused by one (or several) specific picture and not every picture? Could you post a link to the file you imported?

Yes, only some pictures cause issues. I can see that the problematic files that make Tropy crash have a weird name (numbers.MP.jpg), while the pictures that don’t have issues are just named with numbers.jpg

As I said, I took all pictures with my phone, uploaded them on Dropbox, then downloaded and imported them into Tropy. I have no idea why some pictures have this problem. Anyway, I have attached one of the problematic pictures here.

Oh, I suspect that the issue is that these JPGs have binary comment sections which will get imported by version 0.12. We’ve changed to a much safer approach for the upcoming release and we’ll also automatically clear out excessive data that was imported previously.

I’m pretty sure that this is the issue, but if you’d like to confirm it, you would need to send me either the project file (then we can check the imported data) or a link to the original JPEG file. (Images uploaded on the forums here are optimized for the web, so unfortunately I can’t access the original this way.)

When will the new version be released? How can I send you the file without sharing it here?

Typically, you can share it via your preferred cloud storage service. If you don’t use one, you could send a link via WeTransfer or a similar service.

The new version will likely be released early next week.

Ok, thanks. I try via Dropbox. I hope you can see that there are two images (.jpg) and two images (.MP.jpg). I took all four pictures with the same phone (Google Pixel), so I don’t know why they are different:

Thanks! I can confirm it’s the issue relating to JPG COM sections in the picture you posted. This is fixed in 1.13.0.

Ok, thank you very much. So I’ll wait and download the new version next week! :slight_smile: