Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557864 - repoman: in format_qa_output_column: TypeError: unhashable type: 'list'
Summary: repoman: in format_qa_output_column: TypeError: unhashable type: 'list'
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2015-08-15 17:35 UTC by Mike Gilbert
Modified: 2015-09-17 03:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2015-08-15 17:35:27 UTC
Testing the repoman branch on rev e02063d64d6c5a5d581b6056cdd9838e4657ca7c.

I tried running repoman full at the root of the gentoo repository, and got the following error after it crunched for 2.5 hours.

% repoman full --output-format column

Traceback (most recent call last):
  File "/home/floppym/bin/repoman", line 37, in <module>
    from repoman import main
  File "/home/floppym/src/portage/pym/repoman/main.py", line 880, in <module>
    format_output(f, qatracker.fails, dofull, dofail, options, qawarnings)
  File "/home/floppym/src/portage/pym/repoman/qa_data.py", line 412, in format_qa_output_column
    number = len(fails[category])
TypeError: unhashable type: 'list'
Comment 1 Mike Gilbert gentoo-dev 2015-08-15 17:57:59 UTC
Reduced test case:

% pwd
/home/floppym/repos/gentoo/app-accessibility/festival

% repoman full

RepoMan scours the neighborhood...
  repo.eapi.deprecated          1
   app-accessibility/festival/festival-2.1-r1.ebuild: 2
  upstream.workaround           1
   app-accessibility/festival/festival-2.1-r1.ebuild: Upstream parallel compilation bug (ebuild calls emake -j1 on line: 69)

Note: use --include-dev (-d) to check dependencies for 'dev' profiles


% repoman full --output-format column

RepoMan scours the neighborhood...
Traceback (most recent call last):
  File "/home/floppym/bin/repoman", line 37, in <module>
    from repoman import main
  File "/home/floppym/src/portage/pym/repoman/main.py", line 880, in <module>
    format_output(f, qatracker.fails, dofull, dofail, options, qawarnings)
  File "/home/floppym/src/portage/pym/repoman/qa_data.py", line 412, in format_qa_output_column
    number = len(fails[category])
TypeError: unhashable type: 'list'
Comment 2 Mike Gilbert gentoo-dev 2015-08-15 17:59:12 UTC
In both cases I actually passed --output-style column, not --output-format column. Just a bit of copy/paste/modify error there.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2015-09-17 03:10:22 UTC
ok, Fixed and rebased into the original commit.