GNOME Bugzilla – Bug 339863
ftp:// links not opening
Last modified: 2006-10-23 12:18:04 UTC
Summary says it all. The error message is: An unknown error occured There is no default action associated with this location.
Are you able o open FTP links elsewhere in the desktop? Try typing an ftp:// URL into the Alt+F2 run dialog.
That fails too. "Could not open location xyz There is no default action associated with this location."
Any uri scheme yelp doesn't understand, it passes to libgnome by "gnome_url_show". This seems like a libgnome issue since it doesn't work with Alt+F2 dialog either. Passing there and updating the summary accordingly
What exactly is the location? Maybe you could open a terminal and enter gnome-cat ftp://login:password@myhost/myfile showing us the output of the command? :)
I've tried the Alt+F2 dialogue with a simple url such as ftp://gnome.org I don't have the command "gnome-cat" on my system.
Depending on your distributor you may have to install additional packages. For Ubuntu/Debian it would be libgnomevfs2-bin. Sorry for having you given wrong information, the command providing interesting output is gnome-info ftp://login:password@myhost/myfile
I have the package libgnomevfs2-bin installed (Ubuntu), but the command gnome-cat or gnome-info doesn't seem to exist.
It's gnomevfs-cat and gnomevfs-info, at least on my system. There's also gnomevfs-ls.
I searched the Ubuntu archive, the files gnome-cat and gnome-info don't seem to exist.
Matthew: Please re-read comment 8. Sorry, I was in a bit of a hurry when I wrongly stated that the command prefix is "gnome" where I should have told you that they're "gnomevfs".
My apologies. I thought Shaun was referring to package names :) matt@kalliope:~$ gnomevfs-info ftp://gnome.org Error: Generic error
Ah, but: matt@kalliope:~$ gnomevfs-info ftp://ftp.gnome.org Name : / Type : Directory MIME type : x-directory/normal Default app : nautilus-folder-handler.desktop Seems to work as normal. And I've noticed that ALT F2 seems to work as well (odd, since it didn't when I tried it as per comment #2. Perhaps this is a Yelp bug after all.
This has nothing to do with whether gnomevfs-info/ls can open ftp links. The problem is the non-existant handler entry /desktop/gnome/url-handlers/ftp in gconf.
chpe: I disagree. Using gnome-open ftp://localhost works like a charm. The problem is probably that symlinks are not followed properly, and no application is associated with symlinks. This may also have been fixed by 2006-04-21 Alexander Larsson <alexl@redhat.com> * modules/ftp-method.c (do_read_directory): Escape the symlink name before calling resolve_relative. I'm able to open ftp symlinks (pointing to directires, which opens nautilus) properly. A quick test suggests that symlinks pointing outside the hierarchy accessible to GnomeVFS are still not supported properly.
So, do we need to keep this open against libgnome any longer? I get the impression that any bugs relating to this would have to be fixed somewhere else anyway?
Closing. No more information given.