Public bug reported:
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[argv[i]](argv[i+1:])
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://linux.dropbox.com/ubuntu/ oneiric/main i386 Packages
100 /var/lib/dpkg/status
0.6.8-1 0
500 http://de2.archive.ubuntu.com/ubuntu/ oneiric/multiverse i386
Packages
** Affects: nautilus-dropbox (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1049043
Title:
dropbox filestatus crashes in a dir with only unsynced files
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus-dropbox/+bug/1049043/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs