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

logger not defined in utils.py #746

Open
blaiseli opened this issue Jan 28, 2025 · 1 comment
Open

logger not defined in utils.py #746

blaiseli opened this issue Jan 28, 2025 · 1 comment
Labels

Comments

@blaiseli
Copy link

I encountered an error while using Flye (likely due to insufficient memory), and this raised the following error:

  File "/opt/gensoft/exe/Flye/2.9.5/venv/lib/python3.8/site-packages/flye/utils/utils.py", line 49, in process_in_parallel
    logger.error("Looks like the system ran out of memory")

`NameError: name 'logger' is not defined`

(I'm using Flye 2.9.5 installed as an environment module on a SLURM cluster.)

This seems to correspond to the following piece of source code:

logger.error("Looks like the system ran out of memory")

And indeed, I see no other place in the file where logger could be defined.

@mikolmogorov
Copy link
Owner

Thanks for reporting, will address in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants