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

Terminal color output regression since last release. #685

Open
3 tasks done
AndKe opened this issue Apr 17, 2024 · 3 comments
Open
3 tasks done

Terminal color output regression since last release. #685

AndKe opened this issue Apr 17, 2024 · 3 comments
Labels
unconfirmed bug Unconfirmed bug

Comments

@AndKe
Copy link

AndKe commented Apr 17, 2024

Summary

Terminal colors fail.

Reproduction Steps

1 Install latest release (which is not really working anymore)
2 Run in PyCharm, observe color coded log messages.
3 update to current master
4 run in PyCharm, observe that the colors are gone.
I originally thought this was a PyCharm issue, as colors works in VScode, and posted this:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/18152215956754-How-to-improve-Pycharm-run-output-with-colors

But I realize there is something odd about the current master that causes PyCharm to fail.

Code

(just about anything that uses the library)

Expected Results

colors, also in PyCharm, as it was in last release

Actual Results

see screenshot in https://intellij-support.jetbrains.com/hc/en-us/community/posts/18152215956754-How-to-improve-Pycharm-run-output-with-colors

System Information

  • Python v3.12.3-final
  • discord.py-self v2.1.0-alpha
    • discord.py-self metadata: v2.0.0
  • aiohttp v3.9.4
  • system info: Linux 6.8.0-22-generic Fix guild me #22-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 22:30:32 UTC 2024

Checklist

  • I have searched the open issues for duplicates.
  • I have shared the entire traceback.
  • I am using a user token (and it isn't visible in the code).

Additional Information

@AndKe AndKe added the unconfirmed bug Unconfirmed bug label Apr 17, 2024
@dolfies
Copy link
Owner

dolfies commented May 15, 2024

The color output code is unchanged from upstream discord.py. Can you reproduce it there?

@AndKe
Copy link
Author

AndKe commented May 25, 2024

for best testing, is it ok to install discord.py alongside discord.py-self in the same venv?

@dolfies
Copy link
Owner

dolfies commented May 25, 2024

No, they use the same namespace. You can try the renamed branch.

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

No branches or pull requests

2 participants