Why might I get a "Service cannot initialize" error in my console when a plist file is run? I have set up a plist file and loaded/started it with launchd. Whenever it is time for the script to run, I receive the following error in my console:

12/9/15 12:53:19.344 PM com.apple.xpc.launchd[1]: (kjuvbot[742]) Service could not initialize: 14F27: xpcproxy + 13421 [1402][AD0301K4-D354-31AE-8BA7-B5KBECE64P0B]: 0x2


Does anyone have any idea why this error might occur? Here is my .plist file:

kjuvbot.plist

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//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;kjuvbot&lt;/string&gt;
    &lt;key&gt;ProgramArguments&lt;/key&gt;
    &lt;array&gt;
        &lt;string&gt;python3&lt;/string&gt;
        &lt;string&gt;/Users/me/workspace/Learning/src/kjuvbot.py&lt;/string&gt;
    &lt;/array&gt;
    &lt;key&gt;StartInterval&lt;/key&gt;
    &lt;integer&gt;3600&lt;/integer&gt;
&lt;/dict&gt;
&lt;/plist&gt;


Does it by chance need com. in front of the filename?

Here are the permissions (I created the file as myself):

-rw-r--r--@ 1 me  staff  427 Dec  9 19:28 kjuvbot.plist
python3 is not in the path used by launchd which will be less that that in the terminal.

Try using the full path in the plist

e.g.

&lt;key&gt;ProgramArguments&lt;/key&gt;
&lt;array&gt;
    &lt;string&gt;/usr/local/bin/python3&lt;/string&gt;
    &lt;string&gt;/Users/me/workspace/Learning/src/kjuvbot.py&lt;/string&gt;
&lt;/array&gt;