Author

Topic: [abrt] full crash report (Read 811 times)

legendary
Activity: 3766
Merit: 1364
Armory Developer
November 03, 2015, 06:16:23 PM
#6
I wouldn't mess with unsupported packages. You should change the code as instructed instead. It's not critical to catch the exact exception since it will return False as a result.
newbie
Activity: 22
Merit: 0
November 03, 2015, 04:03:50 PM
#5
Well I assume the version: python-psutil-1.2.1-1.el7.x86_64 that comes with the distribution is too old.
Now I tried to install the recent 3.2.2 one, but I get:
Code:
pip install psutil
Requirement already satisfied (use --upgrade to upgrade): psutil in /usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
legendary
Activity: 3766
Merit: 1364
Armory Developer
November 03, 2015, 12:30:46 PM
#4
It fails to import error from psutil. I'm guessing the version of the package you got is old or maybe that class was deprecated. Replace

Code:
except psutil.error.NoSuchProcess:

with

Code:
except:

That ought to fix it.
newbie
Activity: 22
Merit: 0
November 03, 2015, 12:24:01 PM
#3
yes, all packages installed ... but I still get the messages
legendary
Activity: 3766
Merit: 1364
Armory Developer
November 03, 2015, 06:43:08 AM
#2
Did you install psutil?

This is the list of Python packages you need to run Armory:

Quote
pyqt4-dev-tools python-qt4 python-dev python-twisted python-psutil
newbie
Activity: 22
Merit: 0
November 03, 2015, 04:57:53 AM
#1
Hi all,

I get a lot of these "full-crash" reports on my CentOS 7 box:

Code:
Message 145:
From [email protected]  Sun Oct 18 02:30:50 2015
Return-Path:
X-Original-To: root@localhost
Delivered-To: [email protected]
Date: Sun, 18 Oct 2015 02:30:49 +0200
From: [email protected]
To: [email protected]
Subject: [abrt] full crash report
User-Agent: Heirloom mailx 12.5 7/5/10
Content-Type: text/plain; charset=us-ascii
Status: R

time:           Mi 15 Jul 2015 13:42:54 CEST
cmdline:        python /usr/lib/armory/guardian.py 1225 1236
uid:            1000 (hlds)
abrt_version:   2.1.11
event_log:     
executable:     /usr/lib/armory/guardian.py
hostname:       data-server
kernel:         3.10.0-229.7.2.el7.x86_64
last_occurrence: 1445128247
pid:            1237
runlevel:       N 5
username:       hlds

backtrace:
:guardian.py:36:check_pid:AttributeError: 'module' object has no attribute 'error'
:
:Traceback (most recent call last):
:  File "/usr/lib/armory/guardian.py", line 94, in
:    if not check_pid(pid_armory, proc_name_armory):
:  File "/usr/lib/armory/guardian.py", line 36, in check_pid
:    except psutil.error.NoSuchProcess:
:AttributeError: 'module' object has no attribute 'error'
:
...

But appart form those crash reports Armory seem to run without noticeable problems ...
Any ideas on what cause this ?
Jump to: