Giter VIP home page Giter VIP logo

Comments (8)

maxlath avatar maxlath commented on July 28, 2024

quite the same problem here

`--> mpsyt                                 
Traceback (most recent call last):
  File "/usr/local/bin/mpsyt", line 297, in <module>
    class Config(object):
  File "/usr/local/bin/mpsyt", line 308, in Config
    DDIR = get_default_ddir()
  File "/usr/local/bin/mpsyt", line 133, in get_default_ddir
    defn = [x for x in lines if x.startswith("XDG_DOWNLOAD_DIR")]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 28: ordinal not in range(128)

from yewtube.

thomasleveil avatar thomasleveil commented on July 28, 2024

@np1 325edff may be the source of this issue.

I also had another similar crash this morning while playing a playlist:
Problem fetching this item: 'ascii' codec can't encode character u'\u2022' in position 96: ordinal not in range(128)

from yewtube.

np1 avatar np1 commented on July 28, 2024

I can reproduce the original error reported in this issue by changing my download folder set in ~/.config/user-dirs/dirs to `XDG_DOWNLOAD_DIR="$HOME/DownloadsÉ"``)

Reverting commit https://github.com/np1/mps-youtube/commit/325edff68 fixes this, although it reintroduces the problem we had with Python 3 in the code for the status line:

`File "./mpsyt", line 1300, in mplayer_status
    if char in '\r\n':
TypeError: 'in <string>' requires string as left operand, not bytes

I will try to find a solution.

from yewtube.

np1 avatar np1 commented on July 28, 2024

Hi, for those experiencing this issue, please try the version on this branch: https://github.com/np1/mps-youtube/tree/issue50

You can download just the modified mpsyt here: https://raw.github.com/np1/mps-youtube/issue50/mpsyt

and run it with python mpsyt

Please let me know how it goes. Thanks.

from yewtube.

erkiha avatar erkiha commented on July 28, 2024

This is working fine, thanx.

from yewtube.

np1 avatar np1 commented on July 28, 2024

Good, thanks for testing. I will release a bug-fix version on PyPI and Github master branch soon if no other issues arise.

from yewtube.

maxlath avatar maxlath commented on July 28, 2024

Works fine here too, thanks!

from yewtube.

np1 avatar np1 commented on July 28, 2024

Thanks, I have released this now (v0.01.40)

from yewtube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.