[Python-modules-team] Bug#882839: Fails with: 'TypeError: 'type' object is not iterable'

Kartik Mistry kartik at debian.org
Mon Nov 27 08:00:23 UTC 2017

Package: git-review
Version: 1.25.0-3
Severity: serious

git-review fails with following error.


$git review -d 393074

Traceback (most recent call last):
  File "/usr/bin/git-review", line 6, in <module>
  from git_review.cmd import main
  File "/usr/lib/python2.7/dist-packages/git_review/cmd.py", line 32, in <module>
  import requests
  File "/usr/lib/python2.7/dist-packages/requests/__init__.py", line 84, in <module>
  from urllib3.contrib import pyopenssl
  File "/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py", line 47, in <module>
  from cryptography import x509
  File "/usr/lib/python2.7/dist-packages/cryptography/x509/__init__.py", line 8, in <module>
  from cryptography.x509.base import (
  File "/usr/lib/python2.7/dist-packages/cryptography/x509/base.py", line 16, in <module>
  from cryptography.x509.extensions import Extension, ExtensionType
  File "/usr/lib/python2.7/dist-packages/cryptography/x509/extensions.py", line 24, in <module>
  from cryptography.x509.general_name import GeneralName, IPAddress, OtherName
  File "/usr/lib/python2.7/dist-packages/cryptography/x509/general_name.py", line 18, in <module>
  from cryptography.x509.name import Name
  File "/usr/lib/python2.7/dist-packages/cryptography/x509/name.py", line 28, in <module>
  _ASN1_TYPE_TO_ENUM = dict((i.value, i) for i in _ASN1Type)
  TypeError: 'type' object is not iterable

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages git-review depends on:
ii  git                                    1:2.15.0-1
ii  libpython2.7-stdlib [python-argparse]  2.7.14-2
ii  python                                 2.7.14-1
ii  python-requests                        2.18.1-1

git-review recommends no packages.

git-review suggests no packages.

-- no debconf information

Kartik Mistry | IRC: kart_
{0x1f1f, kartikm}.wordpress.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20171127/18856998/attachment-0001.sig>

More information about the Python-modules-team mailing list