Crashes due to change in psutil

Bug #1474484 reported by Frogman
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Released
Sean Davis

Bug Description

Here's my post from Manjaro (Arch-based distro) forum:

Menu Editor (MenuLibre) stopped working - Solved

After a recent update, I noticed that the Menu Editor stopped working. Running "menulibre" from a terminal command line showed the error:

[code] File "/usr/lib/python3.4/site-packages/menulibre/", line 78, in getProcessList
    for pid in psutil.get_pid_list():
AttributeError: 'module' object has no attribute 'get_pid_list'[/code]

I checked the Package Manager for "psutil" and found "python-psutil" was installed. Going to the included link [url][/url] and searching for "get_pid_list()" showed

[code] | Old name | Replacement |
  | - psutil.get_pid_list() | psutil.pids() |[/code]

I went to "/usr/lib/python3.4/site-packages/menulibre/" and changed "get_pid_list()" to "pids()" on line 78, and voila! the Menu Editor worked again.

I'm posting this in hopes it may save other others some aggravation.

Frogman (jporubek)
no longer affects: menulibre (Arch Linux)
Revision history for this message
Sean Davis (bluesabre) wrote :

Thanks for the bug report and research. Applied to the 2.0 and 2.1 branches and will be in the next set of releases.


Changed in menulibre:
status: New → Fix Committed
Revision history for this message
Frogman (jporubek) wrote :

You're welcome. Thank you for creating and maintaining a great tool!

Sean Davis (bluesabre)
Changed in menulibre:
milestone: none → 2.0.1
milestone: 2.0.1 → 2.0.7
status: Fix Committed → Fix Released
assignee: nobody → Sean Davis (bluesabre)
Revision history for this message
Sean Davis (bluesabre) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.