Skip to content

ipengines fail if clean_logs enabled #2435

@zonca

Description

@zonca

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions