Bug 1040741 - IOError on `import curses`
Summary: IOError on `import curses`
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pypy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matej Stuchlik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 03:20 UTC by T.C. Hollingsworth
Modified: 2016-02-01 02:15 UTC (History)
3 users (show)

Fixed In Version: pypy-2.2.1-2.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-26 11:55:33 UTC
Type: Bug


Attachments (Terms of Use)

Description T.C. Hollingsworth 2013-12-12 03:20:27 UTC
% rpm -q pypy
pypy-2.2.0-1.fc20.x86_64
% pypy
Python 2.7.3 (6c8420e89b80b4c90720115e31c2793ba7fff08d, Nov 19 2013, 13:04:31)
[PyPy 2.2.0 with GCC 4.8.2 20131017 (Red Hat 4.8.2-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>> import curses
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/pypy-2.2.0/lib-python/2.7/curses/__init__.py", line 15, in <module>
    from _curses import *
  File "/usr/lib64/pypy-2.2.0/lib_pypy/_curses.py", line 322, in <module>
    """, libraries=['ncurses', 'panel'])
  File "/usr/lib64/pypy-2.2.0/lib_pypy/cffi/api.py", line 339, in verify
    lib = self.verifier.load_library()
  File "/usr/lib64/pypy-2.2.0/lib_pypy/cffi/verifier.py", line 73, in load_library
    self._write_source()
  File "/usr/lib64/pypy-2.2.0/lib_pypy/cffi/verifier.py", line 125, in _write_source
    file = open(self.sourcefilename, 'w')
IOError: [Errno 2] No such file or directory: '/usr/lib64/pypy-2.2.0/lib_pypy/__pycache__/_cffi__g45f34413x310af836.c'

Comment 1 Fedora Update System 2014-01-20 10:40:38 UTC
pypy-2.2.1-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/pypy-2.2.1-2.fc20

Comment 2 Matej Stuchlik 2014-01-20 10:46:39 UTC
This should be fixed in the above build, thank you for reporting! :)

Comment 3 Fedora Update System 2014-01-21 05:56:24 UTC
Package pypy-2.2.1-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pypy-2.2.1-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-1221/pypy-2.2.1-2.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-01-26 11:55:33 UTC
pypy-2.2.1-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.