Closed dannyheard7 closed 7 years ago
@dannyheard7, Thanks for sharing the issue. We have tested in Ubuntu based Linux environment where the above issue was not encountered. We need more details to understand the error. In the meanwhile, to proceed further review the Alternate download method in the README to obtain the datasets.
Full Trace:
File "/home/aca14dh/DCASE/DCASE-Task4/DCASE2017-baseline-system/dcase_framework/datasets.py", line 742, in download_packages
data=None
File "/home/aca14dh/.conda/envs/python2/lib/python2.7/urllib.py", line 98, in urlretrieve
return opener.retrieve(url, filename, reporthook, data)
File "/home/aca14dh/.conda/envs/python2/lib/python2.7/urllib.py", line 280, in retrieve
reporthook(blocknum, bs, size)
File "/home/aca14dh/DCASE/DCASE-Task4/DCASE2017-baseline-system/dcase_framework/datasets.py", line 722, in inner
t.update((b - last_b[0]) * bsize)
File "/home/aca14dh/.conda/envs/python2/lib/python2.7/site-packages/tqdm/_tqdm.py", line 992, in update
self.sp(self.__repr__())
File "/home/aca14dh/.conda/envs/python2/lib/python2.7/site-packages/tqdm/_tqdm.py", line 198, in print_status
fp_write('\r' + s + (' ' * max(last_len[0] - len_s, 0)))
File "/home/aca14dh/.conda/envs/python2/lib/python2.7/site-packages/tqdm/_tqdm.py", line 191, in fp_write
fp.write(_unicode(s))
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u258f' in position'latin-1' codec can't encode character u'\u258f' in position 48: ordinal not in range(256)
Enable use_ascii_progress_bar
in task4.defaults.yaml
Running with defaults on Scientific Linux 6.9, I am getting this encoding error when dowloading the files