What's wrong with my launchctl config? I'm trying to auto-run SickBeard on login

python /Applications/Sick-Beard/Sickbeard.py

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd &gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
  &lt;key&gt;Label&lt;/key&gt;
  &lt;string&gt;com.sickbeard.sickbeard&lt;/string&gt;
  &lt;key&gt;ProgramArguments&lt;/key&gt;
  &lt;array&gt;
       &lt;string&gt;/usr/bin/python&lt;/string&gt;
       &lt;string&gt;/Applications/Sick-Beard/SickBeard.py&lt;/string&gt;
       &lt;string&gt;-q&lt;/string&gt;
       &lt;string&gt;-d&lt;/string&gt;
  &lt;/array&gt;
  &lt;key&gt;RunAtLoad&lt;/key&gt;
  &lt;true/&gt;
&lt;/dict&gt;
&lt;/plist&gt;


When I run launchctl com.sickbeard.sickbeard.plist it gives me the message:


  launchctl load com.sickbeard.sickbeard.plist  launchctl: no plist was
  returned for: com.sickbeard.sickbeard.plist launchctl: no plist was
  returned for: com.sickbeard.sickbeard.plist nothing found to load
I'm assuming the paths to the python script and its parameters are valid, otherwise you'd most likely be seeing errors in the Console instead.

The last time I saw that error was because there were spurious characters in the plist, e.g. extra spaces, causing syntax errors and therefore making it fail to load. If you run plutil -lint on your plist, this will check the syntax for you and also handily report back the line on which the error occurred.

plutil -lint com.sickbeard.sickbeard.plist

If that doesn't help, the (OSX) How To Start SickBeard at Login or boot on OSX thread on the sickbeard forums has a slightly different plist to yours (sickbeard running from /usr/local as opposed to /Applications - so it could be a permissions thing) and also some people with seemingly the same problem as you