{"action":"created","issue":{"url":"https://api.github.com/repos/tvdstaaij/telegram-history-dump/issues/24","repository_url":"https://api.github.com/repos/tvdstaaij/telegram-history-dump","labels_url":"https://api.github.com/repos/tvdstaaij/telegram-history-dump/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/tvdstaaij/telegram-history-dump/issues/24/comments","events_url":"https://api.github.com/repos/tvdstaaij/telegram-history-dump/issues/24/events","html_url":"https://github.com/tvdstaaij/telegram-history-dump/issues/24","id":161057536,"number":24,"title":"Conversion Error","user":{"login":"salamsalamabc","id":19501109,"avatar_url":"https://avatars.githubusercontent.com/u/19501109?v=3","gravatar_id":"","url":"https://api.github.com/users/salamsalamabc","html_url":"https://github.com/salamsalamabc","followers_url":"https://api.github.com/users/salamsalamabc/followers","following_url":"https://api.github.com/users/salamsalamabc/following{/other_user}","gists_url":"https://api.github.com/users/salamsalamabc/gists{/gist_id}","starred_url":"https://api.github.com/users/salamsalamabc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salamsalamabc/subscriptions","organizations_url":"https://api.github.com/users/salamsalamabc/orgs","repos_url":"https://api.github.com/users/salamsalamabc/repos","events_url":"https://api.github.com/users/salamsalamabc/events{/privacy}","received_events_url":"https://api.github.com/users/salamsalamabc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tvdstaaij","id":8502790,"avatar_url":"https://avatars.githubusercontent.com/u/8502790?v=3","gravatar_id":"","url":"https://api.github.com/users/tvdstaaij","html_url":"https://github.com/tvdstaaij","followers_url":"https://api.github.com/users/tvdstaaij/followers","following_url":"https://api.github.com/users/tvdstaaij/following{/other_user}","gists_url":"https://api.github.com/users/tvdstaaij/gists{/gist_id}","starred_url":"https://api.github.com/users/tvdstaaij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvdstaaij/subscriptions","organizations_url":"https://api.github.com/users/tvdstaaij/orgs","repos_url":"https://api.github.com/users/tvdstaaij/repos","events_url":"https://api.github.com/users/tvdstaaij/events{/privacy}","received_events_url":"https://api.github.com/users/tvdstaaij/received_events","type":"User","site_admin":false},"assignees":[{"login":"tvdstaaij","id":8502790,"avatar_url":"https://avatars.githubusercontent.com/u/8502790?v=3","gravatar_id":"","url":"https://api.github.com/users/tvdstaaij","html_url":"https://github.com/tvdstaaij","followers_url":"https://api.github.com/users/tvdstaaij/followers","following_url":"https://api.github.com/users/tvdstaaij/following{/other_user}","gists_url":"https://api.github.com/users/tvdstaaij/gists{/gist_id}","starred_url":"https://api.github.com/users/tvdstaaij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvdstaaij/subscriptions","organizations_url":"https://api.github.com/users/tvdstaaij/orgs","repos_url":"https://api.github.com/users/tvdstaaij/repos","events_url":"https://api.github.com/users/tvdstaaij/events{/privacy}","received_events_url":"https://api.github.com/users/tvdstaaij/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-06-19T05:32:33Z","updated_at":"2016-06-30T15:37:30Z","closed_at":null,"body":"how to solve this error?\r\n298:in `join': no implicit conversion of nil into String (TypeError)"},"comment":{"url":"https://api.github.com/repos/tvdstaaij/telegram-history-dump/issues/comments/229697826","html_url":"https://github.com/tvdstaaij/telegram-history-dump/issues/24#issuecomment-229697826","issue_url":"https://api.github.com/repos/tvdstaaij/telegram-history-dump/issues/24","id":229697826,"user":{"login":"tvdstaaij","id":8502790,"avatar_url":"https://avatars.githubusercontent.com/u/8502790?v=3","gravatar_id":"","url":"https://api.github.com/users/tvdstaaij","html_url":"https://github.com/tvdstaaij","followers_url":"https://api.github.com/users/tvdstaaij/followers","following_url":"https://api.github.com/users/tvdstaaij/following{/other_user}","gists_url":"https://api.github.com/users/tvdstaaij/gists{/gist_id}","starred_url":"https://api.github.com/users/tvdstaaij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvdstaaij/subscriptions","organizations_url":"https://api.github.com/users/tvdstaaij/orgs","repos_url":"https://api.github.com/users/tvdstaaij/repos","events_url":"https://api.github.com/users/tvdstaaij/events{/privacy}","received_events_url":"https://api.github.com/users/tvdstaaij/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T15:37:29Z","updated_at":"2016-06-30T15:37:29Z","body":"Thank you both for sharing your experience.\r\n\r\nI have now merged the retry PR, and additionally made it so that when a chunk fails even after retrying, only that chunk is skipped and not the entire dialog. This should also cause the progress file to be saved correctly and thereby solve the TypeError crash.\r\n\r\nIf you want to lose as few messages as possible due to these timeouts, you could try decreasing the `chunk_size`. To compensate for the speed loss `chunk_delay` would have to be decreased as well, but be careful with this, because going too fast may actually *cause* timeouts or other weird behavior.\r\n\r\nIf one specific message in a chunk is causing the timeout then isolating it (and recovering the \"good\" messages in the chunk) would technically be possible by doing something of a binary search within the problematic chunk. I will consider this if it is/becomes a widespread problem, but it is complicated by the fact that I cannot reproduce such a timeout at all even though I have quite a lot of dialogs with a total of more than 200k messages.\r\n\r\n@qelix, you mentioned that the timeout(s) always occur at the exact same point in the backup process. Is that also true when you:\r\n* Increase `chunk_delay` to 2.0\r\n* Change the scope of the backup, for example to only backup the specific dialog where the timeout occurs\r\n"}}
{"actor":{"display_login":"tvdstaaij"}}