Bug#618752: Fails to open files with colons in it
martin f krafft
madduck at debian.org
Fri Mar 18 08:13:43 UTC 2011
Package: libgnomevfs2-0
Version: 1:2.24.3-2
Severity: normal
Inkscape cannot open files with colons in it:
fishbowl:~/.tmp/cdt.HtrYqA% touch a:file.svg
fishbowl:~/.tmp/cdt.HtrYqA% inkscape !$
inkscape a:file.svg
(inkscape:10661): libgnomevfs-CRITICAL **: gnome_vfs_uri_is_local: assertion `uri != NULL' failed
** (inkscape:10661): WARNING **: Invalid URI
** (inkscape:10661): WARNING **: Error: Could not open file 'a:file.svg' with VFS
The workaround is obviously, to pass ./a:file.svg to inkscape.
Would it be possible to insert a check before VFS according to the
following logic?
if stat(file …) && access(file …) {
open(…)
} else {
open_with_vfs(…)
}
?
I do not use VFS (and I do not want to), but I have a lot of files
with colons in them. Hence I would really appreciate if VFS became
more flexible.
Thank you for your consideration.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-rc6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libgnomevfs2-0 depends on:
ii dbus 1.4.6-1 simple interprocess messaging syst
ii libacl1 2.2.49-4 Access control list shared library
ii libavahi-client3 0.6.28-4 Avahi client library
ii libavahi-common3 0.6.28-4 Avahi common library
ii libavahi-glib1 0.6.28-4 Avahi glib integration library
ii libc6 2.11.2-13 Embedded GNU C Library: Shared lib
ii libdbus-1-3 1.4.6-1 simple interprocess messaging syst
ii libdbus-glib-1-2 0.88-2.1 simple interprocess messaging syst
ii libgamin0 [libfam0] 0.1.10-2+b1 Client library for the gamin file
ii libgconf2-4 2.28.1-6 GNOME configuration database syste
ii libglib2.0-0 2.28.1-1+b1 The GLib library of C routines
ii libgnomevfs2-common 1:2.24.3-2 GNOME Virtual File System (common
ii libgnutls26 2.10.5-1 the GNU TLS library - runtime libr
ii libselinux1 2.0.96-1 SELinux runtime shared libraries
ii libxml2 2.7.8.dfsg-2 GNOME XML library
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages libgnomevfs2-0 recommends:
ii dbus-x11 1.4.6-1 simple interprocess messaging syst
pn libgnomevfs2-extra <none> (no description available)
Versions of packages libgnomevfs2-0 suggests:
pn fam <none> (no description available)
pn libgnomevfs2-bin <none> (no description available)
-- no debconf information
--
.''`. martin f. krafft <madduck at d.o> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 1124 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20110318/02aa022f/attachment-0003.pgp>
More information about the pkg-gnome-maintainers
mailing list