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

Already on GitHub? Sign in to your account

ipengines fail if clean_logs enabled #2435

Closed
zonca opened this Issue Sep 27, 2012 · 2 comments

Comments

Projects
None yet
2 participants

zonca commented Sep 27, 2012

in ipython 1.4dev, if I set:

# whether to cleanup old logfiles before starting
c.IPEngineApp.clean_logs = True

in ipengine_config.py
many engines fail with this sort of error:

File "???????/site-packages/IPython/parallel/apps/baseapp.py", line 173, in reinit_logging
os.remove(os.path.join(log_dir, f))
OSError: [Errno 2] No such file or directory: '????zonca/.config/ipython/profile_default/log/ipengine-    21849.log'

can you please take a look at this issue?
thanks,
andrea

Owner

minrk commented Sep 27, 2012

See #2437 for possible fix

zonca commented Sep 27, 2012

tested launching 240 engines with some logs to clean, enabling clean_logs, works!

@minrk minrk closed this in 5cdc6db Sep 28, 2012

mindw added a commit to mindw/ipython that referenced this issue Oct 18, 2012

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment