{"action":"created","issue":{"url":"https://api.github.com/repos/rmiceli/rsnapstats/issues/3","repository_url":"https://api.github.com/repos/rmiceli/rsnapstats","labels_url":"https://api.github.com/repos/rmiceli/rsnapstats/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/rmiceli/rsnapstats/issues/3/comments","events_url":"https://api.github.com/repos/rmiceli/rsnapstats/issues/3/events","html_url":"https://github.com/rmiceli/rsnapstats/issues/3","id":294150901,"number":3,"title":"IndexError","user":{"login":"AlBundyLoves69","id":9625486,"avatar_url":"https://avatars1.githubusercontent.com/u/9625486?v=4","gravatar_id":"","url":"https://api.github.com/users/AlBundyLoves69","html_url":"https://github.com/AlBundyLoves69","followers_url":"https://api.github.com/users/AlBundyLoves69/followers","following_url":"https://api.github.com/users/AlBundyLoves69/following{/other_user}","gists_url":"https://api.github.com/users/AlBundyLoves69/gists{/gist_id}","starred_url":"https://api.github.com/users/AlBundyLoves69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlBundyLoves69/subscriptions","organizations_url":"https://api.github.com/users/AlBundyLoves69/orgs","repos_url":"https://api.github.com/users/AlBundyLoves69/repos","events_url":"https://api.github.com/users/AlBundyLoves69/events{/privacy}","received_events_url":"https://api.github.com/users/AlBundyLoves69/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-03T22:33:37Z","updated_at":"2018-02-03T23:55:35Z","closed_at":null,"author_association":"NONE","body":"[output.txt](https://github.com/rmiceli/rsnapstats/files/1692252/output.txt)\r\n\r\nThis error is thrown with the attached output.txt\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/rsnapstats.py\", line 140, in <module>\r\n    main()\r\n  File \"/usr/local/bin/rsnapstats.py\", line 99, in main\r\n    stats_dict['source'] = line.split()[-2].split('@')[-1]\r\nIndexError: list index out of range\r\n```\r\n\r\nPython 2.7.13\r\nSLES 12 SP3\r\n\r\n```\r\nrsync  version 3.1.0  protocol version 31\r\nCopyright (C) 1996-2013 by Andrew Tridgell, Wayne Davison, and others.\r\nWeb site: http://rsync.samba.org/\r\nCapabilities:\r\n    64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,\r\n    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,\r\n    append, ACLs, xattrs, iconv, symtimes, prealloc, SLP\r\n\r\nrsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you\r\nare welcome to redistribute it under certain conditions.  See the GNU\r\nGeneral Public Licence for details.\r\n```\r\nOther directories work fine but they don't have any file with the string \"source\" inside. Can it that it is parsing also the filenames instead of the summary?"},"comment":{"url":"https://api.github.com/repos/rmiceli/rsnapstats/issues/comments/362867159","html_url":"https://github.com/rmiceli/rsnapstats/issues/3#issuecomment-362867159","issue_url":"https://api.github.com/repos/rmiceli/rsnapstats/issues/3","id":362867159,"user":{"login":"rmiceli","id":1482873,"avatar_url":"https://avatars3.githubusercontent.com/u/1482873?v=4","gravatar_id":"","url":"https://api.github.com/users/rmiceli","html_url":"https://github.com/rmiceli","followers_url":"https://api.github.com/users/rmiceli/followers","following_url":"https://api.github.com/users/rmiceli/following{/other_user}","gists_url":"https://api.github.com/users/rmiceli/gists{/gist_id}","starred_url":"https://api.github.com/users/rmiceli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmiceli/subscriptions","organizations_url":"https://api.github.com/users/rmiceli/orgs","repos_url":"https://api.github.com/users/rmiceli/repos","events_url":"https://api.github.com/users/rmiceli/events{/privacy}","received_events_url":"https://api.github.com/users/rmiceli/received_events","type":"User","site_admin":false},"created_at":"2018-02-03T23:55:35Z","updated_at":"2018-02-03T23:55:35Z","author_association":"OWNER","body":"Thanks for you help. You provided a better set of output files to test against. \r\n\r\nTry the latest code in 7691a046bcde4b1a648f4d4ca5251756aaaef7b8. This still parses all the file names if the user does not hack the rsnapshot source, but it should work for now. I'll start a new branch and try some other solutions to ignore the -v output from rsync. "}}
{"actor":{"display_login":"rmiceli"}}