Open Recent Character Bug

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

Open Recent Character Bug

NeLaS
Hello,

I believe I'm experiencing a bug for character enconding.

Some of my folders contain characters like "í". When opening a file within a
folder with this type of character it opens normally, and if I close and
open it using "open recent" feature the path is ok and the file opens again.
However, if I restart imagej and try to open the same file the path is
corrupted. For example.

/share/multimídia/foto.tif

after restart it becomes

/share/multimÂ#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#dia/foto.tif

(please substitute # for a square...)

The size and number of this additional Ã#Â# is variable and last night I
waited over 1 hour to load "Open Recent" address, since it seems to enter a
loop printing this bad encoded characters until the line becomes a black
stripe. Very awful looking :-)

I believe I did not have this problem before, but since I update imagej
frequently I can't tell in which version this happened (it is not the first
time I experience the bug)

I'm now using version 1.38t.

thanks!

bruno

--
Bruno C. Vellutini
[organelas.com] [ccnelas.org] [desertoresdaescada.com]

Centro de Biologia Marinha (CEBIMar)
Universidade de São Paulo
Av. Manoel H. do Rego km 131,5
11600-000 São Sebastião, SP, Brasil
http://www.usp.br/cbm/
Reply | Threaded
Open this post in threaded view
|

Re: Open Recent Character Bug

Michael Schmid
Hi Bruno,

maybe you could help tracing down the bug by looking at the IJ_Prefs.txt
file (Windows: In the ImageJ folder, Mac: in $home/Library/Preferences)
and see what the recent00 etc. items look there?

To detect non-printable characters, it would be best to use an
editor that can display hex characters such as Notepad++ or a
hexdump facility.

On my Mac, I cannot open such a file from the 'Recent' menu after
restarting ImageJ; the "í" character gets converted to a question
mark when stored in IJ_Prefs.txt, but it is only ONE question mark.

What operating system do you use?


Michael
________________________________________________________________

On 30 May 2007, at 15:19, NeLaS wrote:

> Hello,
>
> I believe I'm experiencing a bug for character enconding.
>
> Some of my folders contain characters like "í". When opening a file  
> within a
> folder with this type of character it opens normally, and if I  
> close and
> open it using "open recent" feature the path is ok and the file  
> opens again.
> However, if I restart imagej and try to open the same file the path is
> corrupted. For example.
>
> /share/multimídia/foto.tif
>
> after restart it becomes
>
> /share/multimÂ#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#dia/
> foto.tif
>
> (please substitute # for a square...)
>
> The size and number of this additional Ã#Â# is variable and last  
> night I
> waited over 1 hour to load "Open Recent" address, since it seems to  
> enter a
> loop printing this bad encoded characters until the line becomes a  
> black
> stripe. Very awful looking :-)
>
> I believe I did not have this problem before, but since I update  
> imagej
> frequently I can't tell in which version this happened (it is not  
> the first
> time I experience the bug)
>
> I'm now using version 1.38t.
>
> thanks!
>
> bruno
Reply | Threaded
Open this post in threaded view
|

Re: Open Recent Character Bug

NeLaS
Hi,

What operating system do you use?
>

ops, forgot to tell, I'm on linux

maybe you could help tracing down the bug by looking at the IJ_Prefs.txt
> file (Windows: In the ImageJ folder, Mac: in $home/Library/Preferences)
> and see what the recent00 etc. items look there?
>

I could not find IJ_Prefs.txt, is it present in linux version?

cheers

bruno

--
Bruno C. Vellutini
[organelas.com] [ccnelas.org] [desertoresdaescada.com]

Centro de Biologia Marinha (CEBIMar)
Universidade de São Paulo
Av. Manoel H. do Rego km 131,5
11600-000 São Sebastião, SP, Brasil
http://www.usp.br/cbm/

On 5/30/07, Michael Schmid <[hidden email]> wrote:

>
> Hi Bruno,
>
> maybe you could help tracing down the bug by looking at the IJ_Prefs.txt
> file (Windows: In the ImageJ folder, Mac: in $home/Library/Preferences)
> and see what the recent00 etc. items look there?
>
> To detect non-printable characters, it would be best to use an
> editor that can display hex characters such as Notepad++ or a
> hexdump facility.
>
> On my Mac, I cannot open such a file from the 'Recent' menu after
> restarting ImageJ; the "í" character gets converted to a question
> mark when stored in IJ_Prefs.txt, but it is only ONE question mark.
>
> What operating system do you use?
>
>
> Michael
> ________________________________________________________________
>
> On 30 May 2007, at 15:19, NeLaS wrote:
>
> > Hello,
> >
> > I believe I'm experiencing a bug for character enconding.
> >
> > Some of my folders contain characters like "í". When opening a file
> > within a
> > folder with this type of character it opens normally, and if I
> > close and
> > open it using "open recent" feature the path is ok and the file
> > opens again.
> > However, if I restart imagej and try to open the same file the path is
> > corrupted. For example.
> >
> > /share/multimídia/foto.tif
> >
> > after restart it becomes
> >
> > /share/multimÂ#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#dia/
> > foto.tif
> >
> > (please substitute # for a square...)
> >
> > The size and number of this additional Ã#Â# is variable and last
> > night I
> > waited over 1 hour to load "Open Recent" address, since it seems to
> > enter a
> > loop printing this bad encoded characters until the line becomes a
> > black
> > stripe. Very awful looking :-)
> >
> > I believe I did not have this problem before, but since I update
> > imagej
> > frequently I can't tell in which version this happened (it is not
> > the first
> > time I experience the bug)
> >
> > I'm now using version 1.38t.
> >
> > thanks!
> >
> > bruno
>
Reply | Threaded
Open this post in threaded view
|

Re: Open Recent Character Bug

Gabriel Landini
On Wednesday 30 May 2007 15:54:20 NeLaS wrote:

> Hi,
>
> What operating system do you use?
>
>
> ops, forgot to tell, I'm on linux
>
> maybe you could help tracing down the bug by looking at the IJ_Prefs.txt
>
> > file (Windows: In the ImageJ folder, Mac: in $home/Library/Preferences)
> > and see what the recent00 etc. items look there?
>
> I could not find IJ_Prefs.txt, is it present in linux version?

In your /home directory.

G.
Reply | Threaded
Open this post in threaded view
|

Re: Open Recent Character Bug

NeLaS
>
> In your /home directory.


thanks gabriel

To detect non-printable characters, it would be best to use an
> editor that can display hex characters such as Notepad++ or a
> hexdump facility.
>

I'm using http://www.vim.org/, and when opening slowness takes over the
machine (apparently to load the tons of Ã<83>Â<82>...). I'm not sure if it
is displaying non-printable characters, but looks like.

maybe you could help tracing down the bug by looking at the IJ_Prefs.txt
> file (Windows: In the ImageJ folder, Mac: in $home/Library/Preferences)
> and see what the recent00 etc. items look there?
>

They look like this

/MultimÃ<83>Ã<83>Â<82>...

if I copy paste it here (from the visual editor -
http://cream.sourceforge.net/):

/Multim?ƒÂƒ?‚ƒ?ƒÂ‚?‚ƒ?ƒ

Another. I opened the same image many times and it was stored on recent00,
01, 02... recent01(the least recent, in this case) has less lines of
Ã<83>Â<83>Ã<82> than recent02. recent02 has less lines than recent03 and so
on...

recent02=/share/Documentos/Biologia/Mestrado/MultimÃ<83>Â<83>Ã<82>Â<83>Ã<83>Â<82>Ã<82>Â<83>Ã<83>Â<83>Ã<82>Â<82>Ã<83>Â<82>Ã<82>Â<83>Ã<83>Â<83>Ã<82>Â<83>Ã<83>Â<82>Ã<82>Â<82>Ã<83>Â<83>Ã<82>Â<82>Ã<83>Â<82>Ã<82>Â<83>Ã<83>Â<83>Ã<82>Â<83>Ã<83>Â<82>Ã<82>Â<83>Ã<83>Â<83>Ã<82>Â<82>Ã<83>Â<82>Ã<82>Â<82>Ã<83>Â<83>Ã<82>Â<83>Ã<83>Â<82>Ã<82>Â<82>Ã<83>Â<83>Ã<82>Â<82>Ã<83>Â<82>Ã<82>­dia/Confocal/290507.mdb/01.tif
recent01=/share/Documentos/Biologia/Mestrado/MultimÃ<83>Â<83>Ã<82>Â<83>Ã<83>Â<82>Ã<82>Â<83>Ã<83>Â<83>Ã<82>Â<82>Ã<83>Â<82>Ã<82>Â<83>Ã<83>Â<83>Ã<82>Â<83>Ã<83>Â<82>Ã<82>Â<82>Ã<83>Â<83>Ã<82>Â<82>Ã<83>Â<82>Ã<82>­dia/Confocal/290507.mdb/01.tif

sorry for the excessive amount of Ã<83>Â<82> in this msg...

cheers

bruno

--
Bruno C. Vellutini
[organelas.com] [ccnelas.org] [desertoresdaescada.com]

Centro de Biologia Marinha (CEBIMar)
Universidade de São Paulo
Av. Manoel H. do Rego km 131,5
11600-000 São Sebastião, SP, Brasil
http://www.usp.br/cbm/

On 5/30/07, Gabriel Landini <[hidden email]> wrote:

>
> On Wednesday 30 May 2007 15:54:20 NeLaS wrote:
> > Hi,
> >
> > What operating system do you use?
> >
> >
> > ops, forgot to tell, I'm on linux
> >
> > maybe you could help tracing down the bug by looking at the IJ_Prefs.txt
> >
> > > file (Windows: In the ImageJ folder, Mac: in
> $home/Library/Preferences)
> > > and see what the recent00 etc. items look there?
> >
> > I could not find IJ_Prefs.txt, is it present in linux version?
>
> In your /home directory.
>
> G.
>
Reply | Threaded
Open this post in threaded view
|

Re: Open Recent Character Bug

NeLaS
>
> recent01(the least recent, in this case)
>

most recent, i mean...

--
Bruno C. Vellutini
[organelas.com] [ccnelas.org] [desertoresdaescada.com ]

Centro de Biologia Marinha (CEBIMar)
Universidade de São Paulo
Av. Manoel H. do Rego km 131,5
11600-000 São Sebastião, SP, Brasil
http://www.usp.br/cbm/

On 5/30/07, NeLaS <[hidden email]> wrote:

>
> In your /home directory.
>
>
> thanks gabriel
>
> To detect non-printable characters, it would be best to use an
> > editor that can display hex characters such as Notepad++ or a
> > hexdump facility.
> >
>
> I'm using http://www.vim.org/ , and when opening slowness takes over the
> machine (apparently to load the tons of Ã<83>Â<82>...). I'm not sure if it
> is displaying non-printable characters, but looks like.
>
> maybe you could help tracing down the bug by looking at the IJ_Prefs.txt
> > file (Windows: In the ImageJ folder, Mac: in $home/Library/Preferences)
> > and see what the recent00 etc. items look there?
> >
>
> They look like this
>
> /MultimÃ<83>Ã<83>Â<82>...
>
> if I copy paste it here (from the visual editor -
> http://cream.sourceforge.net/):
>
> /Multim?ƒÂƒ?‚ƒ?ƒÂ‚?‚ƒ?ƒ
>
> Another. I opened the same image many times and it was stored on recent00,
> 01, 02... recent01(the least recent, in this case) has less lines of
> Ã<83>Â<83>Ã<82> than recent02. recent02 has less lines than recent03 and so
> on...
>
> recent02=/share/Documentos/Biologia/Mestrado/MultimÃ<83>Â<83>Ã<82>Â<83>Ã<83>Â<82>Ã<82>Â<83>Ã<83>Â<83>Ã<82>Â<82>Ã<83>Â<82>Ã<82>Â<83>Ã<83>Â<83>Ã<82>Â<83>Ã<83>Â<82>Ã<82>Â<82>Ã<83>Â<83>Ã<82>Â<82>Ã<83>Â<82>Ã<82>Â<83>Ã<83>Â<83>Ã<82>Â<83>Ã<83>Â<82>Ã<82>Â<83>Ã<83>Â<83>Ã<82>Â<82>Ã<83>Â<82>Ã<82>Â<82>Ã<83>Â<83>Ã<82>Â<83>Ã<83>Â<82>Ã<82>Â<82>Ã<83>Â<83>Ã<82>Â<82>Ã<83>Â<82>Ã<82>­dia/Confocal/290507.mdb/01.tif
>
> recent01=/share/Documentos/Biologia/Mestrado/MultimÃ<83>Â<83>Ã<82>Â<83>Ã<83>Â<82>Ã<82>Â<83>Ã<83>Â<83>Ã<82>Â<82>Ã<83>Â<82>Ã<82>Â<83>Ã<83>Â<83>Ã<82>Â<83>Ã<83>Â<82>Ã<82>Â<82>Ã<83>Â<83>Ã<82>Â<82>Ã<83>Â<82>Ã<82>­dia/Confocal/290507.mdb/01.tif
>
>
> sorry for the excessive amount of Ã<83>Â<82> in this msg...
>
> cheers
>
> bruno
>
> --
> Bruno C. Vellutini
> [ organelas.com] [ ccnelas.org] [desertoresdaescada.com]
>
> Centro de Biologia Marinha (CEBIMar)
> Universidade de São Paulo
> Av. Manoel H. do Rego km 131,5
> 11600-000 São Sebastião, SP, Brasil
> http://www.usp.br/cbm/
>
> On 5/30/07, Gabriel Landini < [hidden email]> wrote:
> >
> > On Wednesday 30 May 2007 15:54:20 NeLaS wrote:
> > > Hi,
> > >
> > > What operating system do you use?
> > >
> > >
> > > ops, forgot to tell, I'm on linux
> > >
> > > maybe you could help tracing down the bug by looking at the
> > IJ_Prefs.txt
> > >
> > > > file (Windows: In the ImageJ folder, Mac: in
> > $home/Library/Preferences)
> > > > and see what the recent00 etc. items look there?
> > >
> > > I could not find IJ_Prefs.txt, is it present in linux version?
> >
> > In your /home directory.
> >
> > G.
> >
>
>