[Repoze-dev] [issue140] reversing the arg names of two-arg view callables causes a weird exception

2013-12-17 Thread Tres Seaver
Tres Seaver tsea...@agendaless.com added the comment: Please report / track Pyramid issues on Github: https://github.com/Pylons/pyramid/issues -- status: in-progress - deferred __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue140

[Repoze-dev] [issue140] reversing the arg names of two-arg view callables causes a weird exception

2010-03-09 Thread Tres Seaver
Tres Seaver tsea...@agendaless.com added the comment: Your view function should us either the context, request calling convention:: def my_view(context, request): return {'project':'foo'} or the request only calling convention: def my_view(request): return {'project':'foo'}

[Repoze-dev] [issue140] reversing the arg names of two-arg view callables causes a weird exception

2010-03-09 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Sorry, I chatted with rweir about this; the bugreport was about the opacity of the traceback when the args are reversed; he knows that he reversed the args. -- status: resolved - in-progress __ Repoze

[Repoze-dev] [issue140] reversing the arg names of two-arg view callables causes a weird exception

2010-03-08 Thread Rob Weir
New submission from Rob Weir rw...@ertius.org: e.g. configure this function definition, via ZCML, as a view def my_view(request, context): return {'project':'foo'} causes this exception: Traceback (most recent call last): File /home/rob/scratch/bfgenv/bin/paster, line 8, in module