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 602932 - gedit can not run if filesystem path contains spaces
gedit can not run if filesystem path contains spaces
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
2.28.x
Other Mac OS
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-25 13:02 UTC by Randall Wood
Modified: 2009-11-28 18:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Randall Wood 2009-11-25 13:02:52 UTC
If the path to the gedit application bundle contains spaces, gedit fails to launch.

Running gedit from the command line in Terminal.app produces the following if the path to gedit contains a space:

/Applications/Additional Applications/gedit.app/Contents/MacOS/gedit: line 14: cd: /Applications/Additional: No such file or directory
/Applications/Additional Applications/gedit.app/Contents/MacOS/gedit: line 56: /Contents/MacOS/gedit-bin: No such file or directory
/Applications/Additional Applications/gedit.app/Contents/MacOS/gedit: line 56: exec: /Contents/MacOS/gedit-bin: cannot execute: No such file or directory
/Applications/Additional Applications/gedit.app/Contents/MacOS/gedit: line 54: /Contents/Resources/libexec/gconfd-2: No such file or directory

When gedit is launched from the Finder in this case, the MacOS visibly launches gedit (the icon does the launch thing), but gedit silently fails and never appears in the Dock. Moving gedit to a folder that does not have any spaces in its path allows gedit to work as expected.
Comment 1 jessevdk@gmail.com 2009-11-28 18:22:29 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.