Bug 1217242 - [abrt] yumex-dnf: configparser.py:390:_interpolate_some:AttributeError: 'bool' object has no attribute 'find'
Summary: [abrt] yumex-dnf: configparser.py:390:_interpolate_some:AttributeError: 'bool...
Keywords:
Status: CLOSED DUPLICATE of bug 1217165
Alias: None
Product: Fedora
Classification: Fedora
Component: yumex-dnf
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Lauridsen
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:21c427a971e418cb9bcc776f9e9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-29 20:38 UTC by Timothy M. Butterworth
Modified: 2015-04-30 07:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-30 07:04:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.23 KB, text/plain)
2015-04-29 20:38 UTC, Timothy M. Butterworth
no flags Details
File: environ (971 bytes, text/plain)
2015-04-29 20:38 UTC, Timothy M. Butterworth
no flags Details

Description Timothy M. Butterworth 2015-04-29 20:38:15 UTC
Version-Release number of selected component:
yumex-dnf-4.1.1-1.fc22

Additional info:
reporter:       libreport-2.5.1
cmdline:        /usr/bin/python3 -tt /usr/share/yumex-dnf/dbus_status.py
executable:     /usr/share/yumex-dnf/dbus_status.py
kernel:         4.0.0-1.fc22.x86_64
runlevel:       N 5
type:           Python3
uid:            1555

Truncated backtrace:
configparser.py:390:_interpolate_some:AttributeError: 'bool' object has no attribute 'find'

Traceback (most recent call last):
  File "/usr/share/yumex-dnf/dbus_status.py", line 98, in <module>
    NOTIFY = CONFIG.getboolean('yumex', 'update_notify')
  File "/usr/lib64/python3.4/configparser.py", line 802, in getboolean
    raw=raw, vars=vars)
  File "/usr/lib64/python3.4/configparser.py", line 776, in _get
    return conv(self.get(section, option, **kwargs))
  File "/usr/lib64/python3.4/configparser.py", line 773, in get
    d)
  File "/usr/lib64/python3.4/configparser.py", line 374, in before_get
    self._interpolate_some(parser, option, L, value, section, defaults, 1)
  File "/usr/lib64/python3.4/configparser.py", line 390, in _interpolate_some
    p = rest.find("%")
AttributeError: 'bool' object has no attribute 'find'

Local variables in innermost frame:
map: ChainMap({}, OrderedDict(), OrderedDict([('update_interval', '60'), ('update_startup_delay', '30'), ('update_showicon', True), ('update_notify', True), ('autocheck_updates', '0')]))
accum: []
option: 'update_notify'
parser: <configparser.SafeConfigParser object at 0x7f1ebecb9d30>
depth: 1
section: 'yumex'
self: <configparser.BasicInterpolation object at 0x7f1ebed3aba8>
rest: True

Comment 1 Timothy M. Butterworth 2015-04-29 20:38:18 UTC
Created attachment 1020330 [details]
File: backtrace

Comment 2 Timothy M. Butterworth 2015-04-29 20:38:18 UTC
Created attachment 1020331 [details]
File: environ

Comment 3 Tim Lauridsen 2015-04-30 07:04:23 UTC
caused by missing conf file at first launch

*** This bug has been marked as a duplicate of bug 1217165 ***


Note You need to log in before you can comment on or make changes to this bug.