Skip to content

Can not get default notebook on first login #14

Description

@ebayer

When logged in with evernote account, app can not get the name of default notebook to upload and throws the following exception:

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/enlinuxclipper/indicator.py", line 157, in capture_screen_callback
Clipper().capture_screen()
File "/usr/lib/python2.7/dist-packages/enlinuxclipper/clipper.py", line 68, in capture_screen
attachment_mime='image/png'
File "/usr/lib/python2.7/dist-packages/enlinuxclipper/enapi.py", line 188, in create_note
created_note = ENAPI.note_store.createNote(note)
File "/usr/local/lib/python2.7/dist-packages/evernote/api/client.py", line 138, in delegate_method
)(**dict(zip(arg_names, args)))
File "/usr/local/lib/python2.7/dist-packages/evernote/edam/notestore/NoteStore.py", line 4672, in createNote
return self.recv_createNote()
File "/usr/local/lib/python2.7/dist-packages/evernote/edam/notestore/NoteStore.py", line 4700, in recv_createNote
raise result.notFoundException
evernote.edam.error.ttypes.EDAMNotFoundException: EDAMNotFoundException(identifier='Note.notebookGuid', key='')

This does not happen when notebook name is selected via the preferences window.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions