On Fri, Nov 18, 2016 at 12:54:52AM +0000, Stephen Finucane wrote: > This replaces the older 'parser' main function. > > Signed-off-by: Stephen Finucane <step...@that.guru> > Cc: Paul Jakma <p...@jakma.org>
With this series on top of 2941d6f47fd242d53c52e966501fb09e2eb19473 I don't have success, but instead: Traceback (most recent call last): File "/home/trini/work/u-boot/patchwork/manage.py", line 11, in <module> execute_from_command_line(sys.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line utility.execute() File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv self.execute(*args, **options.__dict__) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 285, in execute output = self.handle(*args, **options) File "/home/trini/work/u-boot/patchwork/patchwork/management/commands/parsemail.py", line 69, in handle infile = args[0] if args else options['infile'] KeyError: 'infile' And if I don't pass PW_PYTHON=python2: ./post-receive.hook: line 38: PW_PYTHON: unbound variable I also need to set DJANGO_SETTINGS_MODULE=patchwork.settings.dev because the default of 'production' assumes a bunch of other stuff has been setup and configured. A related tangent, as an end user I'm finding top of tree way way harder to get going with than v1.1.1. From the point of view of a script / hook that will be used very disconnected from the patchwork server it seems like things are taking a step backwards in terms of ease of use. Thanks and happy to help test things more! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ Patchwork mailing list Patchwork@lists.ozlabs.org https://lists.ozlabs.org/listinfo/patchwork