[pypy-dev] AttributeError: 'built in-code' object has no attribute 'co_code'

Etienne Robillard tkadm30 at yandex.com
Fri Oct 13 14:04:36 EDT 2017

Hi Jason,

Thanks for writing. I fixed all the issues and everything seem to work 
so far. I'm going to add PyPy to the list of supported platforms for 
Django-hotsauce. :)



Le 2017-10-13 à 12:39, Jason Madden a écrit :
> Hi,
> I don't know anything near like enough about your code or environment to be able to make any productive suggestions. I left a comment on the issue with some ideas on where to look based on something I've seen in the distant past but that's about all I can do. (Oh, one other thing I would try if at all possible: Take Cython out of the mix and see what happens when you just run the code as pure Python.)
> Jason
>> On Oct 13, 2017, at 11:34, Etienne Robillard <tkadm30 at yandex.com> wrote:
>> Hi Jason,
>> How would you tackle this issue?
>> I  may not have defined any __slots__ in my code.
>> Thank  you in advance,
>> Etienne
>> Le 2017-10-13 à 11:18, Etienne Robillard a écrit :
>>> I opened a ticket for this issue: https://bitbucket.org/pypy/pypy/issues/2681/typeerror-__weakref__-slot-disallowed-we
>>> Etienne
>>> Le 2017-10-13 à 08:13, Etienne Robillard a écrit :
>>>> Traceback (most recent call last):
>>>>    File "/usr/local/pypy/pypy2-v5.9.0-linux32/lib-python/2.7/wsgiref/handlers.py", line 85, in run
>>>>      self.result = application(self.environ, self.start_response)
>>>>    File "/usr/local/pypy/pypy2-v5.9.0-linux32/lib-python/2.7/wsgiref/validate.py", line 176, in lint_app
>>>>      iterator = application(environ, start_response_wrapper)
>>>>    File "/home/erob/src/django-hotsauce-oauthclient/lib/wsgi_oauth2/middleware.py", line 292, in __call__
>>>>      return self.application(environ, start_response)
>>>>    File "lib/notmm/controllers/wsgi.pyx", line 136, in notmm.controllers.wsgi.BaseController.__call__
>>>> TypeError: __weakref__ slot disallowed: we already got one
>> -- 
>> Etienne Robillard
>> tkadm30 at yandex.com
>> http://www.isotopesoftware.ca/

Etienne Robillard
tkadm30 at yandex.com

More information about the pypy-dev mailing list