Bug 906790 - [abrt] abrt-addon-ccpp-2.0.20-1.fc18: abrt-action-perform-ccpp-analysis:14:<module>:ImportError: cannot import name ask_yes_no_yesforever
Summary: [abrt] abrt-addon-ccpp-2.0.20-1.fc18: abrt-action-perform-ccpp-analysis:14:<m...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Filak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f9c1f375b39344fe14a7f5c7662...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-01 13:48 UTC by Matthieu Pupat
Modified: 2016-12-01 00:43 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-02 18:32:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (977 bytes, text/plain)
2013-02-01 13:48 UTC, Matthieu Pupat
no flags Details
File: environ (2.07 KB, text/plain)
2013-02-01 13:48 UTC, Matthieu Pupat
no flags Details

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


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