Bug 1008182 - [abrt] abrt-addon-vmcore-2.1.7-1.fc19: abrt-harvest-vmcore:19:<module>:ImportError: No module named problem
Summary: [abrt] abrt-addon-vmcore-2.1.7-1.fc19: abrt-harvest-vmcore:19:<module>:Import...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Moskovcak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:03b00fb9c4a8cb621165ae74e8d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-15 14:52 UTC by Frank Büttner
Modified: 2015-02-01 22:56 UTC (History)
10 users (show)

Fixed In Version: abrt-2.1.8-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1049951 (view as bug list)
Environment:
Last Closed: 2013-11-22 12:45:30 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (1.17 KB, text/plain)
2013-09-15 14:53 UTC, Frank Büttner
no flags Details
File: environ (165 bytes, text/plain)
2013-09-15 14:53 UTC, Frank Büttner
no flags Details

Description Frank Büttner 2013-09-15 14:52:57 UTC
Description of problem:
update abrt

Version-Release number of selected component:
abrt-addon-vmcore-2.1.7-1.fc19

Additional info:
reporter:       libreport-2.1.7
cmdline:        /usr/bin/python /usr/sbin/abrt-harvest-vmcore
executable:     /usr/sbin/abrt-harvest-vmcore
kernel:         3.10.11-200.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
abrt-harvest-vmcore:19:<module>:ImportError: No module named problem

Traceback (most recent call last):
  File "/usr/sbin/abrt-harvest-vmcore", line 19, in <module>
    import problem
ImportError: No module named problem

Local variables in innermost frame:
hashlib: <module 'hashlib' from '/usr/lib64/python2.7/hashlib.pyc'>
StringIO: <module 'StringIO' from '/usr/lib64/python2.7/StringIO.pyc'>
__builtins__: <module '__builtin__' (built-in)>
__file__: '/usr/sbin/abrt-harvest-vmcore'
__package__: None
sys: <module 'sys' (built-in)>
re: <module 're' from '/usr/lib64/python2.7/re.pyc'>
time: <module 'time' from '/usr/lib64/python2.7/lib-dynload/timemodule.so'>
__name__: '__main__'
shutil: <module 'shutil' from '/usr/lib64/python2.7/shutil.pyc'>
os: <module 'os' from '/usr/lib64/python2.7/os.pyc'>
__doc__: "\n This script is meant to be run once at system startup after abrtd is up\n and running. It moves all vmcore directories in kdump's dump directory\n (which are presumably created by kdump) to abrtd spool directory.\n\n The goal is to let abrtd notice and process them as new problem data dirs.\n"
ConfigParser: <module 'ConfigParser' from '/usr/lib64/python2.7/ConfigParser.pyc'>

Comment 1 Frank Büttner 2013-09-15 14:53:02 UTC
Created attachment 797959 [details]
File: backtrace

Comment 2 Frank Büttner 2013-09-15 14:53:06 UTC
Created attachment 797960 [details]
File: environ

Comment 3 Jakub Filak 2013-09-16 08:57:50 UTC
Thank you for the bug report! 

Could you please run /usr/sbin/abrt-harvest-vmcore manually from command line under root user and provide the output here? That would help greatly.

Comment 4 Jiri Moskovcak 2013-09-16 11:20:51 UTC
Please try to run:

$ yum install abrt-python

- should help with this problem

Comment 5 Frank Büttner 2013-09-16 15:26:18 UTC
Here the results:
# /usr/sbin/abrt-harvest-vmcore
Traceback (most recent call last):
  File "/usr/sbin/abrt-harvest-vmcore", line 19, in <module>
    import problem
ImportError: No module named problem

yum install abrt-python

 /usr/sbin/abrt-harvest-vmcore
Path '/var/crash' cannot be an absolute path when mounting a dump partition.


So I think an package dependency will be missing.

Comment 6 Milan Bouchet-Valat 2013-09-30 08:05:52 UTC
Same here. Looks indeed like the trivial problem is that abrt-addon-vmcore should depend on abrt-python.

Comment 7 Jakub Filak 2013-10-19 09:13:22 UTC
abrt-python dependency has been added to the spec file in abrt-2.1.8 and the updated package has been pushed to to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Frank Büttner 2013-11-22 10:26:33 UTC
Hello, the problem comes again with abrt-python-2.1.9-1.fc19.x86_64.
/usr/sbin/abrt-harvest-vmcore 
Path '/var/crash' cannot be an absolute path when mounting a dump partition.

Comment 9 Jakub Filak 2013-11-22 10:44:16 UTC
(In reply to Frank Büttner from comment #8)
> Hello, the problem comes again with abrt-python-2.1.9-1.fc19.x86_64.
> /usr/sbin/abrt-harvest-vmcore 
> Path '/var/crash' cannot be an absolute path when mounting a dump partition.

We really appreciate your help. However this bug report was about the missing dependency and the problem with absolute paths is another story. Please open a new bug for this new issue.


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