GNOME Bugzilla – Bug 168174
Can't import dav://, smb:// or other gnome-vfs mounts
Last modified: 2005-12-02 12:50:41 UTC
Please describe the problem: If I mount a samba share through fstab and smbmount then I can import it into Rythmbox using File->Import_Folder. If I use Nautilus to mount the same windows share using Nautilus' File->Connect_To_Server->Windows_Share menu then I can import it into Rythmbox using File->Import_Folder. If I use Nautilus to mount an HTTPS WebDAV share using Nautilus' File->Connect_To_Server->Secure_WebDAV and confirm that I can browse it in Nautilus and then attempt to import it into Rythmbox using File->Import_Folder then Rythmbox either crashes or pops up an error dialog saying: "Could not change the current folder to davs://netshare@dashhome.dyndns.org:443/files: davs://netshare@dashhome.dyndns.org:443 is not a folder" Steps to reproduce: 1. Use Nautilus to mount an HTTPS Secure WebDAV share using "File","Connect To Server","Secure WebDAV". 2. Attempt to browse this virtual folder from Rythmbox's "File","Import Folder" by double clicking on the folder. Actual results: Rythmbox either exits/crashes or displays an error dialog: "Could not change the current folder to davs://netshare@dashhome.dyndns.org:443/files: davs://netshare@dashhome.dyndns.org:443 is not a folder" Expected results: I would expect to be able to browse the WebDAV share in Rythmbox's Folder Import windows just as I would be able to browse the WebDAV share in Nautilus. Does this happen every time? Yes. Other information:
Does browsing to the directory require an authentication window? If so, this is due to bug 140335 (Rhythmbox doesn't support authentication windows)
Sorry, that should be bug 140355
Hmmm, maybe, that might be it, Nautilus does pop up an authentication. I was under the, possibly mistaken, impression that gnome vfs had the dav folder mounted and no further authentication would be required since the samba share also required authentication through Nautilus and yet it worked fine in Rythmbox.
gnome-keyring will pop up a dialog asking whether RB is authorised to access the keyring - this is the bit the RB doesn't support. Once that is fixed, you should be able to access your mounts.
Inability to import smb:// shares is a big usability problem for me. All my songs are on my partner's Windows PC. There's no way to import these songs without dropping to root and editing /etc/fstab, even though Nautilus can clearly see and browse the files.
There is an initial patch on bug 140355 to add support for authenticated gnome-vfs mounts - however it is mostly untested as yet.
With rhythmbox 0.8.8 I could import folders from my ssh mounted gnome-vfs as long as I was using ssh-agent and ssh-keys for authentication and I was pre-authenticated. Now that I'm using 0.9.1, the ssh gnome-vfs mount doesn't show up in the import file chooser. Is this a related problem?
The patch from bug 140355 has landed in cvs, so we now support remote gnome-vfs mounts. The only issue that I know of is that importing remote files sometimes blocks the UI for a short time (because the metadata load has to be done in the main thread). Apart from that it should work fine, if anyone tries it with cvs, and has problems, please file bugs.