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 760356 - Space in project folder name causes files to open empty
Space in project folder name causes files to open empty
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: general
3.19.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-01-09 12:48 UTC by Tobias Schönberg
Modified: 2016-01-15 19:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix (1.51 KB, patch)
2016-01-15 19:15 UTC, Ben
accepted-commit_now Details | Review

Description Tobias Schönberg 2016-01-09 12:48:52 UTC
If a project folder has a space in it:

   /home/tobias/my project/

then opening files in that project will show this error:

(null)[1543]:  WARNING: Error while fetching information for file >>/home/tobias/my20project/main.py<<: File or directory not found.

As you can see the space is shown as "20".

This bug occurs in 3.19.x but not in 3.18.x.
Comment 2 Christian Hergert 2016-01-15 19:19:41 UTC
Review of attachment 319143 [details] [review]:

My only concern was gunichar vs guchar, but seems that uchar is fine here. LGTM.
Comment 3 Christian Hergert 2016-01-15 19:23:09 UTC
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.