JanDitzen / xtbreak

Testing and Estimation of structural breaks in Stata
https://janditzen.github.io/xtbreak/
18 stars 10 forks source link

Issue installing the package #6

Open piyushakhot opened 3 years ago

piyushakhot commented 3 years ago

Hi , I see the below error while trying to install the package in Stata 15. How should I solve this? Snap270

JanDitzen commented 3 years ago

Are you behind a firewall or something like this which might block a SSL connection?

diogo00antunes commented 2 years ago

Hi, I´m getting a similar error message:

. net install xtbreak, from(https://janditzen.github.io/xtbreak/) stacktrace not available https://janditzen.github.io/xtbreak/ either 1) is not a valid URL, or 2) could not be contacted, or 3) is not a Stata download site (has no stata.toc file). r(5100);

end of do-file

JanDitzen commented 2 years ago

Which Stata version do you use?

There might be problems with Stata < 16.

diogo00antunes commented 2 years ago

Thank you for the super fast answer! I´m using Version 15.

JanDitzen commented 2 years ago

Can you download from other Github repos or is ours the only problem?

diogo00antunes commented 2 years ago

This time I tried on Stata 16 and got this message:

. net install xtbreak, from(https://janditzen.github.io/xtbreak/) PKIX path validation failed: java.security.cert.CertPathValidatorException: vali

dity check failed https://janditzen.github.io/xtbreak/ either 1) is not a valid URL, or 2) could not be contacted, or 3) is not a Stata download site (has no stata.toc file). r(5100);

end of do-file


I also tested with a different repository and got:

. net install randomize, from(https://raw.githubusercontent.com/ck37/randomize_ado/master/) PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed https://raw.githubusercontent.com/ck37/randomize_ado/master/ either 1) is not a valid URL, or 2) could not be contacted, or 3) is not a Stata download site (has no stata.toc file).

current site is still http://fmwww.bc.edu/repec/bocode/g/ r(5100);

JanDitzen commented 2 years ago

This seems to be a problem with your Stata respectively the internet connection.

Can you please download the files in the folder "ado" by hand into a folder on your local drive. Then you need to add this folder to the Stata adopath by using: adopath + YOUR_PATH

diogo00antunes commented 2 years ago

I did that, but I´m still getting error messages:

. adopath + "C:\ado\plus\x" [1] (BASE) "C:\Users\diogo... [2] (SITE) "C:\Users\diogo... [3] "." [4] (PERSONAL) "c:\ado\personal/" [5] (PLUS) "c:\ado\plus/" [6] (OLDPLACE) "c:\ado/" [7] "C:\ado\plus\x"

. xtbreak USReal < is not a valid command name (error occurred while loading xtbreak.ado) r(199);

JanDitzen commented 2 years ago

Can you please update xtbreak and try again?

diogo00antunes commented 2 years ago

I am still getting error messages. I ended up doing the test on EViews. Either way, I still must thank you for your work. I am probably doing something wrong, but I am sure other people are benefiting from xtbreak.

. xtbreak update < is not a valid command name (error occurred while loading xtbreak.ado) r(199);


. net install xtbreak, from(https://janditzen.github.io/xtbreak/) stacktrace not available https://janditzen.github.io/xtbreak/ either 1) is not a valid URL, or 2) could not be contacted, or 3) is not a Stata download site (has no stata.toc file). r(5100);

end of do-file

tu-yu commented 2 years ago

Hi,

I have installed xtbreak successfully. However, when I run it, it shows "Moremata is required. Please install: ssc install moremata invalid syntax"

then I install moremata: ". ssc install moremata checking moremata consistency and verifying not already installed... connection timed out could not copy http://fmwww.bc.edu/repec/bocode/m/mf_mm_panels.hlp (no action taken)"

I don't know how to solve this problem, could you please help? Thanks~