PiRSquared17 / snaketail-net

Automatically exported from code.google.com/p/snaketail-net
1 stars 0 forks source link

Editor that requires exclusive write-access fails to work with snaketail #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create text file and let it open in editor (for example PSPad)
2. open text file with snake tail too
3. change content in editor and try to save
4. Editor display "can not save file" error message

What is the expected output? What do you see instead?

a tail like behavior, snake tail should display the changed content and editor 
should be able to save the file.

What version of the product are you using? On what operating system?

1.8.2.0

Please provide any additional information below.

I reproduced the problem with Enerprise Architect log files too

Original issue reported on code.google.com by G.Beut...@guido-beutler.de on 25 Jul 2013 at 11:27

GoogleCodeExporter commented 9 years ago
If the editor requires exclusive access to the file when writing. Then it will 
fail.

If you try using a real editor like Windows Notepad, then you will see it saves 
just fine :)

I guess one day I will create a special log-reader that opens/Closes the file 
constantly and allowing weird applications to get exclusive access to the file.

Original comment by sweaty1 on 25 Jul 2013 at 5:20

GoogleCodeExporter commented 9 years ago
Hi,

yes, you are right, with notepad or notepad++ the same test works fine. Of 
course I used PSPad only for testing and it was coincidence that I used PSPad 
to reproduce the EA problem. My main target is to monitor log files from 
Enterprise Architect during project transferee what didn’t work when I tried 
it but of course I could expect that you have an EA installed..
I tried Tail for Win and did the same test and it worked fine, what brought me 
to the assumption that it may be a snake tail problem. Of course I do not 
exactly know what tail for win is doing there. There seems not to be any 
abilities for configuration and I didn't check the source.

Cheers,

Guido

Original comment by G.Beut...@guido-beutler.de on 26 Jul 2013 at 8:03