{"action":"created","issue":{"url":"https://api.github.com/repos/koreader/koreader/issues/2036","repository_url":"https://api.github.com/repos/koreader/koreader","labels_url":"https://api.github.com/repos/koreader/koreader/issues/2036/labels{/name}","comments_url":"https://api.github.com/repos/koreader/koreader/issues/2036/comments","events_url":"https://api.github.com/repos/koreader/koreader/issues/2036/events","html_url":"https://github.com/koreader/koreader/issues/2036","id":155824387,"number":2036,"title":"Save last read page on device poweroff","user":{"login":"mwozny123","id":650550,"avatar_url":"https://avatars.githubusercontent.com/u/650550?v=3","gravatar_id":"","url":"https://api.github.com/users/mwozny123","html_url":"https://github.com/mwozny123","followers_url":"https://api.github.com/users/mwozny123/followers","following_url":"https://api.github.com/users/mwozny123/following{/other_user}","gists_url":"https://api.github.com/users/mwozny123/gists{/gist_id}","starred_url":"https://api.github.com/users/mwozny123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwozny123/subscriptions","organizations_url":"https://api.github.com/users/mwozny123/orgs","repos_url":"https://api.github.com/users/mwozny123/repos","events_url":"https://api.github.com/users/mwozny123/events{/privacy}","received_events_url":"https://api.github.com/users/mwozny123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/koreader/koreader/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/koreader/koreader/labels/PocketBook","name":"PocketBook","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/koreader/koreader/milestones/4","html_url":"https://github.com/koreader/koreader/milestones/next%20stable%20release","labels_url":"https://api.github.com/repos/koreader/koreader/milestones/4/labels","id":1628292,"number":4,"title":"next stable release","description":"","creator":{"login":"houqp","id":670302,"avatar_url":"https://avatars.githubusercontent.com/u/670302?v=3","gravatar_id":"","url":"https://api.github.com/users/houqp","html_url":"https://github.com/houqp","followers_url":"https://api.github.com/users/houqp/followers","following_url":"https://api.github.com/users/houqp/following{/other_user}","gists_url":"https://api.github.com/users/houqp/gists{/gist_id}","starred_url":"https://api.github.com/users/houqp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houqp/subscriptions","organizations_url":"https://api.github.com/users/houqp/orgs","repos_url":"https://api.github.com/users/houqp/repos","events_url":"https://api.github.com/users/houqp/events{/privacy}","received_events_url":"https://api.github.com/users/houqp/received_events","type":"User","site_admin":false},"open_issues":31,"closed_issues":33,"state":"open","created_at":"2016-03-08T08:43:07Z","updated_at":"2016-06-17T01:50:28Z","due_on":"2016-07-05T07:00:00Z","closed_at":null},"comments":18,"created_at":"2016-05-19T20:12:52Z","updated_at":"2016-06-17T07:21:19Z","closed_at":null,"body":"* KOReader version: stable, nightly\r\n* Device: Pocketbook, Kobo, probably all non-Kindle devices\r\n\r\n#### Issue\r\nWhen device system's going for powersave shutdown, Koreader doesn't save last read page.\r\n(Bug extracted from https://github.com/koreader/koreader/issues/1990)\r\n\r\n#### Steps to reproduce\r\nDo some reading progress, wait idle till (system's battery saving) will shutdown device. \r\nStartup device, start koreader, last reading page won't be restored."},"comment":{"url":"https://api.github.com/repos/koreader/koreader/issues/comments/226698760","html_url":"https://github.com/koreader/koreader/issues/2036#issuecomment-226698760","issue_url":"https://api.github.com/repos/koreader/koreader/issues/2036","id":226698760,"user":{"login":"mwozny123","id":650550,"avatar_url":"https://avatars.githubusercontent.com/u/650550?v=3","gravatar_id":"","url":"https://api.github.com/users/mwozny123","html_url":"https://github.com/mwozny123","followers_url":"https://api.github.com/users/mwozny123/followers","following_url":"https://api.github.com/users/mwozny123/following{/other_user}","gists_url":"https://api.github.com/users/mwozny123/gists{/gist_id}","starred_url":"https://api.github.com/users/mwozny123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwozny123/subscriptions","organizations_url":"https://api.github.com/users/mwozny123/orgs","repos_url":"https://api.github.com/users/mwozny123/repos","events_url":"https://api.github.com/users/mwozny123/events{/privacy}","received_events_url":"https://api.github.com/users/mwozny123/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T07:21:19Z","updated_at":"2016-06-17T07:21:19Z","body":"Strange. I've just: \r\n- connected using wifi to check that patch is on place, \r\n- added Debug Raw Events\r\n- disconnected, \r\n- started Koreader from console (with nohup option), \r\n- move 3 pages ahead \r\nand next time I opened the Koreader last read page was save, and I swear yesterday it wasn't (started from systems menu, not console). \r\n\r\nSo I confirm that's working from console. Let me just do one more test to confirm that's working from system's menu.\r\nFor sure I noticed that bookmark isn't saved when started from system menu. 1) But your change is just about last read page right?\r\n\r\nAnyway there's a stacktrace at the bottom of log file. 2)Is it ok, that's there?\r\n\r\nHere's a log without debug Raw Events. \r\n[koreaderSHUTD2.txt](https://github.com/koreader/koreader/files/319897/koreaderSHUTD2.txt)\r\nHere's a log with Debug Raw Events:\r\n[koreaderSHUTD3raw.txt](https://github.com/koreader/koreader/files/319903/koreaderSHUTD3raw.txt)\r\n\r\n\r\n\r\n3)Btw are those logs enough to see why it's not using Koreader book cover, after shutdown?\r\n\r\nBR\r\nMarcin\r\n\r\nps: DAUTO_SAVE_PAGING_COUNT saves last read page -1."}}
{"actor":{"display_login":"mwozny123"}}