Ticket #54 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Unable to open the preferences window

Reported by: lokthare Owned by: somebody
Priority: major Milestone: 0.3.0
Component: guake Version: 0.3
Keywords: Cc:

Description

guake return a Traceback when i try to open the preferences window. It seems that the bug appear when a directory listed in the PATH doesn't exist.

Traceback (most recent call last):

File "/usr/lib64/guake/guake.py", line 933, in on_prefs_menuitem_activate

self.show_prefs()

File "/usr/lib64/guake/guake.py", line 707, in show_prefs

PrefsDialog?(self).show()

File "/usr/lib64/guake/guake.py", line 173, in init

self.populate_shell_combo()

File "/usr/lib64/guake/guake.py", line 308, in populate_shell_combo

for j in os.listdir(i):

OSError: [Errno 2] No such file or directory: '/home/lokthare/bin'

Attachments

fix-#54.patch Download (412 bytes) - added by lokthare 5 years ago.
fix-#54-v2.patch Download (0.6 KB) - added by lokthare 5 years ago.

Change History

Changed 5 years ago by lokthare

Changed 5 years ago by lokthare

A better patch (i think, i m not very skilled)

Changed 5 years ago by lokthare

Changed 5 years ago by lincoln

  • status changed from new to closed
  • resolution set to fixed

Hi lokthare,

Thank you for helping. Unfortunally I had already made a patch before looking at yours. But keep looking at our bts and all your help we'll be welcome =)

Commit fixing this bug: c25b1efe7593ef3e8b3f670543b65ea5e46b8b92

Note: See TracTickets for help on using tickets.