Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: do-file corruption?

From   Sergiy Radyakin <>
Subject   Re: st: do-file corruption?
Date   Wed, 24 Nov 2010 14:12:55 -0500

Need more info. Here are some approaches.

1. Who is guilty, Stata or Notepad++? Create a do-file in regular
Notepad. Back it up
(copy somewhere). Open in it in Stata, close, compare with the
original. Open in Notepad++,
close, compare with the original. Thus you will find whom to blame.

2) Try to find out what is triggering the problem?
a) Is it only do-files from Notepad++ or from any program that are
exhibiting the problem in Stata
(or conversely is it only do-files or any files that are exhibiting
the problem in Notepad++)?
b) If you are using unicode (non-ASCII) characters, try to avoid them
and see if the problem persists.
c) Eliminate the hardware failures (make sure your HDD is working properly).

3) Is the problem replicatable? On another computer, other versions of
software? Install all the updates
for Notepad++, Stata and your operating system. Report all versions.

4) If you can make do-files available for investigation, that could
help, e.g. someone can spot a
suspicious combination of bytes.

Best, Sergiy Radyakin

On Wed, Nov 24, 2010 at 10:19 AM, Maarten buis <> wrote:
> --- On Wed, 24/11/10, Tatyana Deryugina wrote:
>> I'm using Notepad++ and the built-in editor. The problem
>> only happens when I open a file with the built-in editor,
>> after which I also cannot open it normally with Notepad++.
>> There is no relationship (as far as I can tell) between
>> opening it in Notepad++ and subsequent corruption.
> That is obviously serious. I have not experienced this
> problem, and I have extensively used the built-in editor.
> However, I have not used Notepad++. Anyhow, I would contact
> Stata's techsupport:
> <>
> It would be very helpful if you can give them a sequence
> of opening and closing files that on your computer leads
> to corruption of the .do file. It is easier for them to
> track down a problem if it also happens on their computer.
> -- Maarten
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
> --------------------------
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index