Jump to content
  • 0

(Archived) prepareForSave/NSSQLCore conflicts?


freeholdhal

Idea

Posted

running evernote 1.10.1 on mac os x 10.5.8

syncing with iphone 3G (running older iOS) and macbook.

noticed a few days ago that this desktop stopped synchronizing; wouldn't upload or receive

changes. if i quit evernote and restart, i see the changes upon start-up, but any in flight

changes would just sit there. had been getting a few change conflicts up to this

point (which, looking back on it may have been related).

here are the relevant /var/log messages from the latest failure:

Dec 14 16:53:21 Hal-Desktop Evernote[241]: NSExceptionHandler has recorded the following exception:\nNSInternalInconsistencyException -- prepareForSave:: save for NSSQLCore 0x56b1a0 is already in progress\n\nStack trace:  0x44619a  0x958d3e3b  0x97aa4671  0x97aa3ff8  0x97a8dacc  0x97a8d4c6  0x97a9fd65  0xa2c22  0xa7131  0x9469bf84  0x9469bf15  0x9469b496  0x94555af7  0x945226a5  0x9447ffe7  0x9444d1d8  0x31a2  0x2
Dec 14 16:53:21 Hal-Desktop Evernote[241]: prepareForSave:: save for NSSQLCore 0x56b1a0 is already in progress
Dec 14 16:53:21 Hal-Desktop Evernote[241]: NSExceptionHandler has recorded the following exception:\nNSInternalInconsistencyException -- prepareForSave:: save for NSSQLCore 0x56b1a0 is already in progress\n\nStack trace: 0x44619a 0x958d3e3b 0x97aa4671 0x97aa3ff8 0x97a8dacc 0x97a8d4c6 0x97a9fd65 0x97c8b 0x13e274 0x9382c9ac 0x970ff3c5 0x970ffaa8 0x904792ac 0x90478ffe 0x90478f39 0x944876d5 0x94486f88 0x9447ff9f 0x9444d1d8 0x31a2 0x2
Dec 14 16:53:21 Hal-Desktop Evernote[241]: prepareForSave:: save for NSSQLCore 0x56b1a0 is already in progress

i renamed the Library/Application Support/Evernote/data directory, forcing Evernote to create a new one

and download all of my notes, and now things seem fine....but would like to know the root cause of this

so i can avoid incurring the problem again.

3 replies to this idea

Recommended Posts

Posted

I don't recall seeing that that particular error before, so I don't think it's something caused by any common actions that you did or didn't do. I.e. this seems like some sort of unexpected corruption on the database stored on disk.

We plan to release version 2.0 very soon, and you may want to try upgrading to that version when it comes out.

Posted

i was wondering if it was caused by a race condition between multiple devices syncing the same

note at the same time, with one of them failing, or a potential sync conflict between an iPhone

and an evernote instance (not sure if you're using MacOS sync services or your own to

queue the updates).

*love* evernote; it's changed the way i write, manage my work, and keep to-do lists

for my consulting business.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...