dropbox filestatus crashes in a dir with only unsynced files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nautilus-dropbox (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When running "dropbox filestatus" in a directory which only contains files which are no longer synced, the tool crashes with the following error:
% dropbox filestatus (-a)
Traceback (most recent call last):
File "/usr/bin/dropbox", line 1360, in <module>
ret = main(sys.argv)
File "/usr/bin/dropbox", line 1349, in main
result = commands[
File "/usr/bin/dropbox", line 694, in newmeth
return meth(*n, **kw)
File "/usr/bin/dropbox", line 935, in filestatus
indent = max(len(st)+1 for st in args)
ValueError: max() arg is an empty sequence
In any other directory it works as expected, as does
% dropbox filestatus -l
<empty>
% LC_ALL=C apt-cache policy nautilus-dropbox
nautilus-dropbox:
Installed: 1.4.0
Candidate: 1.4.0
Version table:
*** 1.4.0 0
500 http://
100 /var/lib/
0.6.8-1 0
500 http://