FIle share tab crashes with invalid filenames
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu One Control Panel | Status tracked in Trunk | |||||
Stable-4-2 |
Fix Released
|
Undecided
|
Unassigned | |||
Trunk |
Fix Released
|
Low
|
Diego Sarmentero |
Bug Description
If you have, in a UDF, an invalid filename (for example, a ISO-8859-1 filename in Ubuntu, which expects UTF-8), there is a crash in u1cp:
Traceback (most recent call last):
File "/home/
folders_data += self.get_
File "/home/
for root, _, files in os.walk(folder):
File "/usr/lib/
for x in walk(new_path, topdown, onerror, followlinks):
File "/usr/lib/
if isdir(join(top, name)):
File "/usr/lib/
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf1 in position 17: ordinal not in range(128)
Related branches
- Mike McCracken (community): Approve
- Roberto Alsina (community): Approve
-
Diff: 623 lines (+130/-197)8 files modifiedubuntuone/controlpanel/backend.py (+7/-0)
ubuntuone/controlpanel/gui/qt/share_links_search.py (+30/-91)
ubuntuone/controlpanel/gui/qt/tests/__init__.py (+1/-0)
ubuntuone/controlpanel/gui/qt/tests/test_gui.py (+0/-3)
ubuntuone/controlpanel/gui/qt/tests/test_share_links.py (+0/-2)
ubuntuone/controlpanel/gui/qt/tests/test_share_links_search.py (+73/-101)
ubuntuone/controlpanel/sd_client/__init__.py (+4/-0)
ubuntuone/controlpanel/tests/test_backend.py (+15/-0)
Changed in ubuntuone-control-panel: | |
importance: | Undecided → Low |
status: | New → Triaged |
assignee: | nobody → Diego Sarmentero (diegosarmentero) |
Fixed with the new implementation.