I am running Tropy on MacOs. As of this morning, an existing project which is stored at local server won’t load anymore. It shortly seems to load the user interface and then interrupts the loading process with an error message. I am attaching the logs.
I am directly connected to the server’s network at my office, no other issues in the network I know of. It used to worked flawlessly before in the network or from home through a VPN. It is a standard project. A complete restart did not change the behavior.
Tropy runs without issues with projects directly stored on my laptop. Can you help me resolve the issue?
tropy.log (8.7 KB)
It looks like the project opens without any problems. But there is an error in the image viewer. It could be a timing issue or something about the photo that is currently selected. You mention that the UI is briefly visible, so you could try to go to the project view by pressing Escape and clearing the selection (or selecting a different item). If that’s not possible it’s probably best to clear Tropy’s local storage. You can try this by opening Tropy’s user data folder (from the Help menu). Then quit Tropy and move the ‘electron’ folder out of the user data folder (or rename it). This should reset the UI state and you can try to see if that fixes the issue.
By resetting the UI state Tropy will forget some things about your recent activity, for example, which items were selected in a project when you opened it most recently and also some local settings/preferences. So if you go with the reset you should check the preferences to make sure everything is configured correctly. You can undo the reset by moving back the electron folder. We can probably find other ways to fix the actual issue you’re seeing but it will require further debugging.
Thanks. Trying to hit Escape before the error appears did not work. I tried several times to hit the right moment (very short) or to hammer Esc while loading. The error message always popped up.
Renaming the ‘electron’ folder worked. The project is starting. The preferences seem to be OK but I am missing several newer items. I have put quite some work in some of them (transcription and translation). It is possible to get them back?
Items are not stored in the local storage, but only in the project file, so this must be unrelated. Did you add those items on this computer? Since it’s a network drive I’d suspect that the file was overwritten by another device after you added the items or that they were not saved for some reason. If you know roughly when the items were added we can also consult the project’s access log to try and understand what happened.
I am puzzled because I am using only one device to access the project. Where do I find the access logs?
The access log is in the project file. If there are items missing, the access log can help in figuring out whether the items are missing because deleted or because the project file was overwritten after the fact (for example, if you know that the items were added on a given day and then in the access log there is no access recorded for that day it would indicate that the issue is divergent copies of the same file).
If the access log looks as expected and items are missing the only way that can happen is if they were deleted. If they are deleted they should still be in the file under deleted items unless you actively cleared them there. The only other way for items to disappear would be if you merged those items with other items.
Anyway, to take a look at the access log, you can run this in a terminal:
$ sqlite3 "/full/path/to/your/project.tpy" "select opened, version, path from access order by opened"
Alternatively you can share the file with us and we’ll look into it.