[Bug 1311051] [NEW] python-cffi broken
Elan Ruusamäe
1311051 at bugs.launchpad.net
Tue Apr 22 12:54:12 CEST 2014
Public bug reported:
seems python-cffi is very broken, __pycache__ is imho python3 specific
way of storing .pyc/.pyo
version: python-cffi-0.8.2-1.x86_64
$ winswitch_applet
** (process:19871): WARNING **: Trying to register gtype
'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (process:19871): WARNING **: Trying to register gtype
'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
** (process:19871): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
[II] 2014/22/04 13:52:10.954517 applet.<module>() python version 2.7.6 (default, Feb 21 2014, 20:00:27) \n[GCC 4.8.2 20140221 (release)]
[II] 2014/22/04 13:52:10.954636 applet.<module>() gtk version (2, 24, 22), pygtk version (2, 24, 0)
[DD] 2014/22/04 13:52:10.969388 main_loop.loop_init(True)
Traceback (most recent call last):
File "/usr/bin/winswitch_applet", line 5, in <module>
applet_wrapper.main()
File "/usr/share/python2.7/site-packages/winswitch/client/applet_wrapper.py", line 17, in main
File "/usr/share/python2.7/site-packages/winswitch/client/applet.py", line 32, in <module>
File "/usr/share/python2.7/site-packages/winswitch/util/main_loop.py", line 38, in loop_init
File "/usr/lib64/python2.7/site-packages/twisted/internet/gtk2reactor.py", line 23, in <module>
from twisted.internet import _glibbase
File "/usr/lib64/python2.7/site-packages/twisted/internet/_glibbase.py", line 20, in <module>
from twisted.internet import base, posixbase, selectreactor
File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 24, in <module>
from twisted.internet import error, udp, tcp
File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 29, in <module>
from twisted.internet._newtls import (
File "/usr/lib64/python2.7/site-packages/twisted/internet/_newtls.py", line 21, in <module>
from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
File "/usr/lib64/python2.7/site-packages/twisted/protocols/tls.py", line 40, in <module>
from OpenSSL.SSL import Error, ZeroReturnError, WantReadError
File "/usr/share/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
File "/usr/share/python2.7/site-packages/OpenSSL/rand.py", line 11, in <module>
File "/usr/share/python2.7/site-packages/OpenSSL/_util.py", line 4, in <module>
File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 83, in __init__
File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 99, in _ensure_ffi_initialized
File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/bindings/utils.py", line 72, in build_ffi
File "/usr/lib64/python2.7/site-packages/cffi/api.py", line 341, in verify
File "/usr/lib64/python2.7/site-packages/cffi/verifier.py", line 73, in load_library
File "/usr/lib64/python2.7/site-packages/cffi/verifier.py", line 125, in _write_source
IOError: [Errno 2] No such file or directory: '/usr/lib64/python2.7/site-packages/cryptography/hazmat/bindings/__pycache__/_cffi__x5eaa210axf0ae7e21.c'
** Affects: pld-linux
Importance: Undecided
Status: New
--
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/1311051
Title:
python-cffi broken
Status in PLD Linux Distribution:
New
Bug description:
seems python-cffi is very broken, __pycache__ is imho python3 specific
way of storing .pyc/.pyo
version: python-cffi-0.8.2-1.x86_64
$ winswitch_applet
** (process:19871): WARNING **: Trying to register gtype
'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (process:19871): WARNING **: Trying to register gtype
'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
** (process:19871): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
[II] 2014/22/04 13:52:10.954517 applet.<module>() python version 2.7.6 (default, Feb 21 2014, 20:00:27) \n[GCC 4.8.2 20140221 (release)]
[II] 2014/22/04 13:52:10.954636 applet.<module>() gtk version (2, 24, 22), pygtk version (2, 24, 0)
[DD] 2014/22/04 13:52:10.969388 main_loop.loop_init(True)
Traceback (most recent call last):
File "/usr/bin/winswitch_applet", line 5, in <module>
applet_wrapper.main()
File "/usr/share/python2.7/site-packages/winswitch/client/applet_wrapper.py", line 17, in main
File "/usr/share/python2.7/site-packages/winswitch/client/applet.py", line 32, in <module>
File "/usr/share/python2.7/site-packages/winswitch/util/main_loop.py", line 38, in loop_init
File "/usr/lib64/python2.7/site-packages/twisted/internet/gtk2reactor.py", line 23, in <module>
from twisted.internet import _glibbase
File "/usr/lib64/python2.7/site-packages/twisted/internet/_glibbase.py", line 20, in <module>
from twisted.internet import base, posixbase, selectreactor
File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 24, in <module>
from twisted.internet import error, udp, tcp
File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 29, in <module>
from twisted.internet._newtls import (
File "/usr/lib64/python2.7/site-packages/twisted/internet/_newtls.py", line 21, in <module>
from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
File "/usr/lib64/python2.7/site-packages/twisted/protocols/tls.py", line 40, in <module>
from OpenSSL.SSL import Error, ZeroReturnError, WantReadError
File "/usr/share/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
File "/usr/share/python2.7/site-packages/OpenSSL/rand.py", line 11, in <module>
File "/usr/share/python2.7/site-packages/OpenSSL/_util.py", line 4, in <module>
File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 83, in __init__
File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 99, in _ensure_ffi_initialized
File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/bindings/utils.py", line 72, in build_ffi
File "/usr/lib64/python2.7/site-packages/cffi/api.py", line 341, in verify
File "/usr/lib64/python2.7/site-packages/cffi/verifier.py", line 73, in load_library
File "/usr/lib64/python2.7/site-packages/cffi/verifier.py", line 125, in _write_source
IOError: [Errno 2] No such file or directory: '/usr/lib64/python2.7/site-packages/cryptography/hazmat/bindings/__pycache__/_cffi__x5eaa210axf0ae7e21.c'
To manage notifications about this bug go to:
https://bugs.launchpad.net/pld-linux/+bug/1311051/+subscriptions
More information about the pld-bugs
mailing list