Hi,

Can someone please explain what this TypeError message means?

Best Regards,

Etienne

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


Le 2017-10-13 à 07:22, Etienne Robillard a écrit :
Hi Yury,

I upgraded pypy to 5.9.0 and cython to 0.27.1.

Compilation of libschevo fails under PyPy:

erob@marina:~/src/django-hotsauce-pypy/extras/libschevo$ sudo pypy setup.py develop --prefix=/usr/local/pypy
running develop
running egg_info
writing lib/libschevo.egg-info/PKG-INFO
writing dependency_links to lib/libschevo.egg-info/dependency_links.txt
writing entry points to lib/libschevo.egg-info/entry_points.txt
writing requirements to lib/libschevo.egg-info/requires.txt
writing top-level names to lib/libschevo.egg-info/top_level.txt
reading manifest file 'lib/libschevo.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README' anywhere in distribution
warning: no files found matching '*' under directory 'schevo/templates'
writing manifest file 'lib/libschevo.egg-info/SOURCES.txt'
running build_ext
building 'schevo.store._s_persistent' extension
cc -pthread -DNDEBUG -O2 -fPIC -I/usr/local/pypy/pypy2-v5.9.0-linux32/include -c lib/schevo/store/_s_persistent.c -o build/temp.linux-i686-2.7/lib/schevo/store/_s_persistent.o lib/schevo/store/_s_persistent.c:8:27: fatal error: weakrefobject.h: No such file or directory
 #include "weakrefobject.h"
                           ^
compilation terminated.
error: command 'cc' failed with exit status 1

Will need to investigate further why weakrefobject.h is missing from PyPy or find a workaround.

Best Regards,

Etienne



On 13/10/17 01:16 AM, Yury V. Zaytsev wrote:

You are using very outdated versions of both PyPy (latest = 5.9.0) and Cython (latest = 0.27.1), could you please try again with the latest versions? There have been a lot of compatibility work going on both sides, and it is not unlikely that the issue has been fixed in the meantime.


_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

--
Etienne Robillard
tkad...@yandex.com
http://www.isotopesoftware.ca/

_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to