{"action":"reopened","issue":{"url":"https://api.github.com/repos/pyload/pyload/issues/1275","labels_url":"https://api.github.com/repos/pyload/pyload/issues/1275/labels{/name}","comments_url":"https://api.github.com/repos/pyload/pyload/issues/1275/comments","events_url":"https://api.github.com/repos/pyload/pyload/issues/1275/events","html_url":"https://github.com/pyload/pyload/issues/1275","id":63451161,"number":1275,"title":"ExternalScripts","user":{"login":"Gutz-Pilz","id":3322071,"avatar_url":"https://avatars.githubusercontent.com/u/3322071?v=3","gravatar_id":"","url":"https://api.github.com/users/Gutz-Pilz","html_url":"https://github.com/Gutz-Pilz","followers_url":"https://api.github.com/users/Gutz-Pilz/followers","following_url":"https://api.github.com/users/Gutz-Pilz/following{/other_user}","gists_url":"https://api.github.com/users/Gutz-Pilz/gists{/gist_id}","starred_url":"https://api.github.com/users/Gutz-Pilz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gutz-Pilz/subscriptions","organizations_url":"https://api.github.com/users/Gutz-Pilz/orgs","repos_url":"https://api.github.com/users/Gutz-Pilz/repos","events_url":"https://api.github.com/users/Gutz-Pilz/events{/privacy}","received_events_url":"https://api.github.com/users/Gutz-Pilz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyload/pyload/labels/question","name":"question","color":"800080"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-21T20:02:19Z","updated_at":"2015-03-25T19:19:58Z","closed_at":null,"body":"Hi there. \r\nthere this known bug that some settings are not persistent.\r\nSo i wrote a little script with python to check and change lines in my plugin.conf.\r\nIt works perfectly fine so i thought i could drop it in pyload_start to check at the beginning.\r\nbut when i start pyLoad now - it gives me an error: \r\n\r\n    21.03.2015 20:46:06 INFO      ExternalScripts: Installed scripts for: pyload_start | check2.py\r\n    21.03.2015 20:46:06 DEBUG     ExternalScripts: Executing: /root/.pyload/scripts/pyload_start/check2.py | Args:\r\n    21.03.2015 20:46:06 ERROR     ExternalScripts: Runtime error: /root/.pyload/scripts/pyload_start/check2.py | [Errno 8] Exec format error\r\n\r\nso i added \"#!/usr/bin/env python\"  - error is gone but script doesnt do anything.\r\n\r\nSom1 can help ?\r\n(the file is executable (chmod +x *.py))"}}