Configuration

Nate Case ncase at xes-inc.com
Fri Jan 16 02:30:48 EST 2009


On Thu, 2009-01-15 at 08:19 -0600, Anthony Newnam wrote:
> $ cat /var/mail/newnam| ./parsemail.py
> Traceback (most recent call last):
>   File "./parsemail.py", line 36, in <module>
>     from patchwork.parser import parse_patch
> ImportError: No module named patchwork.parser
> 
> Is my test even going to work? It seems like my emails have to have a
> header from
> 39 list_id_headers = ['List-ID', 'X-Mailing-List']

It looks like you aren't using the parsemail.sh wrapper for the
parsemail.py Python script.  The shell wrapper sets some necessary
environment variables required by parsemail.py to work.  Try using
parsemail.sh instead.

-- 
Nate Case <ncase at xes-inc.com>




More information about the Patchwork mailing list