{"action":"created","issue":{"url":"https://api.github.com/repos/fearedbliss/bliss-zfs-scripts/issues/1","repository_url":"https://api.github.com/repos/fearedbliss/bliss-zfs-scripts","labels_url":"https://api.github.com/repos/fearedbliss/bliss-zfs-scripts/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/fearedbliss/bliss-zfs-scripts/issues/1/comments","events_url":"https://api.github.com/repos/fearedbliss/bliss-zfs-scripts/issues/1/events","html_url":"https://github.com/fearedbliss/bliss-zfs-scripts/issues/1","id":134837540,"number":1,"title":"clean_snapshots: ValueError: invalid literal for int() with base 10: '4.4.0'","user":{"login":"GerardGarcia","id":4532364,"avatar_url":"https://avatars.githubusercontent.com/u/4532364?v=3","gravatar_id":"","url":"https://api.github.com/users/GerardGarcia","html_url":"https://github.com/GerardGarcia","followers_url":"https://api.github.com/users/GerardGarcia/followers","following_url":"https://api.github.com/users/GerardGarcia/following{/other_user}","gists_url":"https://api.github.com/users/GerardGarcia/gists{/gist_id}","starred_url":"https://api.github.com/users/GerardGarcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GerardGarcia/subscriptions","organizations_url":"https://api.github.com/users/GerardGarcia/orgs","repos_url":"https://api.github.com/users/GerardGarcia/repos","events_url":"https://api.github.com/users/GerardGarcia/events{/privacy}","received_events_url":"https://api.github.com/users/GerardGarcia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-19T11:02:34Z","updated_at":"2016-02-23T16:14:35Z","closed_at":"2016-02-23T16:14:35Z","body":"I'm getting the following error with the call: /usr/local/sbin/clean_snapshots -f -p <pool> -t zfs. It happens when it needs to remove snapshots, otherwise it does not show any error.\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/sbin/clean_snapshots\", line 619, in <module>\r\n    cleaner.start()\r\n  File \"/usr/local/sbin/clean_snapshots\", line 62, in start\r\n    self.fs_manager.check_snapshots()\r\n  File \"/usr/local/sbin/clean_snapshots\", line 365, in check_snapshots\r\n    self.slicer(snap)\r\n  File \"/usr/local/sbin/clean_snapshots\", line 466, in slicer\r\n    super().slicer(a_snap, date_split)\r\n  File \"/usr/local/sbin/clean_snapshots\", line 427, in slicer\r\n    year = int(date_split[0])\r\nValueError: invalid literal for int() with base 10: '4.4.0'\r\n\r\nI'm using Python 3.4.3 in Gentoo linux."},"comment":{"url":"https://api.github.com/repos/fearedbliss/bliss-zfs-scripts/issues/comments/187768698","html_url":"https://github.com/fearedbliss/bliss-zfs-scripts/issues/1#issuecomment-187768698","issue_url":"https://api.github.com/repos/fearedbliss/bliss-zfs-scripts/issues/1","id":187768698,"user":{"login":"fearedbliss","id":628436,"avatar_url":"https://avatars.githubusercontent.com/u/628436?v=3","gravatar_id":"","url":"https://api.github.com/users/fearedbliss","html_url":"https://github.com/fearedbliss","followers_url":"https://api.github.com/users/fearedbliss/followers","following_url":"https://api.github.com/users/fearedbliss/following{/other_user}","gists_url":"https://api.github.com/users/fearedbliss/gists{/gist_id}","starred_url":"https://api.github.com/users/fearedbliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fearedbliss/subscriptions","organizations_url":"https://api.github.com/users/fearedbliss/orgs","repos_url":"https://api.github.com/users/fearedbliss/repos","events_url":"https://api.github.com/users/fearedbliss/events{/privacy}","received_events_url":"https://api.github.com/users/fearedbliss/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T16:14:35Z","updated_at":"2016-02-23T16:14:35Z","body":"Nice :). Glad everything is good. Closing."}}