etna icon indicating copy to clipboard operation
etna copied to clipboard

[BUG] file logger json corruption

Open martins0n opened this issue 1 year ago • 1 comments

🐛 Bug Report

config.json is not being flushed to the end while using FileLogger.

It seems problem is platform dependent: I have no problems with wsl2 ubuntu but m1 osx the example doesn't work.

Expected behavior

config.json should be not corrupted

How To Reproduce

You could run script from there https://github.com/tinkoff-ai/etna/pull/898

Environment

No response

Additional context

No response

Checklist

  • [X] Bug appears at the latest library version

martins0n avatar Sep 16 '22 08:09 martins0n

The script works fine on macOS 12.5.1 with Intel CPU.

Mr-Geekman avatar Sep 29 '22 13:09 Mr-Geekman