How do we run web.profiler with beaker?
if __name__ == '__main__':
if conf.profile:
app.run(web.http.profiler,beak_session_mw)
else:
app.run(beak_session_mw)
Traceback (most recent call last):
File "/home/mark/work/common/web/wsgiserver/__init__.py", line 1174,
in communicate
req.respond()
File "/home/mark/work/common/web/wsgiserver/__init__.py", line 544, in respond
self._respond()
File "/home/mark/work/common/web/wsgiserver/__init__.py", line 556, in _respond
response = self.wsgi_app(self.environ, self.start_response)
File "/home/mark/work/common/web/httpserver.py", line 201, in __call__
return self.app(environ, xstart_response)
File "/home/mark/work/common/beaker/middleware.py", line 159, in __call__
return self.wrap_app(environ, session_start_response)
File "/home/mark/work/common/web/http.py", line 158, in profile_internal
return out + ['<pre>' + net.websafe(result) + '</pre>']
TypeError: unsupported operand type(s) for +: 'itertools.chain' and 'list'
--
BidEgg - Worlds best low price Auction site
http://bidegg.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---