ImageJ can't open files from UNC paths

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ImageJ can't open files from UNC paths

Burton Windle
Hello. I'm trying to support some R&D-types who want to use ImageJ. I have
installed ImageJ 1.36 with the bundled Java 1.3.1 on a Windows 2k Sp4
workstation.

The user is able to open files, but ONLY if they are on the local machine.
If you try to access a UNC path, such as \\server\share\file.tif, ImageJ
returns an error ("File is not in TIFF, <...> format, or it was not
found"). Depending on the network location, it'll then either have another
line in the msgbox saying the wrong path (it says
\\server\share\\\server\share\filename.tif when it should be
\\server\share\filename.tif) or it won't if the path is very long. I am
attempting to open these files by browsing to them via the 'file->open'
dialog box.

If you copy that file to the local machine, ImageJ is then able to view
it. The user has full-permissions to read the file on the server.

I am able to recreate this issue on another workstation (ImageJ 1.36b,
Java 1.5.0_06, 570k of 640MB, WinXP SP2).

I checked the FAQ, but didn't see anything saying this wasn't supported.

--
Burton Windle                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ can't open files from UNC paths

Wayne Rasband
On Jul 13, 2006, at 1:16 PM, Burton Windle wrote:

> Hello. I'm trying to support some R&D-types who want to use ImageJ. I
> have installed ImageJ 1.36 with the bundled Java 1.3.1 on a Windows 2k
> Sp4 workstation.
>
> The user is able to open files, but ONLY if they are on the local
> machine. If you try to access a UNC path, such as
> \\server\share\file.tif, ImageJ returns an error ("File is not in
> TIFF, <...> format, or it was not found"). Depending on the network
> location, it'll then either have another line in the msgbox saying the
> wrong path (it says \\server\share\\\server\share\filename.tif when it
> should be \\server\share\filename.tif) or it won't if the path is very
> long. I am attempting to open these files by browsing to them via the
> 'file->open' dialog box.
>
> If you copy that file to the local machine, ImageJ is then able to
> view it. The user has full-permissions to read the file on the server.
>
> I am able to recreate this issue on another workstation (ImageJ 1.36b,
> Java 1.5.0_06, 570k of 640MB, WinXP SP2).
>
> I checked the FAQ, but didn't see anything saying this wasn't
> supported.

I found this in the release notes
(http://rsb.info.nih.gov/ij/notes.html):

     v1.37a, 17 March 2006
          Fixed a bug that caused opening of images with pathnames
starting with "\\" to fail.

-wayne