Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 410315

Summary: dispatch-conf python trace: object of type 'int' has no len()
Product: Portage Development Reporter: Markos Chandras (RETIRED) <hwoarang>
Component: Core - ConfigurationAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS, REGRESSION
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 409383    

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.