[Cubicweb] 'RequestContext' object has no attribute 'path'

Dhaval Sharma dhavalsharma at gmail.com
Sun Aug 2 22:29:06 CEST 2009


The below comes in startup of an application, why?

2009/08/02 15:50 EDT [-] 2009-08-02 15:50:08 - (cubicweb) DEBUG: cleaning
http sessions
2009/08/02 15:51 EDT [-] 2009-08-02 15:51:08 - (cubicweb) DEBUG: cleaning
http sessions
2009/08/02 15:51 EDT [-] Exception rendering:
2009/08/02 15:51 EDT [-] Traceback (most recent call last):
          File "/usr/lib/python2.4/threading.py", line 422, in run
            self.__target(*self.__args, **self.__kwargs)
          File
"/usr/lib/python2.4/site-packages/twisted/python/threadpool.py", line 149,
in _worker
            context.call(ctx, function, *args, **kwargs)
          File "/usr/lib/python2.4/site-packages/twisted/python/context.py",
line 59, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args,
**kw)
          File "/usr/lib/python2.4/site-packages/twisted/python/context.py",
line 37, in callWithContext
            return func(*args,**kw)
        --- <exception caught here> ---
          File
"/usr/lib/python2.4/site-packages/twisted/internet/threads.py", line 25, in
_putResultInDeferred
            result = f(*args, **kwargs)
          File
"/opt/python_work_cubic_um/cubicweb/cubicweb/cubicweb/etwist/server.py",
line 171, in render_request
            origpath = request.path
        exceptions.AttributeError: 'RequestContext' object has no attribute
'path'

2009/08/02 15:52 EDT [-] Exception rendering:


-- 
With Warm Regards,
Dhaval
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20090803/a6a2e44c/attachment-0186.html>


More information about the Cubicweb mailing list