Comment 0 for bug 917222

Revision history for this message
Roman Yepishev (rye) wrote : [precise] u1sdtool --info fails with unicode assert (empty Oops, an error ocurred:)

STR:
1. $ u1sdtool --info ~/Ubuntu\ One

Expected results:
Some output about the folder

Actual result:
Oops, an error ocurred:

verterok added some debug to trunk version and found this:
https://pastebin.canonical.com/58168/

Traceback (most recent call last):
  File "bin/u1sdtool", line 81, in main
    yield run(options, sync_daemon_tool, out)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "bin/u1sdtool", line 160, in <lambda>
    d.addCallback(lambda r: show_path_info(r, path, out))
  File "/home/guillermo/canonical/ubuntuone-client/trunk/ubuntuone/platform/tools/__init__.py", line 738, in show_path_info
    assert isinstance(path, unicode)
AssertionError