Bug 906790

Summary: [abrt] abrt-addon-ccpp-2.0.20-1.fc18: abrt-action-perform-ccpp-analysis:14:<module>:ImportError: cannot import name ask_yes_no_yesforever
Product: [Fedora] Fedora Reporter: Matthieu Pupat <redhat_bugzilla>
Component: abrtAssignee: Jakub Filak <jfilak>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: abrt-devel-list, dvlasenk, iprikryl, jberan, jfilak, jmoskovc, kklic, mmilata, mtoman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f9c1f375b39344fe14a7f5c76624820f83384721
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-02 18:32:13 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 Matthieu Pupat 2013-02-01 13:48:06 UTC
Description of problem:
Trying to report a crash using ABRT

Version-Release number of selected component:
abrt-addon-ccpp-2.0.20-1.fc18

Additional info:
cmdline:        python /usr/bin/abrt-action-perform-ccpp-analysis
core_backtrace: 3445c395ea4a09197710b248a7ee60b8a273b3f7 0xe <module> /usr/bin/abrt-action-perform-ccpp-analysis -
executable:     /usr/bin/abrt-action-perform-ccpp-analysis
kernel:         3.7.4-204.fc18.x86_64
uid:            1000

Truncated backtrace:
abrt-action-perform-ccpp-analysis:14:<module>:ImportError: cannot import name ask_yes_no_yesforever

Traceback (most recent call last):
  File "/usr/bin/abrt-action-perform-ccpp-analysis", line 14, in <module>
    from reportclient import ask_yes_no_yesforever
ImportError: cannot import name ask_yes_no_yesforever

Local variables in innermost frame:
__builtins__: <module '__builtin__' (built-in)>
__file__: '/usr/bin/abrt-action-perform-ccpp-analysis'
Popen: <class 'subprocess.Popen'>
ArgumentParser: <class 'argparse.ArgumentParser'>
__package__: None
sys: <module 'sys' (built-in)>
locale: <module 'locale' from '/usr/lib64/python2.7/locale.pyc'>
gettext: <module 'gettext' from '/usr/lib64/python2.7/gettext.pyc'>
report: <module 'report' from '/usr/lib64/python2.7/site-packages/report/__init__.pyc'>
__name__: '__main__'
os: <module 'os' from '/usr/lib64/python2.7/os.pyc'>
__doc__: 'This module provides a function for executing of disjunction of analyze\nevents.\n'

Comment 1 Matthieu Pupat 2013-02-01 13:48:09 UTC
Created attachment 691586 [details]
File: backtrace

Comment 2 Matthieu Pupat 2013-02-01 13:48:11 UTC
Created attachment 691587 [details]
File: environ

Comment 3 Matthieu Pupat 2013-02-01 13:49:14 UTC
Trying to report a crash using ABRT

Package: abrt-addon-ccpp-2.0.20-1.fc18
OS Release: Fedora release 18 (Spherical Cow)

Comment 4 Jakub Filak 2013-02-02 13:43:29 UTC
Thank you for taking the time to report this bug. The ask_yes_no_yesforever function has been introduced in the last release of libreport. If you have time to update libreport's packages and re-test, please do so and report the results here. You can obtain the updated package by typing 'yum update libreport-python' or using the graphical updater, Software Update.

Comment 5 Matthieu Pupat 2013-02-02 18:31:48 UTC
Thanks for giving a solution.

Crash is gone after updating to libreport-2.0.20-1.fc18.x86_64