I am working with Tropy version 1.12.0 and my operating system is macOS Monterey 12.4.
I’ve noticed that in the last three to four months, Tropy freezes somewhat inconsistently when I switch windows. The entire program does not freeze, but rather I am unable to add metadata or make notes to pictures; when I type no text appears and I cannot click the ‘Add Tag’ button. This behavior occurs when I switch windows, and then attempt to add notes, tags, or metadata to a picture in my Project directory I have double-clicked on. Typically, the behavior I’m observing occurs only after I switch windows: I will, for example, add a note to an item, then use the Alt + Tab shortcut to switch to a different open window on my desktop. When I switch back to Tropy and attempt to make notes, add tags, etc. to an item I am unable to do so.
This error takes two different forms. In the first form, no error message occurs but I am unable to make changes to an item. I then exit Tropy and an error message briefly flashes in front of the screen but I’m unable to read it before the program closes. In the second form, an error message appears and stays open that says “SQLITE_READONLY: attempt to write a readonly database.” The copied error is “{“msg”:“unhandled error: SQLITE_READONLY: attempt to write a readonly database”,“stack”:“Error: SQLITE_READONLY: attempt to write a readonly database”,“system”:“Darwin 21.5.0 (x64)”,“time”:1665600036790,“version”:“1.12.0”}” The only way to resolve these errors and restore functionality to Tropy is to exit the program and re-enter.
I should mention that I currently keep all the pictures I have loaded into my Tropy Project on an external hard drive due to a lack of space on my computer.
Below is a reproduction of the log files I retrieved after the error described above occurred. The log text below was recorded after I received the error message mentioned above.
{“level”:30,“time”:1665598451264,“type”:“browser”,“name”:“main”,“args”:[“file:///Users/josephvandernaald/Documents/Dissertation/van%20der%20Naald%20Dissertation,%20Archival%20Material.tpy”],“opts”:{“env”:“production”,“autoUpdates”:true,“contextIsolation”:true,“webgl”:false,“debug”:false,“trace”:false,“data”:"/Users/josephvandernaald/Library/Application Support/Tropy",“cache”:"/Users/josephvandernaald/Library/Caches/Tropy",“logs”:"/Users/josephvandernaald/Library/Logs/Tropy"},“version”:“1.12.0”,“msg”:“main.init 1.12.0 Darwin 21.5.0 (x64)”}
{“level”:30,“time”:1665598451451,“type”:“browser”,“name”:“main”,“msg”:“plugins scanned: 0”}
{“level”:30,“time”:1665598451455,“type”:“browser”,“name”:“main”,“msg”:“app state restored”}
{“level”:30,“time”:1665598451458,“type”:“browser”,“name”:“main”,“file”:"/Users/josephvandernaald/Documents/Dissertation/van der Naald Dissertation, Archival Material.tpy",“msg”:“open new project window”}
{“level”:30,“time”:1665598451599,“type”:“browser”,“name”:“main”,“msg”:“switch to “system” theme”}
{“level”:30,“time”:1665598451599,“type”:“browser”,“name”:“main”,“msg”:“checking for updates…”}
{“level”:30,“time”:1665598451895,“type”:“browser”,“name”:“main”,“msg”:“no updates available”}
{“level”:30,“time”:1665598451975,“type”:“renderer”,“name”:“project”,“dpx”:1,“opts”:{“env”:“production”,“documents”:"/Users/josephvandernaald/Documents",“pictures”:"/Users/josephvandernaald/Pictures",“theme”:“system”,“aqua”:“graphite”,“contrast”:false,“dark”:true,“scrollbars”:true,“vibrancy”:false,“file”:"/Users/josephvandernaald/Documents/Dissertation/van der Naald Dissertation, Archival Material.tpy",“recent”:["/Users/josephvandernaald/Documents/Dissertation/van der Naald Dissertation, Archival Material.tpy","/Volumes/TOSHIBA EXT/Dissertation Data/Tropy Files/van der Naald Dissertation, Archival Material.tpy","/Users/josephvandernaald/Library/Mobile Documents/com~apple~CloudDocs/Documents/Dissertation/van der Naald Dissertation, Archival Material.tpy","/Users/josephvandernaald/Documents/van der Naald Dissertation, Archival Material.tpy"],“data”:"/Users/josephvandernaald/Library/Application Support/Tropy",“debug”:false,“dev”:false,“cache”:"/Users/josephvandernaald/Library/Caches/Tropy",“plugins”:"/Users/josephvandernaald/Library/Application Support/Tropy/plugins",“fontSize”:“13px”,“frameless”:true,“level”:“info”,“locale”:“en”,“log”:"/Users/josephvandernaald/Library/Logs/Tropy/tropy.log",“uuid”:“3141d900-d942-11eb-ad02-17b5e2c311c6”,“update”:{},“version”:“1.12.0”,“webgl”:true,“zoom”:1,“maximizable”:true,“minimizable”:true},“msg”:“project.init”}
{“level”:30,“time”:1665598452255,“type”:“renderer”,“name”:“project”,“msg”:“plugins scanned: 0”}
{“level”:30,“time”:1665598452256,“type”:“renderer”,“name”:“project”,“msg”:“plugins loaded: 0”}
{“level”:30,“time”:1665598452293,“type”:“browser”,“name”:“main”,“msg”:“ready after 836.7099609375ms”}
{“level”:30,“time”:1665598452883,“type”:“renderer”,“name”:“project”,“msg”:“restoring recent@tropy”}
{“level”:30,“time”:1665598452887,“type”:“renderer”,“name”:“project”,“msg”:“restoring settings@tropy”}
{“level”:30,“time”:1665598452887,“type”:“renderer”,“name”:“project”,“msg”:“restoring ui@tropy”}
{“level”:30,“time”:1665598452903,“type”:“renderer”,“name”:“project”,“mode”:“w+”,“msg”:“open db /Users/josephvandernaald/Library/Application Support/Tropy/ontology.db”}
{“level”:30,“time”:1665598452927,“type”:“renderer”,“name”:“project”,“msg”:“project ready 1399ms [dom:709ms win:260ms req:382ms]”}
{“level”:30,“time”:1665598453235,“type”:“renderer”,“name”:“project”,“msg”:“Esper.instance created using webgl renderer”}
{“level”:30,“time”:1665598453398,“type”:“renderer”,“name”:“project”,“mode”:“w”,“msg”:“open db /Users/josephvandernaald/Documents/Dissertation/van der Naald Dissertation, Archival Material.tpy”}
{“level”:30,“time”:1665598453467,“type”:“renderer”,“name”:“project”,“msg”:“restoring project.watch@6f15745c-302a-4b62-a747-a5fd0f9c8ede”}
{“level”:30,“time”:1665598453531,“type”:“renderer”,“name”:“project”,“msg”:“restoring nav@6f15745c-302a-4b62-a747-a5fd0f9c8ede”}
{“level”:30,“time”:1665598453531,“type”:“renderer”,“name”:“project”,“msg”:“restoring notepad@6f15745c-302a-4b62-a747-a5fd0f9c8ede”}
{“level”:30,“time”:1665598453531,“type”:“renderer”,“name”:“project”,“msg”:“restoring esper@6f15745c-302a-4b62-a747-a5fd0f9c8ede”}
{“level”:30,“time”:1665598453532,“type”:“renderer”,“name”:“project”,“msg”:“restoring imports@6f15745c-302a-4b62-a747-a5fd0f9c8ede”}
{“level”:30,“time”:1665598453532,“type”:“renderer”,“name”:“project”,“msg”:“restoring sidebar@6f15745c-302a-4b62-a747-a5fd0f9c8ede”}
{“level”:30,“time”:1665598453533,“type”:“renderer”,“name”:“project”,“msg”:“restoring panel@6f15745c-302a-4b62-a747-a5fd0f9c8ede”}
{“level”:30,“time”:1665598453569,“type”:“renderer”,“name”:“project”,“mode”:“w”,“msg”:“open db /Users/josephvandernaald/Documents/Dissertation/van der Naald Dissertation, Archival Material.tpy”}
{“level”:30,“time”:1665598453572,“type”:“renderer”,“name”:“project”,“mode”:“w”,“msg”:“open db /Users/josephvandernaald/Documents/Dissertation/van der Naald Dissertation, Archival Material.tpy”}
{“level”:40,“time”:1665598454806,“type”:“renderer”,“name”:“project”,“ms”:1231,“list”:true,“query”:"",“tags”:false,“trash”:null,“msg”:“SLOW: *search query “” took 1231ms”}
{“level”:40,“time”:1665598604304,“type”:“renderer”,“name”:“project”,“action”:“note.create”,“meta”:{“done”:true,“rel”:36,“was”:1665598604160,“seq”:38,“now”:1665598604300},“msg”:“note.create failed: SQLITE_READONLY: attempt to write a readonly database”,“stack”:“Error: SQLITE_READONLY: attempt to write a readonly database”}
{“level”:60,“time”:1665598604684,“type”:“browser”,“name”:“main”,“message”:“SQLITE_READONLY: attempt to write a readonly database”,“stack”:“Error: SQLITE_READONLY: attempt to write a readonly database”}