-
Notifications
You must be signed in to change notification settings - Fork 21
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
antlr4 isn't robust with slow links. #13
Comments
Still SUPER annoying today, it attempts to get latest version every time and the maven link takes 30 secs to respond 504 bad gateway timeout. Please fix. |
0.2.1 released :) |
I'm using the TypeScript target, so ANTLR4 is installed with npm. I continue to see this today when running this:
(30 sec delay)
Is that not the same problem? |
I didn't check what the time out was... maybe it's thirty seconds? sorry I don't have a huge amount of time to look at this. Actually it looks like that PR set btw antlr4 via npm is not going to be the tool itself just the runtime library for the generated code |
I've noticed this on my machines and now over in github actions build for grammars-v4. When the link is bad, the
antlr4
tool fails.This is happening because it is trying to get the latest version of the Antlr tool.
antlr4-tools/antlr4_tool_runner.py
Line 26 in 787e7a5
I can program around this by looking at the output of the tool and grep'ing for some string that says the link is bad. But, the better way would be to loop over the call (maybe 5 times) and catching link errors.
The text was updated successfully, but these errors were encountered: