"Error loading profile"

89 views
Skip to first unread message

Pat Uelmen Huey

unread,
Dec 10, 2015, 11:56:02 AM12/10/15
to Turtl
Yesterday = wonderful day with Turtl running on both Android phones and two laptops (0.6.0 update on Windows 10 and 7 Enterprise) to accelerate the much-anticipated gutting of Evernote. Today = heartbreak as I get the message below on all platforms when I try to log in:

 

Clearing local data, logging out/closing/restarting does nothing, Uninstalling and reinstalling results in the same thing. Any suggestions?

*quietly cries into keyboard*

Andrew Lyon

unread,
Dec 10, 2015, 12:53:07 PM12/10/15
to Pat Uelmen Huey, Turtl
Hey Pat, sorry for the trouble! Can you open the desktop app, press ctrl+shift+k (this opens the error console) and try to log in again? The error that's causing the profile not to load should show up in there (it will be at the bottom of the console and red. If there's an arrow next to it, please click it (this expands the error giving the move detail). Then if you send a screenshot of the console back to me I can figure out what is going on.

Thanks for your help!

Andrew

--
You received this message because you are subscribed to the Google Groups "Turtl" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turtl+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pat Uelmen Huey

unread,
Dec 10, 2015, 1:04:07 PM12/10/15
to Turtl, hue...@gmail.com
Thanks so much for the quick reply! Here it is:

Andrew Lyon

unread,
Dec 10, 2015, 1:40:13 PM12/10/15
to Pat Uelmen Huey, Turtl
That's an odd one. So what's happening is that for every profile, there's a keychain which holds all the keys that decrypt your data (boards and notes mainly). On top of that, each note that is in a board holds it's own key in its own data, encrypted with that board's key. So if you have the key of a board you can essentially decrypt any note in that board.

When the note is being decrypted, the app does an extensive search for keys that can decrypt the note. This search is failing and it's holding up the profile from loading. Since the note has an old id, I'm guessing that, unless you edited it before you started getting the error, it doesn't have a keychain entry (only boards got keychain entries in the previous version). That means that the note is trying to decrypt itself using the board's key and is failing. 

The only board the note is in is the board with id 5509bd352b13750765000388, which doesn't appear to be present in the database.

I'm guessing the board was removed (please correct me if I'm wrong), but because the notes don't have keychain entries (they only get one when edited), they all became un-decryptable (there's no way left to retrieve their key).

There are two ways to fix:

1. I can go get a database backup and restore board 5509bd352b13750765000388 to your profile, which will allow those notes to be read again.
2. I can clear out all the notes in board 5509bd352b13750765000388 (looks like 12 of them) from the database to get your profile loading again (assuming you don't care about them).

Then there's the real fix for me which is to make sure all notes that don't have a keychain entry for their key create one when the profile loads the first time. Then you could remove boards all day and the notes will still load.

Reply all
Reply to author
Forward
0 new messages