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

UnicodeDecodeError in play plugin #1041

Closed
multikatt opened this issue Oct 27, 2014 · 2 comments
Closed

UnicodeDecodeError in play plugin #1041

multikatt opened this issue Oct 27, 2014 · 2 comments

Comments

@multikatt
Copy link
Collaborator

when playing

└─[$] <git:(master*)> beet ls dislocation blues                                                                                                                           
Chris Whitley & Jeff Lang - dislocation blues - Stagger Lee
Chris Whitley & Jeff Lang - dislocation blues - Twelve Thousand Miles
Chris Whitley & Jeff Lang - dislocation blues - When I Paint My Masterpiece
Chris Whitley & Jeff Lang - dislocation blues - Rocket House
Chris Whitley & Jeff Lang - dislocation blues - The Road Leads Down
Chris Whitley & Jeff Lang - dislocation blues - Dislocation Blues
Chris Whitley & Jeff Lang - dislocation blues - Forever In My Life
Chris Whitley & Jeff Lang - dislocation blues - Velocity Girl
Chris Whitley & Jeff Lang - dislocation blues - Ravenswood
Chris Whitley & Jeff Lang - dislocation blues - Underground
Chris Whitley & Jeff Lang - dislocation blues - Changing Of The Guard
Chris Whitley & Jeff Lang - dislocation blues - Motion Bride

I'm getting

└─[$] <git:(master*)> beet -v play dislocation blues
user configuration: /home/tuff7/.config/beets/config.yaml
data directory: /home/tuff7/.config/beets
Sending event: pluginload
no config file found at /home/tuff7/.beetsconfig
library database: /home/tuff7/.config/beets/library.db
library directory: /home/tuff7/Music
Sending event: library_opened
Traceback (most recent call last):
  File "/usr/bin/beet", line 9, in <module>
    load_entry_point('beets==1.3.8', 'console_scripts', 'beet')()
  File "/usr/lib/python2.7/site-packages/beets/ui/__init__.py", line 964, in main
    _raw_main(args)
  File "/usr/lib/python2.7/site-packages/beets/ui/__init__.py", line 954, in _raw_main
    subcommand.func(lib, suboptions, subargs)
  File "/usr/lib/python2.7/site-packages/beetsplug/play.py", line 104, in play_music
    log.debug(u'Output of {0}: {1}'.format(command[0], output))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)
@sampsyo
Copy link
Member

sampsyo commented Oct 27, 2014

Thanks for the report! The above should fix it. Can you confirm whether that works now?

@multikatt
Copy link
Collaborator Author

Yes! Thanks for the quick fix.

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