Login  Register

Re: Can't load images from remote directory

Posted by Albert Cardona on Mar 03, 2009; 12:25pm
URL: http://imagej.273.s1.nabble.com/Can-t-load-images-from-remote-directory-tp3693495p3693496.html

Michael Doube wrote:

> Hi all,
>
> I've been trying to drag and drop image stacks from a Windows share
> (Samba) straight into ImageJ.  This works fine in Win XP, but fails in
> Ubuntu.  ImageJ complains:
>
> File not found:
> /home/mdoube/smb:/my_shared_computer.ic.ac.uk/mysharename/path/to/imagedirectory/
>
>
> In Ubuntu, shares are mounted in the user's home directory under
> .gvfs/ as, for example, ~/.gvfs/mysharename on
> my_shared_computer.ic.ac.uk/
>
> Is this a bug in IJ, in the JRE or in Ubuntu / GNOME?



To make files work, mount the smb share into the file system directly,
instead of relying on KDE io slaves or on GNOME's virtual file systems.

See for example:
http://albert.rierol.net/ubuntu_tips.html#Mount%20a%20samba%20share%20in%20fstab


If you know of any reliable way in all linux distributions to identify
where the "smb:" share is mounted on, we could code that into the DND
handler.

Cheers.

Albert

--
Albert Cardona
http://albert.rierol.net