Version-Release number of selected component:
cmdline: /usr/bin/python -Es /usr/sbin/tuned -l -P
configobj.py:1477:_handle_bom:AttributeError: 'module' object has no attribute 'PY2'
Traceback (most recent call last):
File "/usr/sbin/tuned", line 63, in <module>
app = tuned.daemon.Application(args.profile)
File "/usr/lib/python2.7/site-packages/tuned/daemon/application.py", line 32, in __init__
self.config = self._load_global_config()
File "/usr/lib/python2.7/site-packages/tuned/daemon/application.py", line 183, in _load_global_config
config = ConfigObj(file_name, configspec=global_config_spec, raise_errors = True, file_error = True)
File "/usr/lib/python2.7/site-packages/configobj.py", line 1229, in __init__
File "/usr/lib/python2.7/site-packages/configobj.py", line 1287, in _load
content = self._handle_bom(content)
File "/usr/lib/python2.7/site-packages/configobj.py", line 1477, in _handle_bom
if six.PY2 and isinstance(line, str):
AttributeError: 'module' object has no attribute 'PY2'
Local variables in innermost frame:
line: '# Global tuned configuration file.\n'
infile: ['# Global tuned configuration file.\n', '\n', '# Dynamicaly tune devices, if disabled only static tuning will be used.\n', 'dynamic_tuning = 1\n', '\n', '# how long to sleep before checking for events (in seconds)\n', '# higher number means lower overhead but longer response time\n', 'sleep_interval = 1\n', '\n', '# Update interval for dynamic tunings (in seconds).\n', '# It must be multiply of the sleep_interval\n', 'update_interval = 10\n']
Potential duplicate: bug 1235910
Created attachment 1086256 [details]
Created attachment 1086257 [details]
Probably not tuned bug but configobj or six bug. I will take a look.
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 21 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
(In reply to Jaroslav Škarvada from comment #3)
> Probably not tuned bug but configobj or six bug. I will take a look.
IIRC it was fixed in f22 by some update (configobj or six), but not sure about f21. Closing as nextrelease (but it is not tuned bug).