New submission from Julio Pintos <[email protected]>:
I updated to pypy 2.1 using ppa in lauchpad. After importing syslog it fails
while trying to compile some cddi file.
Python 2.7.3 (2.1.0+dfsg-1~ppa2, Sep 10 2013, 20:11:06)
[PyPy 2.1.0 with GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``running pypy-c translate.py is a
bit like watching a thriller movie, it could die at any time because of the
32-bit 4GB limit of RAM''
>>>> import syslog
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/pypy/lib_pypy/syslog.py", line 68, in <module>
lib = ffi.verify("""
File "/usr/lib/pypy/lib_pypy/cffi/api.py", line 311, in verify
lib = self.verifier.load_library()
File "/usr/lib/pypy/lib_pypy/cffi/verifier.py", line 68, in load_library
self.compile_module()
File "/usr/lib/pypy/lib_pypy/cffi/verifier.py", line 55, in compile_module
self._write_source()
File "/usr/lib/pypy/lib_pypy/cffi/verifier.py", line 117, in _write_source
file = open(self.sourcefilename, 'w')
IOError: [Errno 13] Permission denied:
'/usr/lib/pypy/lib_pypy/__pycache__/_cffi__g7019d5d3xad93c709.c'
>>>>
In 2.0.2
Python 2.7.3 (2.0.2+dfsg-1~ppa1, May 22 2013, 11:26:59)
[PyPy 2.0.2 with GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``A pink glittery rotating lambda''
>>>> import syslog
>>>>
As a workaround, I was able to create compiled files by importing syslog as
root. But I'm not sure if I'm missing something after upgrade or if these files
should be bundled.
Sorry if this is not the place to post this
----------
messages: 6155
nosy: julio.pintos, pypy-issue
priority: bug
release: 2.1
status: unread
title: syslog broken in 2.1
________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1602>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue