evernote-sdk-python icon indicating copy to clipboard operation
evernote-sdk-python copied to clipboard

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

Open toraghulravi opened this issue 5 years ago • 0 comments

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 )

toraghulravi avatar Dec 25 '20 12:12 toraghulravi