Title: [abrt] full crash report Post by: Piu3344 on November 03, 2015, 09:57:53 AM Hi all,
I get a lot of these "full-crash" reports on my CentOS 7 box: Code: Message 145: But appart form those crash reports Armory seem to run without noticeable problems ... Any ideas on what cause this ? Title: Re: [abrt] full crash report Post by: goatpig on November 03, 2015, 11:43:08 AM 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 Title: Re: [abrt] full crash report Post by: Piu3344 on November 03, 2015, 05:24:01 PM yes, all packages installed ... but I still get the messages
Title: Re: [abrt] full crash report Post by: goatpig on November 03, 2015, 05:30:46 PM 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. Title: Re: [abrt] full crash report Post by: Piu3344 on November 03, 2015, 09:03:50 PM 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 Title: Re: [abrt] full crash report Post by: goatpig on November 03, 2015, 11:16:23 PM 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.
|