Bug 111932

Summary: driconf: TypeError: cannot concatenate 'str' and 'int' objects
Product: DRI Reporter: mmokrejs@fold.natur.cuni.cz <mmokrejs>
Component: GeneralAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED INVALID QA Contact:
Severity: not set    
Priority: not set    
Version: XOrg git   
Hardware: Other   
OS: All   
URL: https://sourceforge.net/p/driconf/bugs/6/
Whiteboard:
i915 platform: i915 features:

Description mmokrejs@fold.natur.cuni.cz 2019-10-08 20:32:12 UTC
$ driconf --version
Screen "0" is not direct rendering capable.
MESA-LOADER: failed to open radeon (search paths /usr/lib64/dri)
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/driconf", line 28, in <module>
    driconf.main()
  File "/usr/lib/driconf/driconf.py", line 140, in main
    complexui.start(configList)
  File "/usr/lib/driconf/driconf_complexui.py", line 1040, in start
    mainWindow = MainWindow(configList)
  File "/usr/lib/driconf/driconf_complexui.py", line 830, in __init__
    self.configTree = ConfigTreeView (configList)
  File "/usr/lib/driconf/driconf_complexui.py", line 525, in __init__
    self.model = ConfigTreeModel (configList)
  File "/usr/lib/driconf/driconf_complexui.py", line 262, in __init__
    self.addNode (config)
  File "/usr/lib/driconf/driconf_complexui.py", line 450, in addNode
    self.initNode (node)
  File "/usr/lib/driconf/driconf_complexui.py", line 469, in initNode
    self.initNode (device)
  File "/usr/lib/driconf/driconf_complexui.py", line 472, in initNode
    self.initNode (app)
  File "/usr/lib/driconf/driconf_complexui.py", line 474, in initNode
    self.validateAppNode (node)
  File "/usr/lib/driconf/driconf_complexui.py", line 515, in validateAppNode
    driver = app.device.getDriver(commonui.dpy)
  File "/usr/lib/driconf/dri.py", line 490, in getDriver
    driver = GetDriver (self.driver)
  File "/usr/lib/driconf/dri.py", line 430, in GetDriver
    driver = DriverInfo (name)
  File "/usr/lib/driconf/dri.py", line 292, in __init__
    driInfo = XDriInfo ("options " + name)
  File "/usr/lib/driconf/dri.py", line 54, in XDriInfo
    raise DRIError ("XDriInfo killed by signal " + signal + ".")
TypeError: cannot concatenate 'str' and 'int' objects
$ equery belongs driconf
 * Searching for driconf ... 
x11-misc/driconf-0.9.1-r2 (/usr/share/driconf)
x11-misc/driconf-0.9.1-r2 (/usr/lib/python-exec/python2.7/driconf)
x11-misc/driconf-0.9.1-r2 (/usr/bin/driconf -> ../lib/python-exec/python-exec2)
x11-misc/driconf-0.9.1-r2 (/usr/lib/driconf)
$

This is a Gentoo Linux. Actually the '--version' argument does not matter, it crashes even without it.
Comment 1 Michel Dänzer 2019-10-09 09:12:31 UTC
The driconf application isn't hosted here but at https://sourceforge.net/projects/driconf/ .

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.