After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 696064 - runDialog: Ignore expected IO errors while enumerating $PATH
runDialog: Ignore expected IO errors while enumerating $PATH
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-03-18 15:00 UTC by Rui Matos
Modified: 2013-03-18 17:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
runDialog: Ignore expected IO errors while enumerating $PATH (2.04 KB, patch)
2013-03-18 15:01 UTC, Rui Matos
committed Details | Review

Description Rui Matos 2013-03-18 15:00:58 UTC
Prevents this when hitting Tab:

JS ERROR: !!!   Exception was: Gio.IOErrorEnum: No such file or directory
    JS ERROR: !!!     message = '"No such file or directory"'
    JS ERROR: !!!     fileName = '"/home/rmatos/Source/git.gnome.org/gnome-shell/js/ui/runDialog.js"'
    JS ERROR: !!!     lineNumber = '165'
    JS ERROR: !!!     stack = '"0 anonymous()@/home/rmatos/Source/git.gnome.org/gnome-shell/js/ui/runDialog.js:165
1 anonymous()@/home/rmatos/Source/git.gnome.org/gnome-shell/js/ui/runDialog.js:163
2 wrapper()@/home/rmatos/Source/git.gnome.org/install/share/gjs-1.0/lang.js:213
3 anonymous()@/home/rmatos/Source/git.gnome.org/gnome-shell/js/ui/runDialog.js:186
4 wrapper()@/home/rmatos/Source/git.gnome.org/install/share/gjs-1.0/lang.js:213
5 anonymous()@/home/rmatos/Source/git.gnome.org/gnome-shell/js/ui/runDialog.js:135
Comment 1 Rui Matos 2013-03-18 15:01:00 UTC
Created attachment 239141 [details] [review]
runDialog: Ignore expected IO errors while enumerating $PATH

$PATH might contain non-existent or non-directory entries. Ignore
those error cases.
Comment 2 Jasper St. Pierre (not reading bugmail) 2013-03-18 16:05:46 UTC
Review of attachment 239141 [details] [review]:

OK.
Comment 3 Rui Matos 2013-03-18 17:01:05 UTC
Attachment 239141 [details] pushed as 1cc7265 - runDialog: Ignore expected IO errors while enumerating $PATH