{"action":"created","issue":{"url":"https://api.github.com/repos/d1vanov/quentier/issues/183","repository_url":"https://api.github.com/repos/d1vanov/quentier","labels_url":"https://api.github.com/repos/d1vanov/quentier/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/d1vanov/quentier/issues/183/comments","events_url":"https://api.github.com/repos/d1vanov/quentier/issues/183/events","html_url":"https://github.com/d1vanov/quentier/issues/183","id":341464283,"node_id":"MDU6SXNzdWUzNDE0NjQyODM=","number":183,"title":"Initial sync seems to be stuck in the middle","user":{"login":"robert7","id":1135218,"node_id":"MDQ6VXNlcjExMzUyMTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1135218?v=4","gravatar_id":"","url":"https://api.github.com/users/robert7","html_url":"https://github.com/robert7","followers_url":"https://api.github.com/users/robert7/followers","following_url":"https://api.github.com/users/robert7/following{/other_user}","gists_url":"https://api.github.com/users/robert7/gists{/gist_id}","starred_url":"https://api.github.com/users/robert7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robert7/subscriptions","organizations_url":"https://api.github.com/users/robert7/orgs","repos_url":"https://api.github.com/users/robert7/repos","events_url":"https://api.github.com/users/robert7/events{/privacy}","received_events_url":"https://api.github.com/users/robert7/received_events","type":"User","site_admin":false},"labels":[{"id":771943349,"node_id":"MDU6TGFiZWw3NzE5NDMzNDk=","url":"https://api.github.com/repos/d1vanov/quentier/labels/bug","name":"bug","color":"ee0701","default":true},{"id":782523072,"node_id":"MDU6TGFiZWw3ODI1MjMwNzI=","url":"https://api.github.com/repos/d1vanov/quentier/labels/libquentier","name":"libquentier","color":"e2ce4a","default":false},{"id":995128938,"node_id":"MDU6TGFiZWw5OTUxMjg5Mzg=","url":"https://api.github.com/repos/d1vanov/quentier/labels/synchronization","name":"synchronization","color":"b2fff6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":28,"created_at":"2018-07-16T10:26:59Z","updated_at":"2018-07-18T03:33:05Z","closed_at":null,"author_association":"NONE","body":"Initial sync seems to be stuck exactly at 50%. Status bar info isn't updating anymore.\r\nAccording to log the app is still doing something (could be all is OK), but the not updated status is confusing.\r\n\r\nAlso many notes display \"Please select some existing note...\" - maybe just the header is downloaded (?) - which is also confusing.\r\n\r\n..I don't want to post log here as with TRACE level it is very huge and contains my notes; I can try to recreate later with some test data.\r\n![quentier-initial-sync](https://user-images.githubusercontent.com/1135218/42754088-722be5de-88f3-11e8-9f1d-8fa9679528ab.png)\r\n"},"comment":{"url":"https://api.github.com/repos/d1vanov/quentier/issues/comments/405798121","html_url":"https://github.com/d1vanov/quentier/issues/183#issuecomment-405798121","issue_url":"https://api.github.com/repos/d1vanov/quentier/issues/183","id":405798121,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTc5ODEyMQ==","user":{"login":"d1vanov","id":2050562,"node_id":"MDQ6VXNlcjIwNTA1NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/2050562?v=4","gravatar_id":"","url":"https://api.github.com/users/d1vanov","html_url":"https://github.com/d1vanov","followers_url":"https://api.github.com/users/d1vanov/followers","following_url":"https://api.github.com/users/d1vanov/following{/other_user}","gists_url":"https://api.github.com/users/d1vanov/gists{/gist_id}","starred_url":"https://api.github.com/users/d1vanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d1vanov/subscriptions","organizations_url":"https://api.github.com/users/d1vanov/orgs","repos_url":"https://api.github.com/users/d1vanov/repos","events_url":"https://api.github.com/users/d1vanov/events{/privacy}","received_events_url":"https://api.github.com/users/d1vanov/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T03:33:05Z","updated_at":"2018-07-18T03:33:05Z","author_association":"OWNER","body":"Looked into the log, there are indeed some problems with sending new notes to Evernote:\r\n```\r\nSending new note: Note: {\r\nlocalUid: 7e62a017-4613-4024-848e-129a4a995332;                                                                         \r\nguid is not set;                                                                                                        \r\nupdateSequenceNumber is not set;                                                                                        \r\ntitle is not set;                                                                                                       \r\ncontent: <en-note><div></div></en-note>;                                                                                \r\ncontentHash is not set;                                                                                                 \r\ncontentLength is not set;                                                                                               \r\ncreationTimestamp: 1531854631047, datetime: 1531854631047 (2018-07-17 21:10:31.047 CEST);                               \r\nmodificationTimestamp: 1531854631047, datetime: 1531854631047 (2018-07-17 21:10:31.047 CEST);                           \r\ndeletionTimestamp is not set;                                                                                           \r\nactive is not set;                                                                                                      \r\nnotebookGuid: d1e41f1f-8082-4555-9ad1-31b1c4aa8385;                                                                     \r\nnotebookLocalUid: d9993d09-5f46-4859-828b-c6d909db5365;                                                                 \r\ntagGuids are not set;                                                                                                   \r\ntagLocalUids are not set;                                                                                               \r\nthumbnail is null;                                                                                                      \r\nresources are not set;                                                                                                  \r\nattributes: qevercloud::NoteAttributes: {                                                                               \r\n  subjectDate = <empty>;                                                                                                \r\n  latitude = <empty>;                                                                                                   \r\n  longitude = <empty>;                                                                                                  \r\n  altitude = <empty>;                                                                                                   \r\n  author = <empty>;                                                                                                     \r\n  source = <empty>;                                                                                                     \r\n  sourceURL = <empty>;                                                                                                  \r\n  sourceApplication = Quentier;                                                                                         \r\n  shareDate = <empty>;                                                                                                  \r\n  reminderOrder = <empty>;                                                                                              \r\n  reminderDoneTime = <empty>;                                                                                           \r\n  reminderTime = <empty>;                                                                                               \r\n  placeName = <empty>;                                                                                                  \r\n  contentClass = <empty>;                                                                                               \r\n  lastEditedBy = <empty>;                                                                                               \r\n  creatorId = <empty>;                                                                                                  \r\n  lastEditorId = <empty>;                                                                                               \r\n  sharedWithBusiness = <empty>;                                                                                         \r\n  conflictSourceNoteGuid = <empty>;                                                                                     \r\n  noteTitleQuality = <empty>;                                                                                           \r\n};                                                                                                                      \r\n;                                                                                                                       \r\nshared notes are not set;\r\nisDirty: true;                                                                                                          \r\nisLocal: false;                                                                                                         \r\nisFavorited = false;                                                                                                    \r\n};                                                                                                                      \r\n\r\n2018-07-17 21:55:59.018 CEST libquentier/src/synchronization/SynchronizationManager_p.cpp @ 709 [Debug]: SynchronizationManagerPrivate::onSendLocalChangesFailure: Failed to send new and/or mofidied notes to Evernote service, DATA_REQUIRED exception during the attempt to create a note\r\n2018-07-17 21:55:59.018 CEST libquentier/src/synchronization/SynchronizationManager_p.cpp @ 213 [Debug]: SynchronizationManagerPrivate::stop\r\n```\r\nThat is kinda strange because according to Evernote API [docs](https://dev.evernote.com/doc/reference/NoteStore.html#Fn_NoteStore_createNote) the exception with this error code should occur if the new note contains a resource which lacks the data body. However, the note attempted to be sent contained no resources. I'm puzzled about what happens here, to be honest. Maybe we are facing this error due to some undocumented convention of Evernote to not accept empty notes (this one contains only an empty div), so perhaps it'd be worth trying to enter some \"hello world\" content into the note and try syncing again."}}
{"actor":{"display_login":"d1vanov"}}