Hello,

If I look the calendarserver log

calendarserver[18669]:   File 
"/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in <modu
:     from OpenSSL._util import (
   File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 6, in <modu
  calendarserver[18669]:     from cryptography.hazmat.bindings.openssl.binding 
import Binding

 calendarserver[18669]:   File 
"/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openss
 calendarserver[18669]:     error=-1)
 calendarserver[18669]:   File 
"/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openss  
calendarserver[18669]:     ffi.def_extern(name=name, **kwargs)(func)
 calendarserver[18669]: AttributeError: 'CompiledFFI' object has no attribute 
'def_extern'
 systemd[1]: Started LSB: Calendar and Contacts Server.


and try this line you get this error


 sudo pip install openssl
[sudo] password for mparchet: 
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    from pip import main
  File "/home/mparchet/.local/lib/python2.7/site-packages/pip/__init__.py", 
line 16, in <module>
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File 
"/home/mparchet/.local/lib/python2.7/site-packages/pip/vcs/mercurial.py", line 
9, in <module>
    from pip.download import path_to_url
  File "/home/mparchet/.local/lib/python2.7/site-packages/pip/download.py", 
line 39, in <module>
    from pip._vendor import requests, six
  File 
"/home/mparchet/.local/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py",
 line 53, in <module>
    from .packages.urllib3.contrib import pyopenssl
  File 
"/home/mparchet/.local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py",
 line 54, in <module>
    import OpenSSL.SSL
  File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in 
<module>
    from OpenSSL import rand, crypto, SSL
  File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in <module>
    from OpenSSL._util import (
  File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 6, in <module>
    from cryptography.hazmat.bindings.openssl.binding import Binding
  File 
"/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py",
 line 68, in <module>
    error=-1)
  File 
"/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py",
 line 57, in wrapper
    ffi.def_extern(name=name, **kwargs)(func)
AttributeError: 'CompiledFFI' object has no attribute 'def_extern'

I have send a bug ticket heare ?


https://github.com/pyca/cryptography/issues/2909

Note It seems that the same problem is present on python with Homebrew
on mac os x

Could you help me please to fix this issue ?

Best regards

Battant

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1361130

Title:
  calendarserver fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calendarserver/+bug/1361130/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to