ImageJ (or Java) doesn't let go of a file

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

ImageJ (or Java) doesn't let go of a file

John Alexander-7
If I open a file (a sld file using the loci bio-formats plugin to be
exact), look at it, then close it (so there are no open images) ... but
then I try to rename the file using Windows (I am renaming files a bit
more descriptively), I get a "the file is in use" message even though
there are NO images open.  I then have to close imageJ entirely in order
to rename the file, then load imageJ again to continue to the next file.

Is that normal behavior?
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ (or Java) doesn't let go of a file

ctrueden
Hi John,

Thanks for noticing this problem; it is likely a bug in Bio-Formats.
Looking at the code, Bio-Formats should close files after it finishes
reading them (or in the case of virtual stacks, after the window is
closed), but currrently does not do so. We will work on a fix and
reply again when things are working better.

-Curtis

On Fri, Aug 8, 2008 at 3:59 PM, John Alexander <[hidden email]> wrote:
> If I open a file (a sld file using the loci bio-formats plugin to be
> exact), look at it, then close it (so there are no open images) ... but
> then I try to rename the file using Windows (I am renaming files a bit
> more descriptively), I get a "the file is in use" message even though
> there are NO images open.  I then have to close imageJ entirely in order
> to rename the file, then load imageJ again to continue to the next file.
>
> Is that normal behavior?
>
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ (or Java) doesn't let go of a file

Melissa Linkert
Hi John,
The latest trunk build of Bio-Formats should fix this problem.  If you
upgrade and continue to experience problems, please let us know.

Regards,
-Melissa

On Mon, Aug 11, 2008 at 3:21 PM, Curtis Rueden <[hidden email]> wrote:

> Hi John,
>
> Thanks for noticing this problem; it is likely a bug in Bio-Formats.
> Looking at the code, Bio-Formats should close files after it finishes
> reading them (or in the case of virtual stacks, after the window is
> closed), but currrently does not do so. We will work on a fix and
> reply again when things are working better.
>
> -Curtis
>
> On Fri, Aug 8, 2008 at 3:59 PM, John Alexander <[hidden email]>
> wrote:
> > If I open a file (a sld file using the loci bio-formats plugin to be
> > exact), look at it, then close it (so there are no open images) ... but
> > then I try to rename the file using Windows (I am renaming files a bit
> > more descriptively), I get a "the file is in use" message even though
> > there are NO images open.  I then have to close imageJ entirely in order
> > to rename the file, then load imageJ again to continue to the next file.
> >
> > Is that normal behavior?
> >
>