Announcement

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

  • Zip could not be opened - r(603) (maptile)

    Good afternoon,


    I have tried to find a similar topic regarding this specific problem on this forum, but I could not find it. If there was already one, I'm sorry.

    After I did a reset on my MacBook Air, I re-installed the maptile command in STATA (ssc install maptile and ssc install spmap), but when I try to download a geography template I get the following error:

    maptile_install using "http://files.michaelstepner.com/geo_county2014.zip"
    file /Users/HarinaPeternella/Documents/Stata/ado/personal/maptile_geographies/temp.zip could not be opened
    r(603);

    At first I thought it was my laptop who creates this error, but after an installation on another laptop, I get the same error.

    Does anyone know why I get this error and how I can fix this? I have full access to the STATA folder and the file is not opened anywhere else.

    Thank you in advance!
    Last edited by Harina Peternella; 15 Mar 2021, 09:05.

  • #2
    On my MacBook Air I just ran the following.
    Code:
    . ssc install maptile
    checking maptile consistency and verifying not already installed...
    installing into /Users/lisowskiw/Library/Application Support/Stata/ado/plus/...
    installation complete.
    
    . maptile_install using "http://files.michaelstepner.com/geo_county2014.zip"
    
    /Users/lisowskiw/Library/Application Support/Stata/ado/personal/maptile_geographies
        inflating: county2014_coords.dta
        inflating: county2014_database.dta
        inflating: county2014_maptile.ado
        inflating: county2014_maptile.smcl
    
    successfully unzipped temp.zip to current directory
    total processed:  4
            skipped:  0
          extracted:  4
    
    To see the help file of the geography template, run:
        maptile_geohelp geoname
    
    .
    Your problem may be a result of network issues at your institution. You should try opening the URL
    Code:
    http://files.michaelstepner.com/geo_county2014.zip
    in Safari, when when I did that offers to download the zip file to my Mac. Then you can use the maptile_install command to open the local copy from your Downloads folder.

    Comment


    • #3
      Thank you very much! I'll try it. I have just deleted version 16 of STATA and downloaded STATA 15 and that also worked, but I will try your method with version 16.

      Comment


      • #4
        I should have mentioned that my version was done with a fully-updated copy of version 16.

        I wonder if the problem with Stata 16 has anything to do with Stata accessing your Documents folder. My PERSONAL system directory is located in
        Code:
        /Users/lisowskiw/Library/Application Support/Stata/ado/personal/

        Comment


        • #5
          Yes, I thought that was strange too. The STATA folder itself is actually located in Applications and not Documents, so based on that its quite normal it cannot find the document there. However, even trying your method it still cannot open it. So I'll keep up with version 15 for now :-)

          Comment


          • #6
            Hi,

            I met the same problem when installing a us county geographic template by maptile_install in Stata 16. The installation command works perfectly fine in my old Stata 15 but "could not be opened" in Stata 16.

            The problem lies in the ado personal directory. After I change the path in Stata 16 to the one in Stata 15, maptile_install works in Stata 16.

            Check this link for changing the default path of personal directory: https://kb.iu.edu/d/arur. Hope it helps!


            Comment

            Working...
            X