Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410315 - dispatch-conf python trace: object of type 'int' has no len()
Summary: dispatch-conf python trace: object of type 'int' has no len()
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 409383
  Show dependency tree
 
Reported: 2012-03-31 09:44 UTC by Markos Chandras (RETIRED)
Modified: 2012-04-01 00:12 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 Markos Chandras (RETIRED) gentoo-dev 2012-03-31 09:44:12 UTC
I get the following when I type dispatch-conf

testing dev # dispatch-conf 
Traceback (most recent call last):
  File "/usr/sbin/dispatch-conf", line 494, in <module>
    portage.settings.get('CONFIG_PROTECT', '')))
  File "/usr/sbin/dispatch-conf", line 251, in grind
    confs = [x for x in confs if f(x)]
  File "/usr/sbin/dispatch-conf", line 251, in <listcomp>
    confs = [x for x in confs if f(x)]
  File "/usr/sbin/dispatch-conf", line 194, in f
    myoutput_len = len(myoutput)
TypeError: object of type 'int' has no len()


I haven't done much to debug it yet but I was hoping you could give me some hints

My python version is 2.7 and my portage version is 2.1.10.52
Comment 2 Zac Medico gentoo-dev 2012-04-01 00:12:11 UTC
This is fixed in 2.1.10.53 and 2.2.0_alpha97.