GNOME Bugzilla – Bug 532852
CRITICAL **: totem_pl_parser_parse_with_base: assertion `strstr (url, "://") != NULL' failed
Last modified: 2008-05-13 12:43:38 UTC
$ totem 2008-05-13T00:08:13+02:00--2008-05-13T00:08:33+02:00.ogg ** (totem:11750): CRITICAL **: totem_pl_parser_parse_with_base: assertion `strstr (url, "://") != NULL' failed totem-2.23.2-2.fc9.x86_64
totem file://2008-05-13T00:13:29+02:00--2008-05-13T00:13:49+02:00.ogg ** Message: Error: Could not open resource for reading. gstgnomevfssrc.c(841): gst_gnome_vfs_src_start (): /play/source: Could not open vfs file "file:" for reading: Invalid URI (13)
totem file:///srv/video/2008-05-13T00:13:29+02:00--2008-05-13T00:13:49+02:00.ogg works, but it's a bit complex
The second one obviously won't work, the first one is me missing a "g_file_new_for_commandline_arg()" somewhere.
Actually, it's a bug in glib. g_file_new_for_commandline_arg() thinks that "2008-05-13T00" is a valid scheme, but it's not: Scheme names consist of a sequence of characters beginning with a lower case letter and followed by any combination of lower case letters, digits, plus ("+"), period ("."), or hyphen ("-").
Created attachment 110840 [details] [review] glib-wrong-scheme-validation.patch Patch to fix the broken check.
Fixed in glib-2-16 and trunk 2008-05-13 Bastien Nocera <hadess@hadess.net> * gfile.c (has_valid_scheme): A URI scheme must start with a letter, even if later more characters are allowed (#532852)