[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#693436: "ImportError: cannot import name poll" on hurd architecture

Package: python-twisted-core
Version: 12.0.0-1
Severity: important


When importing twisted.internet.reactor[0] on a machine running
hurd-i386, I get the following error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/twisted/internet/reactor.py", line 37, in <module>
    from twisted.internet import default
  File "/usr/lib/python2.7/dist-packages/twisted/internet/default.py", line 50, in <module>
    install = _getInstallFunction(platform)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/default.py", line 44, in _getInstallFunction
    from twisted.internet.pollreactor import install
  File "/usr/lib/python2.7/dist-packages/twisted/internet/pollreactor.py", line 16, in <module>
    from select import error as SelectError, poll
ImportError: cannot import name poll


Laurent Bigonville

[0] python -c 'import twisted.internet.reactor'
-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.6-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Reply to: