-
Notifications
You must be signed in to change notification settings - Fork 179
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
Improve error message: RecursionError #347
Comments
I suspect that this is a duplicate of the quite old #231 PRs fixing this were provided two years ago #68 and #70 . None of the other committers have reviewed them yet. Could you test either of those to see if they fix your problem? If not, could you find which file in https://github.com/dmlc/gluon-nlp is causing the problem? |
Thanks @jayvdb . Actually no file in gluon-nlp is causing this issue. Instead, our CI server was set up to install a conda environment in a subdirectory of the checked-out sources (i.e. in /path/gluon-nlp/conda) and naively enabling pyflakes on the CI caused it to try validating all files in the conda env in addition to the source of gluon-nlp. |
agreed -- this is likely a duplicate of #231 -- the recursion error isn't actually about directory depth but about expression complexity |
pyflakes may fail with a RecursionError when run on large directories (e.g. a conda install) by accident. Below excerpt shows the current error message.
It would be more helpful to show which file / module caused the RecursionError.
Thanks!
The text was updated successfully, but these errors were encountered: