RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1292909 - abrt crashes with "ImportError: No module named argparse"
Summary: abrt crashes with "ImportError: No module named argparse"
Keywords:
Status: CLOSED DUPLICATE of bug 1246539
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: abrt
Version: 6.7
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: abrt
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-18 17:16 UTC by Mikuláš Patočka
Modified: 2015-12-21 08:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-21 08:20:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mikuláš Patočka 2015-12-18 17:16:48 UTC
Description of problem:
I am frequently getting emails that abrt can't find module argparse. It seems that the abrt package lacks some required dependencies.

Version-Release number of selected component (if applicable):
abrt 2.6.8 34.el6

How reproducible:
always

Steps to Reproduce:
On each boot it sends email with "ImportError: No module named argparse"

Actual results:
From DoNotReply  Fri Dec 18 18:09:54 2015
Return-Path: <DoNotReply>
X-Original-To: root@localhost
Delivered-To: root
Received: by rhel-6-i386.localdomain (Postfix, from userid 0)
	id 6BF1D401B9; Fri, 18 Dec 2015 18:09:54 +0100 (CET)
Date: Fri, 18 Dec 2015 18:09:54 +0100
From: ABRT Daemon <DoNotReply>
To: root
Subject: [abrt] a crash has been detected again
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-Id: <20151218170954.6BF1D401B9>

abrt_version:   2.0.8
cmdline:        /usr/bin/python /usr/libexec/abrt-action-generate-machine-id -o /var/spool/abrt/pyhook-2015-12-18-18:09:36-31719/machineid
executable:     /usr/libexec/abrt-action-generate-machine-id
hostname:       rhel-6-i386
kernel:         2.6.32-573.12.1.el6.i686
last_occurrence: 1450458576
time:           Pá 18. prosinec 2015, 18:09:54 CET
uid:            0

backtrace:
:abrt-action-generate-machine-id:24:<module>:ImportError: No module named argparse
:
:Traceback (most recent call last):
:  File "/usr/libexec/abrt-action-generate-machine-id", line 24, in <module>
:    from argparse import ArgumentParser
:ImportError: No module named argparse
:
:Local variables in innermost frame:
:__builtins__: <module '__builtin__' (built-in)>
:__file__: '/usr/libexec/abrt-action-generate-machine-id'
:__package__: None
:sys: <module 'sys' (built-in)>
:__name__: '__main__'
:__doc__: 'This module provides algorithms for generating Machine IDs.\n'


Expected results:
abrt should have proper dependencies specified in the rpm file, so that all modules it depends on are automatically installed.

Additional info:

Comment 2 Jakub Filak 2015-12-21 08:20:51 UTC
Thank you for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

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


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