Closed Oyashirox closed 6 years ago
This sounds like it could be similar to #2607. Is colorama
installed on your system? What's the output from this command?
python -c "import colorama; colorama.init()"
Yep, it seems to be the same problem. Pip says colorama is already installed, and the instruction you gave completes without any return value.
Try putting this in a file and running it with Python in PowerShell;
from colorama import init, Fore, Back, Style
init()
print(Fore.RED + 'Red')
print(Fore.GREEN + 'Green')
print(Fore.BLUE + 'Blue')
print(Style.RESET_ALL)
Text is correctly colored
Indeed; this is an instance of https://github.com/beetbox/beets/issues/2607. Colorama does not work with the way we print bytes to the console on Python 3, and, unfortunately, there’s no clear way to work around this at the moment.
Problem
I just upgraded beets from I believe was 1.2.+ to 1.4.6, and now powershell does not display colors and gives some unreadable garbage output. It was working fine before upgrading.
Running this command in verbose (
-vv
) mode:Led to this problem:
Setup
My configuration (output of
beet config
) is: