Hello,
Because python-cryptography dont't work, calendarserver don't work.
arserver[2089]: Traceback (most recent call last):
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 579, in
parseOptio
arserver[2089]: usage.Options.parseOptions(self, options)
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 262, in
parseOptions
arserver[2089]: for (cmd, short, parser, doc) in self.subCommands:
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 596, in
subCommand
arserver[2089]: for plug in sorted(plugins, key=attrgetter('tapname')):
arserver[2089]: File "/usr/lib/python2.7/dist-packages/twisted/plugin.py",
line 213, in getPlugins
arserver[2089]: allDropins = getCache(package)
arserver[2089]: --- <exception caught here> ---
arserver[2089]: File "/usr/lib/python2.7/dist-packages/twisted/plugin.py",
line 171, in getCache
arserver[2089]: provider = pluginModule.load()
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/python/modules.py", line 389, in load
arserver[2089]: return self.pathEntry.pythonPath.moduleLoader(self.name)
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 303, in
namedAny
arserver[2089]: topLevelPackage = _importAndCheckStack(trialname)
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 242, in
_importAndC
arserver[2089]: return __import__(importName)
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/plugins/twisted_core.py", line 5, in
<module
arserver[2089]: from twisted.internet.endpoints import (
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/internet/endpoints.py", line 48, in
<module>
arserver[2089]: from twisted.protocols.tls import TLSMemoryBIOFactory
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line 41, in
<module>
arserver[2089]: from OpenSSL.SSL import Error, ZeroReturnError,
WantReadError
arserver[2089]: File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py",
line 8, in <module>
arserver[2089]: from OpenSSL import rand, crypto, SSL
arserver[2089]: File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line
11, in <module>
sam. 2016-05-14 21:09:01 CEST. --
d[1]: Starting LSB: Calendar and Contacts Server...
arserver[2089]: Unhandled Error
arserver[2089]: Traceback (most recent call last):
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 579, in
parseOptio
arserver[2089]: usage.Options.parseOptions(self, options)
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 262, in
parseOptions
arserver[2089]: for (cmd, short, parser, doc) in self.subCommands:
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 596, in
subCommand
arserver[2089]: for plug in sorted(plugins, key=attrgetter('tapname')):
arserver[2089]: File "/usr/lib/python2.7/dist-packages/twisted/plugin.py",
line 213, in getPlugins
arserver[2089]: allDropins = getCache(package)
arserver[2089]: --- <exception caught here> ---
arserver[2089]: File "/usr/lib/python2.7/dist-packages/twisted/plugin.py",
line 171, in getCache
arserver[2089]: provider = pluginModule.load()
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/python/modules.py", line 389, in load
arserver[2089]: return self.pathEntry.pythonPath.moduleLoader(self.name)
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 303, in
namedAny
arserver[2089]: topLevelPackage = _importAndCheckStack(trialname)
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 242, in
_importAndC
arserver[2089]: return __import__(importName)
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/plugins/twisted_core.py", line 5, in
<module
arserver[2089]: from twisted.internet.endpoints import (
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/internet/endpoints.py", line 48, in
<module>
arserver[2089]: from twisted.protocols.tls import TLSMemoryBIOFactory
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line 41, in
<module>
arserver[2089]: from OpenSSL.SSL import Error, ZeroReturnError,
WantReadError
arserver[2089]: File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py",
line 8, in <module>
arserver[2089]: from OpenSSL import rand, crypto, SSL
arserver[2089]: File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line
11, in <module>
arserver[2089]: from OpenSSL._util import (
arserver[2089]: File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py",
line 6, in <module>
arserver[2089]: from cryptography.hazmat.bindings.openssl.binding import
Binding
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py",
li
arserver[2089]: error=-1)
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py",
li
arserver[2089]: ffi.def_extern(name=name, **kwargs)(func)
arserver[2089]: exceptions.AttributeError: 'CompiledFFI' object has no
attribute 'def_extern'
arserver[2089]: Traceback (most recent call last):
arserver[2089]: File "/usr/bin/twistd", line 18, in <module>
arserver[2089]: run()
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 29, in run
arserver[2089]: app.run(runApp, ServerOptions)
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 612, in run
arserver[2089]: config.parseOptions()
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 579, in
parseOptio
arserver[2089]: usage.Options.parseOptions(self, options)
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 262, in
parseOptions
arserver[2089]: for (cmd, short, parser, doc) in self.subCommands:
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 596, in
subCommand
arserver[2089]: for plug in sorted(plugins, key=attrgetter('tapname')):
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/plugins/caldav.py", line 29, in
getProperty
arserver[2089]: return getattr(reflect.namedClass(self.serviceMakerClass),
propname)
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 168, in
namedObject
arserver[2089]: module = namedModule('.'.join(classSplit[:-1]))
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 154, in
namedModule
arserver[2089]: topLevel = __import__(name)
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/calendarserver/tap/caldav.py", line 36, in
<module>
arserver[2089]: import OpenSSL
arserver[2089]: File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py",
line 8, in <module>
arserver[2089]: from OpenSSL import rand, crypto, SSL
arserver[2089]: File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line
11, in <module>
arserver[2089]: from OpenSSL._util import (
arserver[2089]: File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py",
line 6, in <module>
arserver[2089]: from cryptography.hazmat.bindings.openssl.binding import
Binding
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py",
li
arserver[2089]: error=-1)
arserver[2089]: File
"/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py",
li
arserver[2089]: ffi.def_extern(name=name, **kwargs)(func)
arserver[2089]: AttributeError: 'CompiledFFI' object has no attribute
'def_extern'
d[1]: Started LSB: Calendar and Contacts Server.
Could you help me to fix this bug ?
Tanks for your support.
Best regards
Battant
** Also affects: python-cryptography (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512792
Title:
Pip crashes with cryptography/cffi/openssl error
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calendarserver/+bug/1512792/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs