etna-team / etna

ETNA – Time-Series Library
https://docs.etna.ai
Apache License 2.0
115 stars 7 forks source link

[BUG] file logger json corruption #18

Open Mr-Geekman opened 1 year ago

Mr-Geekman commented 1 year ago

Issue by martins0n Friday Sep 16, 2022 at 08:08 GMT Originally opened as https://github.com/tinkoff-ai/etna/issues/945


🐛 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

Mr-Geekman commented 1 year ago

Comment by Mr-Geekman Thursday Sep 29, 2022 at 13:14 GMT


The script works fine on macOS 12.5.1 with Intel CPU.

d-a-bunin commented 3 months ago

The script works fine on macOS 14.1 with M3 Pro CPU.