Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys.stderr trunc traceback, colorama problem #367

Open
zN3utr4l opened this issue Nov 30, 2022 · 3 comments
Open

sys.stderr trunc traceback, colorama problem #367

zN3utr4l opened this issue Nov 30, 2022 · 3 comments

Comments

@zN3utr4l
Copy link

I submitted an issue in this repository that use colorama as dependency: 'https://github.com/Delgan/loguru', this is the link of the issue Delgan/loguru#754 (comment), i can confirm @Delgan is right (Delgan/loguru#754 (comment)), with the latest version 0.4.6 the message in console is trunced, while with 0.4.5 version all works great

@njsmith
Copy link
Collaborator

njsmith commented Nov 30, 2022 via email

@zN3utr4l
Copy link
Author

this is the func, if i put self._stream.flush() at the beginnig all works, thanks

def write(self, message):
        self._stream.write(message)
        if self._flushable:
            self._stream.flush()

@zN3utr4l
Copy link
Author

zN3utr4l commented Dec 1, 2022

This only happens on Windows

@Delgan think this, Delgan/loguru#754 (comment)
Could the problem be related to the new function just_fix_windows_console() ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants