[Python-modules-team] Bug#888588: python3-debiancontributors: postgres scanner is broken

Julien Cristau jcristau at debian.org
Sat Jan 27 14:06:48 UTC 2018


Package: python3-debiancontributors
Version: 0.7.6-1
Severity: important
x-debbugs-cc: clint at debian.org

Hi Enrico,

the debian-contributors submission from ftp-master.d.o has been broken
since the host was upgraded to stretch.

First issue: the dc-tool script moved around from the
python-debiancontributors to the python3-debiancontributors package,
which isn't nice.

Second issue: the postgres scanner is broken, and dc-tool dies with the
following backtrace.

Jan 27 09:20:34 fasolo daily[59515]: Submitting data to contributors
Traceback (most recent call last):
  File "/usr/bin/dc-tool", line 90, in <module>
    miner.scan()
  File "/usr/lib/python3/dist-packages/debiancontributors/datamine.py", line 142, in scan
    for ident, begin, until, url in s["scanner"].scan():
  File "/usr/lib/python3/dist-packages/debiancontributors/scanners/postgres.py", line 124, in scan
    for id, (begin, end) in contribs.iteritems():
AttributeError: 'Aggregate' object has no attribute 'iteritems'

Cheers,
Julien



More information about the Python-modules-team mailing list