Skip to content

UnicodeDecodeError - so lost #140

@slackeroni

Description

@slackeroni

a friend of mine introduced me to soundscrape, and pretty much walked me through the whole process, I initially installed python 2.7.11 since it was working perfectly for him, and I further progressed to installing soundcrape on cmd upgrading it, now where i hit a brick wall is that when I attempted to download a few songs I kept getting an error:
C:\Users\pejma>soundscrape https://soundcloud.com/doucefrance/pulsometre
Active code page: 65001
Traceback (most recent call last):
File "c:\python27\lib\runpy.py", line 162, in run_module_as_main
"main", fname, loader, pkg_name)
File "c:\python27\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\Python27\Scripts\soundscrape.exe__main
.py", line 9, in
File "c:\python27\lib\site-packages\soundscrape\soundscrape.py", line 113, in main
process_soundcloud(vargs)
File "c:\python27\lib\site-packages\soundscrape\soundscrape.py", line 283, in process_soundcloud
id3_extras=id3_extras)
File "c:\python27\lib\site-packages\soundscrape\soundscrape.py", line 452, in download_tracks
puts_safe(colored.red("Problem downloading ") + colored.white(track['title']))
File "c:\python27\lib\site-packages\soundscrape\soundscrape.py", line 1153, in puts_safe
puts(text.encode(sys.stdout.encoding, errors='replace').decode())
File "c:\python27\lib\encodings\cp437.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_map)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 56: ordinal not in range(128)

Now whats really odd, even though i went through the same process as my friend did, he was able to download that particular file, and according to him, he didnt get the active code page: 65001 when trying to download.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions