Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint command not found after installation #81

Open
lhebates opened this issue May 10, 2023 · 7 comments
Open

lint command not found after installation #81

lhebates opened this issue May 10, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@lhebates
Copy link

lhebates commented May 10, 2023

I recently installed stata-linter using ssc install, but the command cannot be found by state, or in the state ado folder. The python files seem to be installed though. Below is a screenshot showing that the package is installed, lint.ado cannot be found. I appreciate any advice. Thanks!

Screenshot 2023-05-09 at 10 25 23 PM
@kbjarkefur
Copy link
Contributor

Thank you @lhebates for reporting this. We have been able to reproduce this error and we are looking into the source of the error. We will report back here when we have a solution.

@kbjarkefur kbjarkefur added the bug Something isn't working label May 15, 2023
@lhebates
Copy link
Author

Thanks very much!

@luisesanmartin
Copy link
Member

@lhebates we received word from the administrator of SSC that this problem should be corrected by now. Can you try in your computer and let us know? thanks

@kbjarkefur
Copy link
Contributor

Just note that the command is lint (as Stata commands tend to be verbs and not nouns). So after reinstalling, (either ssc uninstall stata_linter then ssc install stata_linter, or ssc install stata_linter, replace) try which lint instead of which linter.

@lhebates
Copy link
Author

Thank you for the reply and detailed instructions related to the fix. The lint command is now installed with the updated package. A new issue appeared though. The lint command runs without showing any error, but my stata would crash before producing any output.

@luisesanmartin
Copy link
Member

@lhebates can you share the do-file you're using as input to reproduce the error?

@lhebates
Copy link
Author

Yes. Please find the do files I used to produce the issue in the zip file below.

linter_issue_test.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants