[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Tortoise/SVN makes "Programmers File Editor" crash after file modification

From: John Walker <ronnystalker_at_gmail.com>
Date: 2007-06-20 06:10:39 CEST

> On 6/20/07, Peter McNab <mcnab_p@melbpc.org.au> wrote:
> John Walker wrote:
> > Hello you clever people,
> >
> > Bug Report TortoiseSVN-1.4.4.9706-win32-svn-1.4.4
> >
> > --The Problem--
> > What i am doing:
> > I have a SVN versioned file opened in Programmers File Editor (PFE), a
> > text editing application.
> > Then I open that same file with another application too (say, MS
> > Notepad).
> > I modify the file with Notepad and save it.
> > I then click on the file in PFE
> > As soon as the file in PFE has the 'window focus' an alert pops up
> > asking:
> > "File C:\Documents and Settings\John\ExampleFile.txt" has been altered
> > on disk by another application
> > Do you want to load this new version?
> > [Yes] [No]"
> >
> > What i expect to happen
> > If i press yes - then i expect the newer version to be loaded and used
> > If i press no - then i expect the file in PFE to remain unchanged
> >
> > What actually happens
> > Whichever button i press, a "MS Windows Error Report" dialogue window
> > pops up asking if i wish to send an error report.
> > Then PFE closes itself loosing any unsaved data.
> >
> > Note:
> > This problem only occurs when modifying SVN versioned files.
> > e.g If the file being modified is a non-versioned file, it does not
> > crash.
> >
> > --About My Set Up--
> > I have been using TortoiseSVN-1.4.3.8645-win32-svn-1.4.3 for a few
> > weeks now and it has been working fine.
> > Today, I noticed that it seems to have started to cause my Programmers
> > File Editor software to crash (see details above).
> > So, I upgraded to TortoiseSVN-1.4.4.9706-win32-svn-1.4.4
> > Even after this upgrade the problem persists.
> > I use MS Windows XP, Media Centre Edition, Version 2002 Service pack 2.
> > I have recently reset MS windows to do Automatic Updates - so a MS
> > automatic update may have triggered the problem.
> > I use Programmers File Editor 32-bit Edition 1.01.00 (The latest version)
> > See: http://www.lancs.ac.uk/staff/steveb/cpaap/pfe/
> >
>
> This is unlikely to be a fault in TSVN.
> I'm doing something much the same, opening and editing the same revision
> controlled source files simultaneously in two separate editors without a
> problem. So multiple source files get opened in the Delphi IDE and in
> multiple instances of Beyond Compare. Editing and saving in either
> raises a dialog to the effect:- "files have changed reload?" when the
> other editor receives focus. This combination has never caused a problem
> with any version of TSVN going back over several years. I usually run
> with the current nightly build to keep an eye out for introduced bugs
> for the Stefan(s).
> Similarly when conficts are resolved using the three pane view and the
> file is open in Delphi I don't experience your symptoms.
>
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
> For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
>
>

Hi Peter
Thanks for your reply.
I suspected it was something to do with the SVN or Tortoise because it
seemed non-versioned files did not cause the problem.
After further investigation I have discovered that the problem was
occuring with just one particular versioned file that i had named
"merge_import_data_into_live_application.php". Not all versioned files
as i had previously thought. The problem was solved by renaming this
file to "put_data_into_live_db.php" (by right clicking it, draggging
it and selecting "SVN move and rename versioned files here")

This made me think perhaps some of the words in the file name were
causing some problem (e.g ). So, I have tried creating a new file,
named "merge_import_data_into_live_application.php", in another
working copy of a seperate repository. That did NOT cause problems.

So after all that - even though I'm not sure why it occured/which app
caused it etc. - it seems to have been solved by simply renaming the
file.

Your speedy response and contributions are much appreciated.
Much apologies for any time wasted.

regards john

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jun 20 06:10:33 2007

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.