[Reportbug-maint] Bug#851502: reportbug: ImportError: cannot import name 'utils'

Christoph Egger christoph at debian.org
Sun Jan 15 17:25:53 UTC 2017


Severity: important
Package: reportbug
Version: 7.1.2

Hi!

reportbug fails with the following error message:

| Traceback (most recent call last):
|   File "/usr/bin/reportbug", line 43, in <module>
|     from reportbug import utils
|   File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 73, in <module>
|     from . import debbugs
|   File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 24, in <module>
|     from . import utils
| ImportError: cannot import name 'utils'

Hopefully complete relevant information (as collecting with reportbug
failes of course):

reportbug:
  Installed: 7.1.2
  Candidate: 7.1.2
  Version table:
 *** 7.1.2 0
        500 http://ftp.fau.de/debian/ unstable/main kfreebsd-amd64 Packages
        100 /var/lib/dpkg/status
     6.6.3 0
        990 http://ftp.fau.de/debian/ jessie-kfreebsd/main kfreebsd-amd64 Packages

% dpkg -l python3 apt python3-reportbug python3-debian python3-debianbts file python3-requests
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                  Version         Architecture    Description
+++-=====================-===============-===============-================================================
ii  apt                   1.0.9.8.4       kfreebsd-amd64  commandline package manager
ii  file                  1:5.22+15-2     kfreebsd-amd64  Determines file type using "magic" numbers
ii  python3               3.4.2-2         kfreebsd-amd64  interactive high-level object-oriented language 
ii  python3-debian        0.1.27          all             Python 3 modules to work with Debian-related dat
ii  python3-debianbts     2.6.1           all             Python interface to Debian's Bug Tracking System
ii  python3-reportbug     7.1.2           all             Python modules for interacting with bug tracking
ii  python3-requests      2.4.3-6         all             elegant and simple HTTP library for Python3, bui


-- Package-specific info:
** /home/christoph/.reportbugrc:
reportbug_version "6.3"
mode expert
ui text
-- 



More information about the Reportbug-maint mailing list