Subdownloader crashs with accents
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
SubDownloader | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Undecided
|
Alessandro Losavio | |||
subdownloader (Debian) |
Fix Released
|
Unknown
|
Bug Description
Hi!
When the video path has a special characters (as spanish accent) Subdownloader crashs.
As example, my "Vídeos" folder:
marcos@laptop:~$ subdownloader
Traceback (most recent call last):
File "/usr/share/
destinationPath = self.getDownloa
File "/usr/share/
downloadFul
File "/usr/lib/
return codecs.
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 14: ordinal not in range(128)
marcos@laptop:~$
I inserted
print(folderPath, subFileName)
on line 1012 of /usr/share/
This is the path value for /home/marcos/
(u'/home/
I think the .decode('utf8') not works, and I just try with 'utf-8' and same result.
If I rename the folder without accent, all works right.
Best regards and thanks.
Related branches
description: | updated |
description: | updated |
Changed in subdownloader: | |
milestone: | none → 2.0.17-1 |
Changed in subdownloader (Debian): | |
status: | Unknown → Confirmed |
Changed in subdownloader (Debian): | |
status: | Confirmed → Fix Released |
Does this bug still exist? Could you give us more informations please?
To best way to do this is to run in a terminal:
apport-collect: 913453
Thanks!