Configuration

Anthony Newnam anthony at bnovc.com
Fri Jan 16 02:33:36 EST 2009


You're right, I figured that out a few minutes ago.

It now dies inside parsemail.py on all of the: if "x" not in mail:
lines. Regardless of what I put there it fails. I don't know python,
so I'm having trouble debugging this. I did print mail and it looks
fine to me, I see all of the things it says it can not find.

On Thu, Jan 15, 2009 at 9:30 AM, Nate Case <ncase at xes-inc.com> wrote:
> 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