Complete.Org: Mailing Lists: Archives: offlineimap: October 2007:
Re: Missing module using offlineimap via cron
Home

Re: Missing module using offlineimap via cron

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Cc: offlineimap@xxxxxxxxxxxx
Subject: Re: Missing module using offlineimap via cron
From: Raffi Khatchadourian <khatchad@xxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Oct 2007 10:02:03 -0400

John,

On Mon 22.Oct'07 at  8:57:55 -0500, John Goerzen wrote:
>On Mon October 22 2007 8:54:26 am Raffi Khatchadourian wrote:
>> Check that, *cron* is using another version of python at
>> /usr/bin/python: Python 2.3.5 (#1, Dec  7 2006, 14:50:51) [GCC 4.0.1
>> (Apple Computer, Inc. build 5363) (+4864187)] on darwin
>>
>> I am not sure where this one came from, it may have came with Mac OS
>> X.
>
>Ah ha.  You need at least Python 2.4 to run OfflineIMAP.  In fact,
>subprocess was introduced in 2.4.

Thanks! Adding the following line to the top of my crontab file fixed my
problem in case anyone else had similar issues:
PATH=/opt/local/bin:$PATH

Raffi



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