Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyncChunkFilter throws EDAMUserException(errorCode=10, parameter=u'notebookFilter') #79

Open
toraghulravi opened this issue Dec 25, 2020 · 0 comments

Comments

@toraghulravi
Copy link

toraghulravi commented Dec 25, 2020

SDK Version: 1.28

Function/Class Name: NoteStoreTypes.SyncChunkFilter() && NoteStore.getFilteredSyncChunk(0, maxEntries, filters)

Sample I/P

sync_filter = NoteStoreTypes.SyncChunkFilter()
sync_filter.includeNotes = True
sync_filter.includeNotebooks = True
sync_filter.includeSharedNotes = True
sync_filter.includeLinkedNotebooks = True
sync_filter.omitSharedNotebooks = False
sync_filter.notebookGuids = [str(notebook_id)]

new_notes = note_store.getFilteredSyncChunk(afterUSN, maxEntries, filters)

Expected Result: ResultSet containing only notes with USN greater than afterUSN and within the notebook_id

Obtained Result:

  File "build/bdist.linux-x86_64/egg/evernote/api/client.py", line 151, in delegate_method
    )(**dict(zip(arg_names, args)))
  File "build/bdist.linux-x86_64/egg/evernote/edam/notestore/NoteStore.py", line 2621, in getFilteredSyncChunk
    return self.recv_getFilteredSyncChunk()
  File "build/bdist.linux-x86_64/egg/evernote/edam/notestore/NoteStore.py", line 2648, in recv_getFilteredSyncChunk
    raise result.userException
EDAMUserException: EDAMUserException(errorCode=10, parameter=u'notebookFilter')

Questions:

  • Does the notebookGuids filter work only on business accounts?
  • What does "u'notebookFilter" mean ?
  • Why is there no active development on python3 when python2 has already reached its sunset
  • When is python2 's v1.28 going to be pushed to PIP install .
  • Where do I look for correct documentation of notebookGuids and its usage , the docStrings present in note_store.Ttypes.py is so confusing , needs better language
  • When are you going to merge the pull requests on setup.py bugs .
  • If this repo is not under any development , are there any other open repo with good development on evernote SDK in other languages ( looks like bunch of bugs with ios and js too )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant