[Python-apps-team] Bug#849060: pyrit fails with _cpyrit_cpu.CPUDevice.__new__(CPUCore) is not safe

Sophie Brun sophie at freexian.com
Thu Dec 22 09:30:27 UTC 2016


Package: pyrit
Version: 0.4.0-7
Severity: grave
Justification: renders package unusable
User: devel at kali.org
Usertags: origin-kali

Dear Maintainer,

Running pyrit fails with error:

$ pyrit selftest
Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Traceback (most recent call last):
  File "/usr/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/lib/python2.7/dist-packages/pyrit_cli.py", line 115, in initFromArgv
    func(self, **options)
  File "/usr/lib/python2.7/dist-packages/pyrit_cli.py", line 1227, in selftest
    with cpyrit.cpyrit.CPyrit() as cp:
  File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 462, in __init__
    self.cores.append(CPUCore(queue=self))
TypeError: _cpyrit_cpu.CPUDevice.__new__(CPUCore) is not safe, use object.__new__()

This bug was first reported in Kali:
https://bugs.kali.org/view.php?id=3785

It may be due to the same problem as the bug #848780


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

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

Versions of packages pyrit depends on:
ii  libc6        2.24-8
ii  libpcap0.8   1.8.1-3
ii  libssl1.0.2  1.0.2j-4
ii  python       2.7.11-2
pn  python:any   <none>

Versions of packages pyrit recommends:
ii  python-scapy       2.3.3-1
ii  python-sqlalchemy  1.0.15+ds1-1

Versions of packages pyrit suggests:
ii  python-mysqldb   1.3.7-1+b1
ii  python-psycopg2  2.6.2-1

-- no debconf information



More information about the Python-apps-team mailing list