-
Notifications
You must be signed in to change notification settings - Fork 160
Slogger "Exited with code: 1" #222
Comments
Same here. |
Same symptoms here. When I run slogger from a remote ssh command line I get the following... Related?
|
Does your launchd plist look a bit like this? #204 (comment) |
Pretty much:
|
I'm having the same issue. Did any body get it going? |
I'm having a similar issue, tried adding / removing the job to launchctl through the install script a few time, but still get this as soon as I start it: Dec 23 16:29:38 imac2013 com.apple.launchd.peruser.501217: Exited with code: 1 |
I'm also having the same issue... |
OK... So I'm not sure how, but the launchd is now working correctly.. Typical!! |
Hmmm so I had the restart my MacBook and now I get the same error as before.. |
Just as a data point, it seems that adding the following to the launchd plist seems to fix the problem:
|
@randomphrase That might have done it! I'm not going to declare success just yet, but it did just run via launchctl.... I'll make sure it's still running tomorrow though before I throw a random dance party :) |
@randomphrase Where in the file did you place it? Could you please post a full updated plist for me? Thanks! |
@cobbenterprises mine looks like this: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnvironmentVariables</key>
<dict>
<key>LANG</key>
<string>en_US.UTF-8</string>
</dict>
<key>Label</key>
<string>com.brettterpstra.Slogger</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/ruby</string>
<string>/Users/alan/bin/Slogger/slogger</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>22</integer>
<key>Minute</key>
<integer>30</integer>
</dict>
</dict>
</plist>
<!-- @@@@LingonWhatStart:/usr/bin/ruby /Users/alan/bin/Slogger/slogger@@@@LingonWhatEnd --> Then I load it in Lingon, load it, save it, and then quit Lingon. |
@alanleftofthedot Glad that fix worked for you |
Looks like it's running for me now as well. Thanks for the help! |
Same here! |
I mentioned this here, but this seems to be a separate issue since slogger runs fine for me from the command line.
But when I do
launchctl start com.bjornkri.Slogger
, which contains the exact same command as I run from the command line (/usr/bin/ruby /Volumes/Belbo/Development/personal/Slogger/slogger
), I get the following in console:This started happening after upgrading to Mavericks.
The text was updated successfully, but these errors were encountered: