You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 253 of "state_mw.do" when run as is generates the following error:
specify at least one file or folder to include in the zip file
r(198);
The following replacement seems to fix and allow for the whole file to run without error: zipfile ${exports}mw_state_annual.dta ${exports}mw_state_quarterly.dta ${exports}mw_state_monthly.dta ${exports}mw_state_daily.dta ${exports}mw_state_changes.dta, saving(${exports}mw_state_stata.zip, replace)
The removal calls in lines 255 - 259 also require ${exports} appended to each name
A similar fix is needed for line 263 and onward
Note: My first thought was that I had a space somewhere in my directory path, but I didn't. My version of STATA doesn't naturally parse !cp or !mv. I added a new line to save these files elsewhere as a workaround, I'm not familiar enough with these calls to suggest fixes
The text was updated successfully, but these errors were encountered:
Running STATA SE 14.2
Line 253 of "state_mw.do" when run as is generates the following error:
The following replacement seems to fix and allow for the whole file to run without error:
zipfile ${exports}mw_state_annual.dta ${exports}mw_state_quarterly.dta ${exports}mw_state_monthly.dta ${exports}mw_state_daily.dta ${exports}mw_state_changes.dta, saving(${exports}mw_state_stata.zip, replace)
The removal calls in lines 255 - 259 also require ${exports} appended to each name
A similar fix is needed for line 263 and onward
Note: My first thought was that I had a space somewhere in my directory path, but I didn't. My version of STATA doesn't naturally parse !cp or !mv. I added a new line to save these files elsewhere as a workaround, I'm not familiar enough with these calls to suggest fixes
The text was updated successfully, but these errors were encountered: