Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with adoupdate

    Since yesterday I have received the following error when running -adoupdate-. The problem seems to occur only for ado programs installed from ssc, so I wonder if the problem is a server-based problem at fmwww.bc.edu .

    Code:
    . adoupdate
    (note: adoupdate updates community-contributed files; type -update- to check for updates to official Stata)
    
    Checking status of installed packages...
    
        [1] st0028 at http://www.stata-journal.com/software/sj2-4:
            installed package is up to date
    
        [2] st0026_2 at http://www.stata-journal.com/software/sj5-3:
            installed package is up to date
    
        [3] sg103 at http://www.stata.com/stb/stb47:
            installed package is up to date
    
        [4] barplot at http://fmwww.bc.edu/repec/bocode/b:
    
    unexpected end of file
                     fopen():   612  file error
             loadsscupfile():     -  function returned error
     pkg_update_status_ssc():     -  function returned error
         pkg_update_status():     -  function returned error
    pkg_update_status_noisily():     -  function returned error
     extract_update_exists():     -  function returned error
        pkg_chk_and_update():     -  function returned error
                     <istmt>:     -  function returned error
    r(612);
    If I delete delete barplot.ado (from ssc), -adoupdate- runs well until it reaches the next ado program installed from ssc.

    Code:
    . ado uninstall barplot
    
    package barplot from http://fmwww.bc.edu/repec/bocode/b
          'BARPLOT': module to plot varlist against xvar
    
    (package uninstalled)
    Here are the results of running -adoupdate- after uninstalling barplot.ado.
    Code:
    . adoupdate
    (note: adoupdate updates community-contributed files; type -update- to check for updates to official Stata)
    
    Checking status of installed packages...
    
        [1] st0028 at http://www.stata-journal.com/software/sj2-4:
            installed package is up to date
    
        [2] st0026_2 at http://www.stata-journal.com/software/sj5-3:
            installed package is up to date
    
        [3] sg103 at http://www.stata.com/stb/stb47:
            installed package is up to date
    
        [4] st0076 at http://www.stata-journal.com/software/sj4-4:
            installed package is up to date
    
        [5] st0072 at http://www.stata-journal.com/software/sj4-3:
            installed package is up to date
    
        [6] sbe23_1 at http://www.stata-journal.com/software/sj8-4:
            installed package is up to date
    
        [7] metacum at http://fmwww.bc.edu/repec/bocode/m:
    
    unexpected end of file
                     fopen():   612  file error
             loadsscupfile():     -  function returned error
     pkg_update_status_ssc():     -  function returned error
         pkg_update_status():     -  function returned error
    pkg_update_status_noisily():     -  function returned error
     extract_update_exists():     -  function returned error
        pkg_chk_and_update():     -  function returned error
                     <istmt>:     -  function returned error
    r(612);
    I would appreciate it if someone would run -adoupdate- and let me know whether the problem is a corrupted program local to my system or is a server-based problem with ssc ado programs.

    Thanks.

    Red Owl






  • #2
    Hi,

    -adoupdate- ran fine for me

    Rich

    Comment


    • #3
      Thanks, Rich.

      It appears I have a corrupted file in my Stata installation. I'll contact Stata tech support for help.

      Red Owl

      Comment


      • #4
        It ran fine for me, too.

        Code:
        . about
        
        Stata/MP 15.0 for Windows (64-bit x86-64)
        Revision 05 Sep 2017
        Copyright 1985-2017 StataCorp LLC
        
        Total physical memory:     8269900 KB
        Available physical memory: 3315944 KB
        
        Single-user 2-core Stata perpetual license:
               Serial number:  ****
                 Licensed to:  Clyde Schechter
                               Albert Einstein College of Medicine

        Comment


        • #5
          Thanks, Clyde.

          I should have indicated that I am using Stata/IC version 15.0 for Windows (64-bit) with all current updates.

          I'm going to reinstall Stata and run the updates to see if that fixes my issue with -adoupdate- before I contact tech support.

          Red Owl

          Comment


          • #6
            To help others who may face this problem in running -adoupdate-, let me share how it was resolved.

            I used the Stata 15 setup program first to Repair my installation, but that did not fix the problem.

            Then I uninstalled Stata 15 completely and used the Stata 15 setup program to reinstall Stata. That also did not fix the problem.

            I was particularly puzzled because -adoupdate- was able to handle all of my installed ado programs except those that had been installed from ssc (with the domain http://fmwww.bc.edu/repec/bocode).

            Finally, it occurred to me that my anti-virus software (BitDefender) might be blocking http://fmwww.bc.edu/repec/bocode, so I turned off my anti-virus protection temporarily while I tried -adoupdate- again. With BitDefender turned off, -adoupdate- worked fine!

            So, it appears that anti-virus programs can block Stata's -adoupdate- from checking some domains in the ado updating process.

            I hope this helps someone else.

            Red Owl




            Comment


            • #7
              Sorry, posted too quickly. I can confirm Red Owl's post #6. Bitdefender is the culprit (running on Windows 10 x64). Since this problem is new, I suspect it's a consequence of a recent update to BitDefender. Turning it off allow adoupdate to run.

              Last edited by Bob Fitzgerald; 23 Sep 2017, 20:28. Reason: Further Investigation
              Robert Fitzgerald Senior Research Associate RTI International Berkeley,CA 94702 bobf@pacbell.net

              Comment

              Working...
              X