Date/Time: 2020-06-12 13:35:51.403 -0400
OS Version: Mac OS X 10.14.6 (18G5033)
Report Version: 12
Bridge OS Version: 3.0 (14Y906)
Anonymous UUID: DA1FDDA7-D94F-7F24-CE08-7356E1524539
Application Specific Information:
*** Terminating app due to uncaught exception ‘Cannot create table link.’, reason: ‘(null)’
terminating with uncaught exception of type NSException
abort() called
Just to make sure that there is not another Hook instance, then, dealing with this DB (which there should not be), I would recommend doing this from command line:
% ps -ax |grep Hook
or logout/log back in; or reboot. (or have you tried that already?)
also, I wasn’t clear from your PIM whether you also experienced this with 1.6. Did you?
Our crash analytics only show one such report. So unless others are not sending crash reports, it looks like the issue is not widespread. (Crash reports are handled by Microsoft App Center and only sent if users consent.)
I followed your instructions. Once I renamed 1.1 and hook.sqlite, Hook did start. It complained about the license, and I re-activated.
However, once I deleted the newly-created folder/file and moved the _old versions back, hook started crashing again.
To answer your other question, I did see the problem starting with 1.6, and I decided to download/reinstall to see if that would solve the problem. No luck!
I’m not sure what’s in the sqlite file, but if it’s only the info on what’s linked, I’m happy to provide that file for you.
we were able to ascertain that the problem was a corrupted hook.sqlite database. Recovery from backup and via tools each, independently, proved to be viable solutions.
We will publish some of our documentation on using those tools with Hook.
more generally
Fortunately, this is the first report we’ve had of such an issue since Hook was launched (beta Jan 2019). However, it is possible for apps’ databases to be corrupted for some reasons (e.g., system crash). So it’s always good idea to have a backup of your library folder. We provide instructions here:
We note that some Mac apps automatically back up their DB for users. OmniGroup’s excellent OmniFocus app is an example: Lost database after update on IOS and OF - The Omni Group Forums. I don’t even see an option to switch OmniFocus DB backups off (I think it was there before), so it looks like OmniGroup has decided to make backups mandatory (though maybe there’s a Terminal command line for it).
We’re considering adding auto-backups data backups to Hook.
Given that our crash analytics (via Microsoft App Center, and which are anonymous, optional) don’t show any other such crash, and it’s the first report on the subject, we’ll probably move this topic into Discussion rather than bug reports unless we get data otherwise.
Thanks, again, @raghos for notifying us and working through it with us.