Jump to content

Endless syncing, with error "More than one result for entityName"


Recommended Posts

Running macOS 10.13.6 with Evernote 7.14 (App store version).

I haven't contacted support as I anticipate the response will be "reinstall," which seems to waste an opportunity for Evernote to avoid this problem with other users. So, I'm hoping this is useful to someone. 😀

Evernote is currently syncing continuously, draining my battery, and using about 7KB up, 5KB down of bandwidth. Looking at my sync log I'm seeing (in part):

Quote

2020/01/29 10:26:30:825 W|**  16483 -[ENCoreDataLocalStore fetchEntityOfType:withPredicate:] | More than one result for entityName=ENResource, predicate=guid == "c9397a0e-602a-44ee-a917-06857663ba60", results=(
    "<ENMacResourceMO: 0x6000008b0140 MOID: 0xc618001cb <x-coredata://16C8E5FF-2E42-47C8-AD37-305DC50248EA/ENResource/p12678> GUID: c9397a0e-602a-44ee-a917-06857663ba60 Account: (null) USN: 752217 Active: 1 Dirty: 0 Filename: (null) Hash: <1d06b051 187d3fe6 198ae472 c989fc0c> Length: 67374>",
    "<ENMacResourceMO: 0x6000008aff60 MOID: 0xc654001cb <x-coredata://16C8E5FF-2E42-47C8-AD37-305DC50248EA/ENResource/p12693> GUID: c9397a0e-602a-44ee-a917-06857663ba60 Account: (null) USN: 752217 Active: 1 Dirty: 0 Filename: (null) Hash: <1d06b051 187d3fe6 198ae472 c989fc0c> Length: 67374>"
)
2020/01/29 10:26:30:837 I|*   16488 -[ENCacheManager fetchNextBatchOfDownloadOperationsUsingBackgroundTransfers:]_block_invoke | Processing 1 notes
2020/01/29 10:26:30:837 I|*   16488 -[ENCacheManager generateOperationsForResource:usingGenerator:] | Received resource with cacheStatus:1, generated no operations [d0854938-487f-4594-865b-6b57aa462e47]
2020/01/29 10:26:30:838 I|*   16488 -[ENCacheManager generateOperationsForResource:usingGenerator:] | Received resource with cacheStatus:1, generated no operations [2928014b-cc0a-47a8-bbc2-cdba4d497941]
2020/01/29 10:26:30:838 I|*   16488 -[ENCacheManager generateOperationsForResource:usingGenerator:] | Received resource with cacheStatus:1, generated no operations [6f3b0227-39ea-4f82-82c2-1f687e3994fa]
2020/01/29 10:26:30:838 I|*   16488 -[ENCacheManager generateOperationsForResource:usingGenerator:] | Received resource with cacheStatus:1, generated no operations [6c0f3b6d-395a-4a11-a537-047b592bfce9]
2020/01/29 10:26:30:838 I|*   16488 -[ENCacheManager generateOperationsForResource:usingGenerator:] | Received resource with cacheStatus:1, generated no operations [59dd929e-9ab4-4b71-bbd5-e044a1d39339]
2020/01/29 10:26:30:838 I|*   16488 -[ENCacheManager generateOperationsForResource:usingGenerator:] | Received resource with cacheStatus:1, generated no operations [42c0ba9e-a290-44a4-a5fe-34ab4ba60f87]
2020/01/29 10:26:30:838 I|*   16488 -[ENCacheManager generateOperationsForResource:usingGenerator:] | Received resource with cacheStatus:1, generated no operations [c3fd3a60-ca22-47ec-86f8-d7ebe0a9797e]
2020/01/29 10:26:30:839 I|*   16488 -[ENCacheManager generateOperationsForResource:usingGenerator:] | Received resource with cacheStatus:1, generated no operations [f6538811-c24f-4bc0-ad69-7ffd222ade09]
2020/01/29 10:26:30:839 I|*   16488 -[ENCacheManager generateOperationsForResource:usingGenerator:] | Queueing Reco Data: c9397a0e-602a-44ee-a917-06857663ba60
2020/01/29 10:26:30:839 I|*   16488 -[ENCacheManager generateOperationsForResource:usingGenerator:] | Not queuing content (file exists): c9397a0e-602a-44ee-a917-06857663ba60
2020/01/29 10:26:30:839 I|*   16488 -[ENCacheManager generateOperationsForResource:usingGenerator:] | Received resource with cacheStatus:1, generated no operations [c9397a0e-602a-44ee-a917-06857663ba60]
2020/01/29 10:26:30:962 W|**  16483 -[ENCoreDataLocalStore fetchEntityOfType:withPredicate:] | More than one result for entityName=ENResource, predicate=guid == "c9397a0e-602a-44ee-a917-06857663ba60", results=(
    "<ENMacResourceMO: 0x6000008b0140 MOID: 0xc618001cb <x-coredata://16C8E5FF-2E42-47C8-AD37-305DC50248EA/ENResource/p12678> GUID: c9397a0e-602a-44ee-a917-06857663ba60 Account: (null) USN: 752217 Active: 1 Dirty: 0 Filename: (null) Hash: <1d06b051 187d3fe6 198ae472 c989fc0c> Length: 67374>",
    "<ENMacResourceMO: 0x6000008aff60 MOID: 0xc654001cb <x-coredata://16C8E5FF-2E42-47C8-AD37-305DC50248EA/ENResource/p12693> GUID: c9397a0e-602a-44ee-a917-06857663ba60 Account: (null) USN: 752217 Active: 1 Dirty: 0 Filename: (null) Hash: <1d06b051 187d3fe6 198ae472 c989fc0c> Length: 67374>"
)

I've bolded the parts that I think represent the problem. In my 'content' directory (where all my notes are), if I grep for the guid '16C8E5FF-2E42-47C8-AD37-305DC50248EA', I get:

$ grep -lri "16C8E5FF-2E42-47C8-AD37-305DC50248EA" .
./A54E6E60-24E3-4549-B88E-54CB1F4EB092/note.xhtml
./ED3FC5D5-9F08-4905-B29E-837469283E6A/note.xhtml
./8F88A765-8012-44AC-BA27-20B734132091/note.xhtml
./88BCA9C6-CA27-4A8D-8853-341AE76A265F/note.xhtml
./59D8D876-A00F-4617-8334-04D84F586484/note.xhtml
./4192EC2F-8A2E-4F4B-AA5F-DBE11E313EF9/note.xhtml
./F6B1EC41-5590-430B-BD5E-CE1661782264/note.xhtml
./0173CAE2-9530-4477-A661-8FA92F5B6B73/note.xhtml
./36365DCE-4F0D-42A1-AFFE-81DF89AF7EAA/note.xhtml
./67E710F6-5EFD-4345-9FEA-0F2A86484057/content-pre-sync.enml
./67E710F6-5EFD-4345-9FEA-0F2A86484057/snippet.txt
./67E710F6-5EFD-4345-9FEA-0F2A86484057/content.enml
./61F2DD0F-BE67-4096-AF83-89300FDEDE76/note.xhtml
./38B613C3-4888-4CCE-A75A-EA85D24AB818/note.xhtml
./6B7DA6DC-DD60-4EA9-88AB-C53A4144E501/note.xhtml
./D296697C-92A7-4B53-9666-B99D1C6EE530/note.xhtml
./75501781-D509-4D15-9621-97C6F9F5C7BA/note.xhtml
./CB53E28A-DF7C-484A-A9E2-D85DE91D7F3E/note.xhtml
./E416F82B-0A9E-440B-997D-9039D8920CFE/note.xhtml

In a sampling of these notes, I see images like:

<img src="evernotecid://16C8E5FF-2E42-47C8-AD37-305DC50248EA/wwwevernotecom/7460442/ENResource/p12103" id="en-media:image/png:6400d81a6838d6833e54210c8f82809c:none:none" width="586" class="en-media"></img>
...
<img src="evernotecid://16C8E5FF-2E42-47C8-AD37-305DC50248EA/wwwevernotecom/7460442/ENResource/p11903" id="en-media:image/png:6ecd8eee3764e270ec6a68d9730dad79:none:none" class="en-media"></img>

Other little things that might help:

  • The guid "c9397a0e-602a-44ee-a917-06857663ba60", which the log references repeatedly, doesn't exist as any part of a file name, or as a string in my 'content' directory.
  • These images sharing the "16C8E5FF-2E42-47C8-AD37-305DC50248EA" guid show up fine in Evernote.
  • These images are also showing up in the web interface
  • This syncing problem is much more recent than these notes
  • I've been running Evernote 7.14 since release

So here is where my lack of Evernote knowledge leaves me. I'll hang out on the web client for a day or so, then probably just resort to reinstalling.

Hope this can help someone!

Link to comment
  • Level 5*
25 minutes ago, upnix said:

I'll hang out on the web client for a day or so, then probably just resort to reinstalling.

One point on reinstalling
Make sure you delete the local database folder.  Logging in will rebuild the local database; except for local notebooks and unsync'd notes

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...