duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Duplicity error with Cron and Launchd on OSX 10.5


From: Simon Ree
Subject: Re: [Duplicity-talk] Duplicity error with Cron and Launchd on OSX 10.5
Date: Wed, 20 Feb 2008 14:23:09 -0800

On 20-Feb-08, at 12:16 PM, Darik Horn wrote:

> File"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/os.py", line 392, in _execvpe func(fullname, *argrest)
> OSError: [Errno 2] No such file or directory

Check whether the $PATH variable in the cron environment has the directory where GPG is installed.

A fix may be to paste the result of this terminal command to the top of the crontab that invokes duplicity:

 echo PATH=$PATH

Depending on how you installed duplicity, you may need to add other variables to the cron environment.

That corrected it. I had completely forgotten that the cron environment does not use the users PATH.

Thank you




reply via email to

[Prev in Thread] Current Thread [Next in Thread]