[Cubicweb] AttributeError: Request instance has no attribute 'received_headers'

Philippe Pepiot philippe.pepiot at logilab.fr
Wed Jul 12 14:40:18 CEST 2017


On 07/12/2017 05:14 AM, Scheme Lab wrote:
> Hello, I installed cubicweb and cubicweb-blog via pip and attempted to
> visit port 8080 and got the following traceback:
> 
> Traceback (most recent call last):
>   File "/home/schemelab/install/miniconda/lib/python2.7/site-packages/cubicweb/etwist/server.py", line 125, in render_request
>     return self._render_request(request)
>   File "/home/schemelab/install/miniconda/lib/python2.7/site-packages/cubicweb/etwist/server.py", line 138, in _render_request
>     req = CubicWebTwistedRequestAdapter(request, self.appli.vreg)
>   File "/home/schemelab/install/miniconda/lib/python2.7/site-packages/cubicweb/etwist/request.py", line 32, in __init__
>     vreg, req.args, headers=req.received_headers)
> AttributeError: Request instance has no attribute 'received_headers'

Hello, it's because an incompatibility with Twisted version 16 and
higher. pip install 'Twisted<16' should fix your issue.

Cheers,



More information about the Cubicweb mailing list