language-check icon indicating copy to clipboard operation
language-check copied to clipboard

CI timeouts during installation

Open jayvdb opened this issue 7 years ago • 7 comments

As the installation can take quite a while, it would be useful to emit some progress indicators during the process so that CI doesnt fail because it hasnt seen any output.

coala is seeing lots of timeout failures due to this problem: https://circleci.com/gh/jayvdb/coala-bears

(But this is aggravated by a bug in our Circle CI (https://github.com/coala/coala-bears/issues/1863) , but fixing that doesnt entirely resolve this issue.)

jayvdb avatar Jun 23 '17 17:06 jayvdb

Also occurring on Appveyor, which appears to not have a timeout. https://ci.appveyor.com/project/coala/coala-bears/build/1.0.6907

jayvdb avatar Jun 24 '17 02:06 jayvdb

There is a progress percentage printed out, but maybe it doesn't notice it. Or maybe pip is hiding it.

Travis CI does notice the output. But sometimes, the download just takes an hour for some reason:

https://travis-ci.org/myint/language-check/jobs/246270573#L156

myint avatar Jun 24 '17 13:06 myint

Ah I see, yes pip was hiding it in most of these cases. Maybe there is a pip flag required to prevent that.

jayvdb avatar Jun 24 '17 22:06 jayvdb

I believe this feature of pip 9 is the cause of the problem : https://github.com/pypa/pip/pull/3858

(edit: no, that aint it :/)

jayvdb avatar Jun 26 '17 08:06 jayvdb

But sometimes, the download just takes an hour for some reason

Is that a problem with the infrastructure of languagetool.org maybe? Alternative could be to put that stuff on GitHub.

sils avatar Jul 16 '17 11:07 sils

Is there a possibility to cache language-check and necessary data?

Makman2 avatar Aug 28 '17 16:08 Makman2

Hi! Since this project has been abandoned, I started a new fork over at https://github.com/jxmorris12/language_tool_python.

My version supports new versions of Java and LanguageTool. language-check is stuck on Java 8 and LanguageTool 3.2; latest versions are Java 14 and LanguageTool 4.9!

I'm happy to help you with your issue if you raise it over at my repository! Thanks!

jxmorris12 avatar May 01 '20 03:05 jxmorris12