Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: ERROR r(2) when update all


From   "Shrenik Shah" <[email protected]>
To   [email protected]
Subject   Re: st: ERROR r(2) when update all
Date   Sat, 30 Jun 2007 09:17:36 -0400

Hi Nirina,

I don't have an answer as to to whether you can just update IVPROBIT,
but I had a similar problem with updating Stata 8.  To avoid timeouts,
you can allow Stata more time to keep trying with the

set timeout1 #
set timeout2 #

commands.  I think the # is in seconds and the upper limit is 32000,
but this might be different from version to version.  In order to
update Stata 8 in the end, I needed to essentially try many times,
because I would almost always get a "unexpected end of file" error.
In the end, I just executed a .do file that said something like:
forvalues i=1/500 {
   capture update all
}
Unfortunately, capture suppresses output, so you won't know when it's
done.  Moreover, you can't break out of the do file, since capture
just moves to the next line if you click break.  There's probably a
way around these things, but I didn't bother, since I just ran this do
file overnight, and in the morning, Stata was indeed updated.  I don't
know how many times it had to try.

I hope this helps.

Shrenik

On 6/30/07, Nirina F <[email protected]> wrote:
Helllo all,
I am trying to update ivprobit but used update all and this is what
happened. (I'm copying here the start and the end of what appeared in
result box).
My main goal is to update just IVPROBIT  but is there a way to do that
instead of using update all?

. update all

> update ado
(contacting http://www.stata.com)

Ado-file update log
   1.  verifying C:\Program Files\Stata9\ado\updates\ is writeable
   2.  obtaining list of files to be updated
   3.  downloading relevant files to temporary area
       downloading anova_postestimation.hlp
       downloading arima_p.ado


...... downloading textstyle.class
        downloading ticksetstyle-sts_risktable.style
connection timed out -- see help r(2) for troubleshooting
r(2);

. which ivprobit
C:\Program Files\Stata9\ado\base\i\ivprobit.ado
*! version 1.1.5  03apr2005

Thanks,
Nirina
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index