{"action":"created","issue":{"url":"https://api.github.com/repos/jflesch/paperwork-backend/issues/2","repository_url":"https://api.github.com/repos/jflesch/paperwork-backend","labels_url":"https://api.github.com/repos/jflesch/paperwork-backend/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jflesch/paperwork-backend/issues/2/comments","events_url":"https://api.github.com/repos/jflesch/paperwork-backend/issues/2/events","html_url":"https://github.com/jflesch/paperwork-backend/issues/2","id":188646271,"number":2,"title":"Export writes file over and over again","user":{"login":"pscheid92","id":7292949,"avatar_url":"https://avatars.githubusercontent.com/u/7292949?v=3","gravatar_id":"","url":"https://api.github.com/users/pscheid92","html_url":"https://github.com/pscheid92","followers_url":"https://api.github.com/users/pscheid92/followers","following_url":"https://api.github.com/users/pscheid92/following{/other_user}","gists_url":"https://api.github.com/users/pscheid92/gists{/gist_id}","starred_url":"https://api.github.com/users/pscheid92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pscheid92/subscriptions","organizations_url":"https://api.github.com/users/pscheid92/orgs","repos_url":"https://api.github.com/users/pscheid92/repos","events_url":"https://api.github.com/users/pscheid92/events{/privacy}","received_events_url":"https://api.github.com/users/pscheid92/received_events","type":"User","site_admin":false},"labels":[{"id":328695337,"url":"https://api.github.com/repos/jflesch/paperwork-backend/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/jflesch/paperwork-backend/milestones/1","html_url":"https://github.com/jflesch/paperwork-backend/milestones/1.0.2","labels_url":"https://api.github.com/repos/jflesch/paperwork-backend/milestones/1/labels","id":2128572,"number":1,"title":"1.0.2","description":"","creator":{"login":"jflesch","id":135331,"avatar_url":"https://avatars.githubusercontent.com/u/135331?v=3","gravatar_id":"","url":"https://api.github.com/users/jflesch","html_url":"https://github.com/jflesch","followers_url":"https://api.github.com/users/jflesch/followers","following_url":"https://api.github.com/users/jflesch/following{/other_user}","gists_url":"https://api.github.com/users/jflesch/gists{/gist_id}","starred_url":"https://api.github.com/users/jflesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jflesch/subscriptions","organizations_url":"https://api.github.com/users/jflesch/orgs","repos_url":"https://api.github.com/users/jflesch/repos","events_url":"https://api.github.com/users/jflesch/events{/privacy}","received_events_url":"https://api.github.com/users/jflesch/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-11-11T03:23:01Z","updated_at":"2016-11-11T03:23:09Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-11-10T23:24:38Z","updated_at":"2016-11-12T18:18:10Z","closed_at":null,"body":"**Description:**\r\n\r\nExporting a document (pdf) or a single page (png) leads to a hanging paperwork.\r\nThe file is written and overwritten over and over again.\r\n\r\nThis can be detected by checking file size multiple time with bash or nautilus.\r\nThe size is growing, reset to 0 bytes and starts growing again.\r\n\r\nI have to kill the paperwork process to stop it. Sometimes the kill leads to a well written file,\r\nsometimes to binary garbage. Moreover, this is really bad for SSD lifespan.\r\n\r\nIf you need further information or want me to test a fixed branch version,\r\nplease be not afraid to ask.\r\n\r\n**Environment:**\r\n\r\n- Fedora 24 Linux\r\n- Python 3.5.2\r\n- Gnome 3.20.2\r\n- Paperwork 1.0.1 (also occurs in 1.0.0) installed with pip3\r\n\r\n**Reproduction:**\r\n\r\n1. Opening a scanned or imported document (both tested).\r\n2. Export the document to a given folder.\r\n3. Start export with button.\r\n4. Paperwork hangs.\r\n5. Check size of output file with nautilus (or similar).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jflesch/paperwork-backend/issues/comments/260139024","html_url":"https://github.com/jflesch/paperwork-backend/issues/2#issuecomment-260139024","issue_url":"https://api.github.com/repos/jflesch/paperwork-backend/issues/2","id":260139024,"user":{"login":"jflesch","id":135331,"avatar_url":"https://avatars.githubusercontent.com/u/135331?v=3","gravatar_id":"","url":"https://api.github.com/users/jflesch","html_url":"https://github.com/jflesch","followers_url":"https://api.github.com/users/jflesch/followers","following_url":"https://api.github.com/users/jflesch/following{/other_user}","gists_url":"https://api.github.com/users/jflesch/gists{/gist_id}","starred_url":"https://api.github.com/users/jflesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jflesch/subscriptions","organizations_url":"https://api.github.com/users/jflesch/orgs","repos_url":"https://api.github.com/users/jflesch/repos","events_url":"https://api.github.com/users/jflesch/events{/privacy}","received_events_url":"https://api.github.com/users/jflesch/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T18:18:10Z","updated_at":"2016-11-12T18:18:10Z","body":"I doubt I will be able to make a small test program showing the same problem (I fear a stack corruption far before the export itself). So for now, I will just see if I can workaround it."}}
{"actor":{"display_login":"jflesch"}}