parsemail.sh hanging with large mails

David Demelier markand at malikania.fr
Thu Sep 21 23:32:01 AEST 2017


On Thu, 2017-09-21 at 14:05 +0100, Stephen Finucane wrote:
> The easiest thing to do here is probably read the main directly with
> the
> 'manage.py parsemail --debug <file>' command. There's not a whole of
> info
> output by this so you will probably need to add your own additional
> logging
> (printf debugging ftw) or start that with PDB.
> 

Hmm, do I miss something? it looks like --debug is not a valid option
both before and after parsemail command:

# ./manage.py --debug parsemail
1505922744.M947824P28474Q0Rfbc0bb3c1be6df02.patchwork
Unknown command: '--debug'
Type 'manage.py help' for usage.
# ./manage.py parsemail --debug
/tmp/m/new/1505922744.M947824P28474Q0Rfbc0bb3c1be6df02.patchwork
usage: manage.py parsemail [-h] [--version] [-v {0,1,2,3}]
                           [--settings SETTINGS] [--pythonpath
PYTHONPATH]
                           [--traceback] [--no-color] [--list-id
LIST_ID]
                           [infile]
manage.py parsemail: error: unrecognized arguments: --debug

-- 
David Demelier


More information about the Patchwork mailing list