{"action":"closed","issue":{"url":"https://api.github.com/repos/pyload/pyload/issues/1600","labels_url":"https://api.github.com/repos/pyload/pyload/issues/1600/labels{/name}","comments_url":"https://api.github.com/repos/pyload/pyload/issues/1600/comments","events_url":"https://api.github.com/repos/pyload/pyload/issues/1600/events","html_url":"https://github.com/pyload/pyload/issues/1600","id":97920485,"number":1600,"title":"Errors in AntiStandby: ValueError: max() arg is an empty sequence + HOOK AntiStandby: Unable to change power state | [Errno 2] No such file or directory","user":{"login":"wweich","id":1026763,"avatar_url":"https://avatars.githubusercontent.com/u/1026763?v=3","gravatar_id":"","url":"https://api.github.com/users/wweich","html_url":"https://github.com/wweich","followers_url":"https://api.github.com/users/wweich/followers","following_url":"https://api.github.com/users/wweich/following{/other_user}","gists_url":"https://api.github.com/users/wweich/gists{/gist_id}","starred_url":"https://api.github.com/users/wweich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wweich/subscriptions","organizations_url":"https://api.github.com/users/wweich/orgs","repos_url":"https://api.github.com/users/wweich/repos","events_url":"https://api.github.com/users/wweich/events{/privacy}","received_events_url":"https://api.github.com/users/wweich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyload/pyload/labels/plugin%20issue","name":"plugin issue","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-29T11:57:15Z","updated_at":"2015-07-29T16:49:57Z","closed_at":"2015-07-29T16:49:57Z","body":"Every time the plugin is loaded or unloaded, the following Log-Line is printed:\r\n```\r\n29.07.2015 13:46:58 WARNING   HOOK AntiStandby: Unable to change power state | [Errno 2] No such file or directory\r\n```\r\n\r\nEvery time the plugin tries to touch the HDD, the following error occurs:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/opt/pyload/userplugins/internal/Addon.py\", line 97, in _periodical\r\n    self.periodical()\r\n  File \"/opt/pyload/userplugins/hooks/AntiStandby.py\", line 154, in periodical\r\n    if (self.max_mtime(path) - self.mtime) < self.interval:\r\n  File \"/opt/pyload/userplugins/hooks/AntiStandby.py\", line 144, in max_mtime\r\n    for root, dirs, files in os.walk(path, topdown=False)\r\nValueError: max() arg is an empty sequence\r\n```\r\n\r\nI am running on Ubuntu Server 12.04.\r\nI don't need the plugin as I don't have standby enabled for OS or HDD, so I will keep it disabled.\r\nJust wanted to let you know."}}