Exception: --- Logging error ---
almostintuitive opened this issue · 3 comments
almostintuitive commented
mmckerns commented
Could you please provide a minimal self-contained bit of code that reproduces the error message you are seeing? That would help us identify and diagnose what you are experiencing. Also, is it producing a ValueError
(e.g. log(0,2)
) or a TypeError
(e.g. log(None, 2)
) or something else?
mmckerns commented
I added a guard for the size calculation... but please reopen if this doesn't fix your issue (and please post minimal example code with the full traceback next time).
almostintuitive commented
Thanks! Unfortunately it was really hard to reproduce outside of our codebase. In the end what helped is to move an enum declaration to a standalone file. I can not explain why, but since then, we don't have this issue.