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 602427 - Invalid URI
Invalid URI
Status: RESOLVED FIXED
Product: planner
Classification: Other
Component: General
0.14.x
Other Linux
: Normal normal
: ---
Assigned To: planner-maint
planner-maint
Depends on:
Blocks:
 
 
Reported: 2009-11-19 17:10 UTC by Francisco Javier Campos
Modified: 2009-12-07 20:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Francisco Javier Campos 2009-11-19 17:10:25 UTC
When I try to open a file '/home/francisco.campos/H:/Coordinacion/Programa de trabajo 2010/programa 2010.planner' appears an error message and the file is not loaded, althought if I rename the directory H: as H, I don't have any problem, but I think is not the correct solution, because PLANNER is the only application that causes this error.

mrp-project.c
******************
/* Get a local file from the uri. */
	if (len > 3 && !strstr (uri, ":/")) {
		/* No protocol. */
	} else {
		if (len > 7 && !strncmp (uri, "file:/", 6)) {
			/* Naively strip method. */
			uri = uri + 7;
		} else {
			g_set_error (error, 
				     MRP_ERROR,
				     MRP_ERROR_INVALID_URI,
				     _("Invalid URI: '%s'"),
				     uri);
			
			return FALSE;
		}
	}
Comment 1 Alexandre Franke 2009-11-20 12:05:39 UTC
Thanks for your report. I can confirm that this happens with Planner 0.14.4 and git master.
Comment 2 Maurice van der Pot 2009-12-07 20:29:52 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.