{"action":"created","issue":{"url":"https://api.github.com/repos/vitalif/grive2/issues/26","labels_url":"https://api.github.com/repos/vitalif/grive2/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/vitalif/grive2/issues/26/comments","events_url":"https://api.github.com/repos/vitalif/grive2/issues/26/events","html_url":"https://github.com/vitalif/grive2/issues/26","id":104985250,"number":26,"title":"const: Assertion `m_ctx.size() == 1U' failed.","user":{"login":"df1paw","id":2004708,"avatar_url":"https://avatars.githubusercontent.com/u/2004708?v=3","gravatar_id":"","url":"https://api.github.com/users/df1paw","html_url":"https://github.com/df1paw","followers_url":"https://api.github.com/users/df1paw/followers","following_url":"https://api.github.com/users/df1paw/following{/other_user}","gists_url":"https://api.github.com/users/df1paw/gists{/gist_id}","starred_url":"https://api.github.com/users/df1paw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/df1paw/subscriptions","organizations_url":"https://api.github.com/users/df1paw/orgs","repos_url":"https://api.github.com/users/df1paw/repos","events_url":"https://api.github.com/users/df1paw/events{/privacy}","received_events_url":"https://api.github.com/users/df1paw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-04T23:14:58Z","updated_at":"2015-09-30T12:28:23Z","closed_at":null,"body":"Grive -a fails with the following error:\r\n\r\nandreas@notebook:~/src/grive2/build/grive$ ./grive -a\r\n-----------------------\r\nPlease go to this URL and get an authentication code:\r\n\r\nLink removed\r\n-----------------------\r\nPlease input the authentication code here: \r\ncode removed\r\ngrive: /home/andreas/src/grive2/libgrive/src/json/ValBuilder.cc:133: gr::Val gr::ValBuilder::Result() const: Assertion `m_ctx.size() == 1U' failed.\r\nAbgebrochen (Speicherabzug geschrieben)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vitalif/grive2/issues/comments/144381262","html_url":"https://github.com/vitalif/grive2/issues/26#issuecomment-144381262","issue_url":"https://api.github.com/repos/vitalif/grive2/issues/26","id":144381262,"user":{"login":"vitalif","id":945339,"avatar_url":"https://avatars.githubusercontent.com/u/945339?v=3","gravatar_id":"","url":"https://api.github.com/users/vitalif","html_url":"https://github.com/vitalif","followers_url":"https://api.github.com/users/vitalif/followers","following_url":"https://api.github.com/users/vitalif/following{/other_user}","gists_url":"https://api.github.com/users/vitalif/gists{/gist_id}","starred_url":"https://api.github.com/users/vitalif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitalif/subscriptions","organizations_url":"https://api.github.com/users/vitalif/orgs","repos_url":"https://api.github.com/users/vitalif/repos","events_url":"https://api.github.com/users/vitalif/events{/privacy}","received_events_url":"https://api.github.com/users/vitalif/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T12:28:23Z","updated_at":"2015-09-30T12:28:23Z","body":"I've just reimplemented HTTP response logging in grive, so please check `grive -a --log-http http` with the latest master version. httpXXX.txt file will be created with the full communication transcript.\r\nIn fact it seems I've also reproduced your issue by repeating auth request many times, and now Google always says to me:\r\n```{\r\n  \"error\" : \"invalid_grant\",\r\n  \"error_description\" : \"Code was already redeemed.\"\r\n}```\r\nDon't yet know how to fix it though O_o it repeats every time for me now.\r\n+ also the \"assertion failed\" tells up that ValBuilder failed to parse JSON response. This is also a bug which I'll fix..."}}