{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3859","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3859/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3859/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3859/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/3859","id":59518322,"number":3859,"title":"`Unterminated string` error during `rethinkdb restore`","user":{"login":"brandon-beacher","id":469,"avatar_url":"https://avatars.githubusercontent.com/u/469?v=3","gravatar_id":"","url":"https://api.github.com/users/brandon-beacher","html_url":"https://github.com/brandon-beacher","followers_url":"https://api.github.com/users/brandon-beacher/followers","following_url":"https://api.github.com/users/brandon-beacher/following{/other_user}","gists_url":"https://api.github.com/users/brandon-beacher/gists{/gist_id}","starred_url":"https://api.github.com/users/brandon-beacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandon-beacher/subscriptions","organizations_url":"https://api.github.com/users/brandon-beacher/orgs","repos_url":"https://api.github.com/users/brandon-beacher/repos","events_url":"https://api.github.com/users/brandon-beacher/events{/privacy}","received_events_url":"https://api.github.com/users/brandon-beacher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Tryneus","id":552910,"avatar_url":"https://avatars.githubusercontent.com/u/552910?v=3","gravatar_id":"","url":"https://api.github.com/users/Tryneus","html_url":"https://github.com/Tryneus","followers_url":"https://api.github.com/users/Tryneus/followers","following_url":"https://api.github.com/users/Tryneus/following{/other_user}","gists_url":"https://api.github.com/users/Tryneus/gists{/gist_id}","starred_url":"https://api.github.com/users/Tryneus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tryneus/subscriptions","organizations_url":"https://api.github.com/users/Tryneus/orgs","repos_url":"https://api.github.com/users/Tryneus/repos","events_url":"https://api.github.com/users/Tryneus/events{/privacy}","received_events_url":"https://api.github.com/users/Tryneus/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/90","html_url":"https://github.com/rethinkdb/rethinkdb/milestones/1.16.x","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/90/labels","id":956694,"number":90,"title":"1.16.x","description":"","creator":{"login":"coffeemug","id":48436,"avatar_url":"https://avatars.githubusercontent.com/u/48436?v=3","gravatar_id":"","url":"https://api.github.com/users/coffeemug","html_url":"https://github.com/coffeemug","followers_url":"https://api.github.com/users/coffeemug/followers","following_url":"https://api.github.com/users/coffeemug/following{/other_user}","gists_url":"https://api.github.com/users/coffeemug/gists{/gist_id}","starred_url":"https://api.github.com/users/coffeemug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coffeemug/subscriptions","organizations_url":"https://api.github.com/users/coffeemug/orgs","repos_url":"https://api.github.com/users/coffeemug/repos","events_url":"https://api.github.com/users/coffeemug/events{/privacy}","received_events_url":"https://api.github.com/users/coffeemug/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":8,"state":"open","created_at":"2015-01-29T12:41:25Z","updated_at":"2015-03-02T22:53:06Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-03-02T18:05:11Z","updated_at":"2015-03-02T22:56:37Z","closed_at":null,"body":"Our app - http://gatherhere.com/platform - uses RethinkDB as it's primary data store.\r\n\r\n`rethinkdb restore` is currently failing if we attempt to restore a dump of our database.\r\n\r\nThe failure occurs for a table containing JSON from Postmark's [Inbound email webhook](http://developer.postmarkapp.com/developer-inbound-webhook.html).\r\n\r\nI suspect the wide range of characters which occur in email may have landed on something which `rethinkdb restore` does not yet handle?\r\n\r\nHere is the full error message:\r\n\r\n```\r\nrethinkdb restore ~/Downloads/rethinkdb_dump_2015-03-02T11:00:01.tar.gz --force\r\nUnzipping archive file...\r\n  Done (8 seconds)\r\nImporting from directory...\r\n[                                        ]   2% \r\n412586 rows imported in 26 tables\r\nUnterminated string starting at: line 2 column 15988747 (char 15988748)\r\nIn file: /var/folders/n0/fqys4_ns6kl2wl990nhd4nf40000gn/T/tmpImjL5r/gather/inbound_emails.json\r\nErrors occurred during import\r\nError: rethinkdb-import failed\r\n```\r\n\r\nI tried to take a look at the character referenced in the error - but if I open the file in an editor - line 2 does not have that many characters.\r\n\r\nAnything I can do to help diagnose this one?"},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/76845602","html_url":"https://github.com/rethinkdb/rethinkdb/issues/3859#issuecomment-76845602","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3859","id":76845602,"user":{"login":"brandon-beacher","id":469,"avatar_url":"https://avatars.githubusercontent.com/u/469?v=3","gravatar_id":"","url":"https://api.github.com/users/brandon-beacher","html_url":"https://github.com/brandon-beacher","followers_url":"https://api.github.com/users/brandon-beacher/followers","following_url":"https://api.github.com/users/brandon-beacher/following{/other_user}","gists_url":"https://api.github.com/users/brandon-beacher/gists{/gist_id}","starred_url":"https://api.github.com/users/brandon-beacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandon-beacher/subscriptions","organizations_url":"https://api.github.com/users/brandon-beacher/orgs","repos_url":"https://api.github.com/users/brandon-beacher/repos","events_url":"https://api.github.com/users/brandon-beacher/events{/privacy}","received_events_url":"https://api.github.com/users/brandon-beacher/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T22:56:37Z","updated_at":"2015-03-02T22:56:37Z","body":"Thanks Daniel - I thought 2859 was a pull request - but realized it would have auto-linked via Github if it were. I've got a workaround for now but will be happy to test if needed."}}