Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#44165 - [python2-pygit2] Cannot import pygit2 in python2
Attached to Project:
Community Packages
Opened by Maurizio D'Addona (mauritiusdadd) - Thursday, 12 March 2015, 18:37 GMT
Last edited by Lukas Fleischer (lfleischer) - Thursday, 26 March 2015, 14:51 GMT
Opened by Maurizio D'Addona (mauritiusdadd) - Thursday, 12 March 2015, 18:37 GMT
Last edited by Lukas Fleischer (lfleischer) - Thursday, 26 March 2015, 14:51 GMT
|
DetailsDescription:
Importing pygit2 in python2 causes the following traceback: Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/pygit2/__init__.py", line 35, in <module> from .blame import Blame, BlameHunk File "/usr/lib/python2.7/site-packages/pygit2/blame.py", line 32, in <module> from .errors import check_error File "/usr/lib/python2.7/site-packages/pygit2/errors.py", line 29, in <module> from .ffi import ffi, C File "/usr/lib/python2.7/site-packages/pygit2/ffi.py", line 35, in <module> ffi, C = get_ffi() File "/usr/lib/python2.7/site-packages/pygit2/_utils.py", line 101, in get_ffi include_dirs=[libgit2_include], library_dirs=[libgit2_lib]) File "/usr/lib/python2.7/site-packages/cffi/api.py", line 367, in verify lib = self.verifier.load_library() File "/usr/lib/python2.7/site-packages/cffi/verifier.py", line 95, in load_library self._write_source() File "/usr/lib/python2.7/site-packages/cffi/verifier.py", line 183, in _write_source with open(self.sourcefilename, "w") as fp: IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/site-packages/pygit2/__pycache__/pygit2_cffi_a2d0f8b5x5470904.c' Additional info: pygit2 works well when compiled using ABS. See also this thread https://bbs.archlinux.org/viewtopic.php?pid=1510377#p1510377 Steps to reproduce: 1) pacman -S python2-pygit2 2) python2 -c 'import pygit2' |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Thursday, 26 March 2015, 14:51 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.22.0-2.
Thursday, 26 March 2015, 14:51 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.22.0-2.