Announcement

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

  • SSC install

    Dear Stata Users,

    I am having problems with installing programs from SSC archive. I have the following error:

    checking egenmore consistency and verifying not already installed...
    C:\Users\...\AppData\Local\Temp\ST_00000009.tmp could not be opened for write by copytextfile

    How can I solve this problem? Is there a way to manually download and install programs?

    Thanks in advance for any help.


  • #2
    Do you have permission to write in that directory? What package are you trying to install? Try

    Code:
    sysdir set PLUS "C:\A\Directory\You\Can\Write\To"

    Comment


    • #3
      Have you tried restarting your computer?

      Comment


      • #4
        Yes. Problem was not solved.

        Comment


        • #5
          Have you verified that you have administrator rights on your account? Are you able to download external programs outside Stata?

          Comment


          • #6
            I have administrator rights.

            I tried to install another package as seen below and that was successful. Is egenmore different than, for example, psmatch2?

            ssc install psmatch2
            checking psmatch2 consistency and verifying not already installed...
            installing into c:\ado\plus\...
            installation complete.

            . ssc install egenmore
            checking egenmore consistency and verifying not already installed...
            C:\Users\Bulent\AppData\Local\Temp\ST_0000000r.tmp could not be opened for write by copytextfile
            (no action taken)
            r(603);

            Comment


            • #7
              I just uninstalled and re-installed egenmore with no options. Maybe try

              ssc install egenmore, replace

              I doubt that will do it, but maybe something got corrupted along the way.
              -------------------------------------------
              Richard Williams, Notre Dame Dept of Sociology
              StataNow Version: 19.5 MP (2 processor)

              EMAIL: [email protected]
              WWW: https://www3.nd.edu/~rwilliam

              Comment


              • #8
                Same error.

                . ssc install egenmore, replace
                checking egenmore consistency and verifying not already installed...
                C:\Users\Bulent\AppData\Local\Temp\ST_0000000t.tmp could not be opened for write by copytextfile
                (no action taken)
                r(603);

                I needed xtile functionality of egenmore. I downloaded _gxtile.ado from
                https://ideas.repec.org/c/boc/bocode/s386401.html

                and manually copied to ado file directory. It seemed to work. I hope it is working correctly.



                Comment


                • #9
                  OK... I think I got it. Pulled out my old PC and tried to install egenmore, getting the same error as you did. In my case, my antivirus deletes the temporary file, therefore leading to the error. Disable your antivirus program (or real time scanning of files), install and then re-enable it.

                  (Mcafee, open program window -> click on real time scanning ->select disable for 15 minutes)


                  Code:
                  
                  . ssc install egenmore
                  checking egenmore consistency and verifying not already installed...
                  cannot write in directory c:\ado\plus\_
                  r(603);
                  
                  . ssc install egenmore
                  checking egenmore consistency and verifying not already installed...
                  installing into c:\ado\plus\...
                  installation complete.
                  Last edited by Andrew Musau; 01 Aug 2016, 11:39.

                  Comment


                  • #10
                    Unfortunately, disabling the anti-virus software did not solve the problem.

                    Comment


                    • #11

                      Originally posted by Bülent Köksal View Post

                      I needed xtile functionality of egenmore. I downloaded _gxtile.ado from
                      https://ideas.repec.org/c/boc/bocode/s386401.html

                      and manually copied to ado file directory. It seemed to work. I hope it is working correctly.
                      Yes it should work correctly. Once paste in the ado repertory (and saved under the gxtile.ado name), you might need to open the do-file and run it once to define the program. Afterwards, you could call the program gxtile in any do-file. Also think about downloading the help file on the same page, but it is a different file, you might need it.

                      Did the installation by hand solved your problem?

                      Charlie


                      Comment


                      • #12
                        Charlie's advice must be qualified as each .ado filename starts with an underscore and must not be renamed.

                        As the maintainer of egenmore I don't have any extra story about why ssc didn't work here for you.

                        Comment


                        • #13
                          Thanks for all the replies. Manually copying _gxtile.ado seems to solve the problem.

                          Comment

                          Working...
                          X