Bug 1260362

Summary: [abrt] tracer: processes.py:32:all:AttributeError: 'module' object has no attribute 'get_pid_list'
Product: [Fedora] Fedora Reporter: Heiko Adams <bugzilla>
Component: tracerAssignee: Jakub Kadlčík <jkadlcik>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jkadlcik
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/6c69fb82afbd6717e7167944970c681fa9a7b24c
Whiteboard: abrt_hash:43d93c07ae3f30d4bf03cf69e75adfe223801368
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-08 10:12:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Heiko Adams 2015-09-06 09:08:23 UTC
Description of problem:
Looked for new updates with dnf

Version-Release number of selected component:
tracer-0.5.9-3.fc23

Additional info:
reporter:       libreport-2.6.2
cmdline:        /usr/bin/python /bin/tracer -n thunderbird
executable:     /bin/tracer
kernel:         4.2.0-1.fc23.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
processes.py:32:all:AttributeError: 'module' object has no attribute 'get_pid_list'

Traceback (most recent call last):
  File "/bin/tracer", line 34, in <module>
    tracer.main.run()
  File "/usr/lib/python2.7/site-packages/tracer/main.py", line 42, in run
    return router.dispatch()
  File "/usr/lib/python2.7/site-packages/tracer/resources/router.py", line 55, in dispatch
    controller = DefaultController(self.args, self.packages)
  File "/usr/lib/python2.7/site-packages/tracer/controllers/default.py", line 46, in __init__
    self.applications = self.tracer.trace_affected(self._user(args.user))
  File "/usr/lib/python2.7/site-packages/tracer/resources/tracer.py", line 80, in trace_affected
    memory = self._memory(user)
  File "/usr/lib/python2.7/site-packages/tracer/resources/memory.py", line 36, in dump_memory
    for process in Processes.all().owned_by(user).unique():
  File "/usr/lib/python2.7/site-packages/tracer/resources/processes.py", line 32, in all
    for pid in psutil.get_pid_list():
AttributeError: 'module' object has no attribute 'get_pid_list'

Local variables in innermost frame:
processes: []

Comment 1 Heiko Adams 2015-09-06 09:08:26 UTC
Created attachment 1070665 [details]
File: backtrace

Comment 2 Heiko Adams 2015-09-06 09:08:27 UTC
Created attachment 1070666 [details]
File: environ

Comment 3 Jakub Kadlčík 2015-09-08 10:12:56 UTC
Hello Heiko,
thank you for the feedback.

This issue is duplicate of 1260302 so please see the progress there.

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