On Mon, Nov 24, 2008 at 10:39 PM, Anand Chitipothu <[EMAIL PROTECTED]>wrote:

>
> >> http://0.0.0.0:8080/
> >> Traceback (most recent call last):
> [...]
> >>   File "/home/mark/work/bt/user.py", line 192, in proxyfunc
> >>     web.ctx.environ['session'] = web.ctx.environ['beaker.session']
> >> KeyError: 'beaker.session'
>
> Looks like the error is in bt/user.py.
> Is it adding 'beaker.session' to web.ctx.environ before calling proxyfunc?
>

i upgraded to the latest webpy, and i get a different error now, it looks
like something is wrong in the helper class to convert middleware to
application processor..

 http://0.0.0.0:80/
Traceback (most recent call last):
  File "/home/mark/work/common/web/application.py", line 195, in process
    return p(lambda: process(processors))
  File "/home/mark/work/bt/code.py", line 90, in __call__
    return self.wsgi(environ, start_response)
  File "/home/mark/work/common/beaker/middleware.py", line 147, in __call__
    return self.wrap_app(environ, session_start_response)
  File "/home/mark/work/bt/code.py", line 98, in fake_wsgi_app
    start_response(web.ctx.status, web.ctx.headers)
  File "/home/mark/work/common/beaker/middleware.py", line 146, in
session_start_response
    return start_response(status, headers, exc_info)
TypeError: start_response() takes exactly 2 arguments (3 given)

127.0.0.1:35012 - - [25/Nov/2008 20:21:12] "HTTP/1.1 GET /" - 500 Internal
Server Error

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to