Bug 922302
| Summary: | [abrt] glances-1.5.2-1.fc18: glances.py:522:__get_process_stats__:AttributeError: 'module' object has no attribute 'AccesDenied' | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michel Lind <michel> | ||||||||
| Component: | glances | Assignee: | Edouard Bourguignon <madko> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 18 | CC: | madko | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | abrt_hash:998c3837e523adc6224532417cc60129947ad35a | ||||||||||
| Fixed In Version: | glances-1.6-1.fc17 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2013-05-25 11:58:30 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: |
|
||||||||||
Created attachment 710960 [details]
File: backtrace
Created attachment 710961 [details]
File: core_backtrace
Created attachment 710962 [details]
File: environ
Fixed upstream, back in December, and version 1.6 has been released since. May I register glances with our Upstream Release Monitoring service, so the maintainers get release notification?
commit 8a643f10e12b37c489efc395462904a6b6a23f4a
Author: Filip Noetzel <filip>
Date: Sun Dec 30 21:05:52 2012 +0100
Fix typo: s/AccesDenied/AccessDenied/
Helps with "AttributeError: 'module' object has no attribute 'AccesDen
glances-1.6-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/glances-1.6-1.fc17 glances-1.6-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/glances-1.6-1.fc18 Package glances-1.6-1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing glances-1.6-1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-3977/glances-1.6-1.fc17 then log in and leave karma (feedback). Thanks! Installing for testing, will leave karma later. I sent an email a few days ago about branching glances for EL5 -- any objection there? If not, I'll request the branch. Ping. This package has been sitting in updates-testing for a month, please push. glances-1.6-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. glances-1.6-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: I started glances, and it crashes after running for a while. There's a typo in the glances source -- psutil.AccesDenied should be psutil.AccessDenied (one s is missing) Version-Release number of selected component: glances-1.5.2-1.fc18 Additional info: cmdline: /usr/bin/python /usr/bin/glances executable: /usr/bin/glances kernel: 3.6.10-4.fc18.x86_64 uid: 1000 Truncated backtrace: glances.py:522:__get_process_stats__:AttributeError: 'module' object has no attribute 'AccesDenied' Traceback (most recent call last): File "/usr/bin/glances", line 9, in <module> load_entry_point('Glances==1.5.2', 'console_scripts', 'glances')() File "/usr/lib/python2.7/site-packages/glances/glances.py", line 3152, in main stats.update() File "/usr/lib/python2.7/site-packages/glances/glances.py", line 910, in update self.__update__(input_stats) File "/usr/lib/python2.7/site-packages/glances/glances.py", line 890, in __update__ self.glancesgrabprocesses.update() File "/usr/lib/python2.7/site-packages/glances/glances.py", line 564, in update procstat = self.__get_process_stats__(proc) File "/usr/lib/python2.7/site-packages/glances/glances.py", line 522, in __get_process_stats__ except psutil.AccesDenied: AttributeError: 'module' object has no attribute 'AccesDenied' Local variables in innermost frame: self: <glances.glances.GlancesGrabProcesses instance at 0xfeccb0> proc: <psutil.Process(pid=5088, name='ld-linux-x86-64') at 17418576> procstat: {'cmdline': '', 'memory_info': meminfo(rss=0, vms=0), 'name': 'ld-linux-x86-64', 'memory_percent': 0.0}