[Letsencrypt-devel] Bug#807825: ImportError: cannot import name range

2015-12-16 Thread Federico 'Derfel' Stella
* Tuesday 15 December 2015, alle 18:10, Harlan Lieberman-Berg scrive:

> Aha!  I think that log may have broken the case wide open!

:)

> It looks like you have a version of python-requests installed from pip
> that ships its own version of the six module, and is shadowing the
> Debian version of requests.
> (/usr/local/lib/python2.7/dist-packages/requests)

Yes! I didn't saw it at first! Now it's correctly running and I'm sorry
for this not-Debian bug.

You can close it.

Cheers

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


[Letsencrypt-devel] Bug#807825: ImportError: cannot import name range

2015-12-15 Thread Harlan Lieberman-Berg
Two more logs, if you would.

Can you generate a log of `python -v /usr/bin/letsencrypt`, and also
`dpkg -l | grep python`?

Thanks!

-- 
Harlan Lieberman-Berg
~hlieberman

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


[Letsencrypt-devel] Bug#807825: ImportError: cannot import name range

2015-12-14 Thread Derfel
* Sunday 13 December 2015, alle 17:09, Harlan Lieberman-Berg scrive:

> On Sun, 13 Dec 2015 15:10:47 +0100 derfel  wrote:
> > ImportError: cannot import name range

[...]

> Can you let me know what the output of this is, run as the same user
> that you executed letsencrypt with?  (Should be root.):

> python -c "import six; print six.__version__"

Root or not root the result is the same

# python -c "import six; print six.__version__"
1.10.0

$ python -c "import six; print six.__version__"
1.10.0

I can run any test you like to help resolve this issue.

Best regards

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


[Letsencrypt-devel] Bug#807825: ImportError: cannot import name range

2015-12-13 Thread derfel
Package: python-acme
Version: 0.1.0-3
Severity: normal

Cannot run letsencrypt because import error

# letsencrypt
Traceback (most recent call last):
  File "/usr/bin/letsencrypt", line 9, in 
load_entry_point('letsencrypt==0.1.0', 'console_scripts', 'letsencrypt')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 565,
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 2721,
in load_entry_point
return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2377,
in load
return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2383,
in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/letsencrypt/cli.py", line 26, in

from letsencrypt import account
  File "/usr/lib/python2.7/dist-packages/letsencrypt/account.py", line 15, in

from acme import messages
  File "/usr/lib/python2.7/dist-packages/acme/messages.py", line 4, in 
from acme import challenges
  File "/usr/lib/python2.7/dist-packages/acme/challenges.py", line 13, in

from acme import crypto_util
  File "/usr/lib/python2.7/dist-packages/acme/crypto_util.py", line 7, in

from six.moves import range  # pylint: disable=import-error,redefined-
builtin
ImportError: cannot import name range



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to it_IT.UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages python-acme depends on:
ii  ca-certificates 20150426
ii  python-cryptography 1.1.1-1
ii  python-mock 1.3.0-2.1
ii  python-ndg-httpsclient  0.4.0-3
ii  python-openssl  0.15.1-2
ii  python-pkg-resources18.7-1
ii  python-pyasn1   0.1.9-1
ii  python-requests 2.8.1-1
ii  python-rfc3339  1.0-4
ii  python-six  1.10.0-1
ii  python-tz   2012c+dfsg-0.1
ii  python-werkzeug 0.10.4+dfsg1-1
pn  python:any  

python-acme recommends no packages.

python-acme suggests no packages.

-- no debconf information

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