{"action":"created","issue":{"url":"https://api.github.com/repos/dlenski/tetherback/issues/12","repository_url":"https://api.github.com/repos/dlenski/tetherback","labels_url":"https://api.github.com/repos/dlenski/tetherback/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/dlenski/tetherback/issues/12/comments","events_url":"https://api.github.com/repos/dlenski/tetherback/issues/12/events","html_url":"https://github.com/dlenski/tetherback/issues/12","id":151720545,"number":12,"title":"progress bar fails","user":{"login":"kerlerm","id":5772874,"avatar_url":"https://avatars.githubusercontent.com/u/5772874?v=3","gravatar_id":"","url":"https://api.github.com/users/kerlerm","html_url":"https://github.com/kerlerm","followers_url":"https://api.github.com/users/kerlerm/followers","following_url":"https://api.github.com/users/kerlerm/following{/other_user}","gists_url":"https://api.github.com/users/kerlerm/gists{/gist_id}","starred_url":"https://api.github.com/users/kerlerm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kerlerm/subscriptions","organizations_url":"https://api.github.com/users/kerlerm/orgs","repos_url":"https://api.github.com/users/kerlerm/repos","events_url":"https://api.github.com/users/kerlerm/events{/privacy}","received_events_url":"https://api.github.com/users/kerlerm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-28T19:11:59Z","updated_at":"2016-04-28T21:55:06Z","closed_at":null,"body":"Progressbar2 fails for me. I'm sure it worked before...\r\n\r\n```\r\nSaving partition boot (mmcblk0p7), 8 MiB uncompressed...                                                                                                                            \r\nTraceback (most recent call last):                                                                                                                                                  \r\n  File \"./tetherback.py\", line 243, in <module>                                                                                                                                     \r\n    pbar.maxval = out.tell() or pbar.maxval # need to adjust for the smaller compressed size\r\nAttributeError: 'ProgressBar' object has no attribute 'maxval'\r\n```"},"comment":{"url":"https://api.github.com/repos/dlenski/tetherback/issues/comments/215574513","html_url":"https://github.com/dlenski/tetherback/issues/12#issuecomment-215574513","issue_url":"https://api.github.com/repos/dlenski/tetherback/issues/12","id":215574513,"user":{"login":"dlenski","id":128716,"avatar_url":"https://avatars.githubusercontent.com/u/128716?v=3","gravatar_id":"","url":"https://api.github.com/users/dlenski","html_url":"https://github.com/dlenski","followers_url":"https://api.github.com/users/dlenski/followers","following_url":"https://api.github.com/users/dlenski/following{/other_user}","gists_url":"https://api.github.com/users/dlenski/gists{/gist_id}","starred_url":"https://api.github.com/users/dlenski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlenski/subscriptions","organizations_url":"https://api.github.com/users/dlenski/orgs","repos_url":"https://api.github.com/users/dlenski/repos","events_url":"https://api.github.com/users/dlenski/events{/privacy}","received_events_url":"https://api.github.com/users/dlenski/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T21:55:06Z","updated_at":"2016-04-28T21:55:06Z","body":"Hrrrmmm... it looks like `maxval` has been changed to `max_value` in recent versions of progressbar2 and is now deprecated as an alias.\r\nhttps://github.com/WoLpH/python-progressbar/blob/0d35e8b6b1f7501198f0ca19309df5a0260201a3/progressbar/bar.py#L179-L182\r\n\r\nWhat version of progressbar2 are you using? I'm using the (apparently ancient) v2.3 [as provided by Ubuntu](http://packages.ubuntu.com/wily/python/python3-progressbar).\r\n\r\nI've been meaning to put together a proper `setup.py` so that tetherback can be installed with `pip` and pull in the right dependencies and versions."}}