Module paste.evalexception.middleware:308 in respond
<<              app_iter = self.application(environ,
detect_start_response)
                try:
                    return_iter = list(app_iter)
                    return return_iter
                finally:>>  return_iter = list(app_iter)
Module cherrypy._cpwsgi:75 in wsgiApp
<<          response = request.run(requestLine(environ),
                                   translate_headers(environ),
                                   environ['wsgi.input'])
            s, h, b = response.status, response.header_list,
response.body
            exc = None>>  environ['wsgi.input'])
Module cherrypy._cphttptools:72 in run
<<              cherrypy.profiler.run(self._run)
            else:
                self._run()

            if self.method == "HEAD":>>  self._run()
Module cherrypy._cphttptools:105 in _run
<<                              applyFilters('before_main')
                                if self.execute_main:
                                    self.main()
                                break
                            except cherrypy.InternalRedirect, ir:>>
self.main()
Module cherrypy._cphttptools:254 in main
<<          self.object_path = '/' + '/'.join(object_path[1:])
            try:
                body = page_handler(*virtual_path, **self.params)
            except Exception, x:
                if hasattr(x, "args"):>>  body =
page_handler(*virtual_path, **self.params)
Module ?:3 in index
Module turbogears.controllers:334 in expose
<<                  else:
                        cherrypy.request.in_transaction = True
                        output = database.run_with_transaction(
                                func._expose, func, accept,
func._allow_json,
                                *args, **kw)>>  output =
database.run_with_transaction(
Module dispatch.functions:5 in run_with_transaction
Module turbogears.database:302 in so_rwt
<<      try:
            try:
                retval = func(*args, **kw)
                commit_all()
                return retval>>  retval = func(*args, **kw)
Module dispatch.functions:5 in _expose
Module turbogears.controllers:351 in <lambda>
<<                      *args, **kw:
                        _execute_func(_func, template, format,
content_type,
                                    mapping, fragment, args, kw)))

            if allow_json:>>  mapping, fragment, args, kw)))
Module turbogears.controllers:378 in _execute_func
<<          # this means big memory usage, and we don't want that in
production
            log.debug("Calling %s with *(%s), **(%s)", func, args, kw)
        output = errorhandling.try_call(func, *args, **kw)
        if isinstance(output, list):
            return output>>  output = errorhandling.try_call(func,
*args, **kw)
Module turbogears.errorhandling:73 in try_call
<<      from turbogears.database import _use_sa
        try:
            return func(self, *args, **kw)
        except Exception, e:
            if isinstance(e, cherrypy.HTTPRedirect) or>>  return
func(self, *args, **kw)
Module wiki20.controllers:16 in index
<<              page = Page.byPagename(pagename)
            except SQLObjectNotFound:
                raise redirect("notfound", pagename = pagename)
            content = publish_parts(page.data,
                                    writer_name="html")['html_body']>>
raise redirect("notfound", pagename = pagename)
NameError: ("global name 'redirect' is not defined", <bound method
Root.index of <wiki20.controllers.Root object at 0xb7295e4c>>)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to