Bug 1119933

Summary: [abrt] abrt: abrt-action-notify:207:<module>:AttributeError: 'module' object has no attribute 'load_conf_file'
Product: [Fedora] Fedora Reporter: vip3r011.sama
Component: abrtAssignee: abrt <abrt-devel-list>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: abrt-devel-list, dvlasenk, iprikryl, jfilak, mmilata, mtoman, vip3r011.sama
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/17a04d77e82617d292c78fa53fe8f9f1b7557fd6
Whiteboard: abrt_hash:2a264ca2ec69c1c864b3181769824cef9639f81d
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-17 11:07:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description vip3r011.sama 2014-07-15 21:52:45 UTC
Version-Release number of selected component:
abrt-2.2.1-2.fc20

Additional info:
reporter:       libreport-2.2.2
cmdline:        /usr/bin/python /usr/bin/abrt-action-notify -d /var/tmp/abrt/ccpp-2014-07-15-21:01:37-731
executable:     /usr/bin/abrt-action-notify
kernel:         3.11.10-301.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
abrt-action-notify:207:<module>:AttributeError: 'module' object has no attribute 'load_conf_file'

Traceback (most recent call last):
  File "/usr/bin/abrt-action-notify", line 207, in <module>
    conf = problem.load_conf_file("abrt.conf")
AttributeError: 'module' object has no attribute 'load_conf_file'

Local variables in innermost frame:
verbose: 0
ArgumentParser: <class 'argparse.ArgumentParser'>
FILENAME_UID: 'uid'
FILENAME_UUID: 'uuid'
OPTIONS: Namespace(autoreporting=False, autoreporting_event=None, problem_dir='/var/tmp/abrt/ccpp-2014-07-15-21:01:37-731', verbose=0)
FILENAME_DUPHASH: 'duphash'
emit_crash_dbus_signal: <function emit_crash_dbus_signal at 0xf54578>
ABRT_VERBOSE: '0'
run_autoreport: <function run_autoreport at 0xf54500>
CD_DUMPDIR: 'Directory'
__package__: None
CMDARGS: ArgumentParser(prog='abrt-action-notify', usage=None, description='Announce a new or duplicated problem via all accessible channels', version=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
__doc__: None
log1: <function log1 at 0xf54320>
__builtins__: <module '__builtin__' (built-in)>
__file__: '/usr/bin/abrt-action-notify'
RETURN_OK: 0
sys: <module 'sys' (built-in)>
RETURN_CANCEL_BY_USER: 69
RETURN_FAILURE: 2
report: <module 'report' from '/usr/lib64/python2.7/site-packages/report/__init__.pyc'>
__name__: '__main__'
set_verbosity: <function set_verbosity at 0xf54230>
DIR_PATH: '/var/tmp/abrt/ccpp-2014-07-15-21:01:37-731'
build_notification_problem_data: <function build_notification_problem_data at 0xf545f0>
RETURN_STOP_EVENT_RUN: 70
dbus: <module 'dbus' from '/usr/lib/python2.7/site-packages/dbus/__init__.pyc'>
problem: <module 'problem' from '/usr/lib/python2.7/site-packages/problem/__init__.pyc'>
os: <module 'os' from '/usr/lib64/python2.7/os.pyc'>
FILENAME_PACKAGE: 'package'

Comment 1 vip3r011.sama 2014-07-15 21:52:52 UTC
Created attachment 918261 [details]
File: backtrace

Comment 2 vip3r011.sama 2014-07-15 21:52:54 UTC
Created attachment 918262 [details]
File: environ

Comment 3 Jakub Filak 2014-07-16 06:40:38 UTC
Hello, thank you for the report. Cloud you please run the following command and report the results here?

$ python -c "import problem; print problem.load_conf_file"

Comment 4 vip3r011.sama 2014-07-16 21:46:39 UTC
output i get:

<built-in function load_conf_file>

Comment 5 Jakub Filak 2014-07-17 11:07:41 UTC
It is obvious that 'module' object has attribute 'load_conf_file'. Closing this bug report as WORKSFORME, but please reopen it if the problem occurs again.