Your message dated Wed, 12 Apr 2017 22:29:33 -0400
with message-id <87d1chf3aq....@setec.io>
and subject line Re: [Letsencrypt-devel] Bug#858802: AttributeError: 'module' 
object has no attribute 'DependencyError'
has caused the Debian Bug report #858802,
regarding AttributeError: 'module' object has no attribute 
'_init_cffi_1_0_external_module'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
858802: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858802
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: certbot
Version: 0.10.2-1
Severity: important

Trying to run certbot on a fresh install on my Stretch box leads me to the
following stackdump:

tomman@himawari:~$ certbot
Traceback (most recent call last):
  File "/usr/bin/certbot", line 11, in <module>
    load_entry_point('certbot==0.10.2', 'console_scripts', 'certbot')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 561,
in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2631,
in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2291,
in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2297,
in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 13, in <module>
    from acme import jose
  File "/usr/lib/python2.7/dist-packages/acme/jose/__init__.py", line 37, in
<module>
    from acme.jose.interfaces import JSONDeSerializable
  File "/usr/lib/python2.7/dist-packages/acme/jose/interfaces.py", line 9, in
<module>
    from acme.jose import util
  File "/usr/lib/python2.7/dist-packages/acme/jose/util.py", line 5, in
<module>
    import OpenSSL
  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 12, 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 14, in <module>
    from cryptography.hazmat.bindings._openssl import ffi, lib
AttributeError: 'module' object has no attribute
'_init_cffi_1_0_external_module'


I've tried manually installing python3-cffi and python-cffi, without luck.
Therefore the package is useless for me. I really have no clue on what to try
next.



-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_VE.UTF-8, LC_CTYPE=es_VE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages certbot depends on:
ii  init-system-helpers  1.47
ii  python-certbot       0.10.2-1
pn  python:any           <none>

certbot recommends no packages.

Versions of packages certbot suggests:
pn  python-certbot-apache  <none>
pn  python-certbot-doc     <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Patrick Lam <prof....@gmail.com> writes:
> I did, yes. I can erase the certbot libs as needed, unless you want to
> diagnose the bug some more. Thanks!

Yeah -- I think what's happening is that you're running the certbot from
/usr/bin which is newer, and an old version of python-acme from
/usr/local somewhere.

I'd recommend deleting the versions of the certbot libs in /usr/local
and simply using the ones installed under normal system paths.  Invoking
certbot by `python -v` will show you the paths that it's using to load
the modules so you can easily find the ones that are giving you the
trouble.

Let me know if you run into problems after that; happy to debug.

Sincerely,
-- 
Harlan Lieberman-Berg
~hlieberman

--- End Message ---
_______________________________________________
Letsencrypt-devel mailing list
Letsencrypt-devel@lists.alioth.debian.org
https://lists.alioth.debian.org/mailman/listinfo/letsencrypt-devel

Reply via email to