onedrivecmd icon indicating copy to clipboard operation
onedrivecmd copied to clipboard

这个是什么情况 能上传不能下载

Open hatvgit opened this issue 8 years ago • 1 comments

root@debian-7-372187076-cp234:~# onedrivecmd get od:/speedtest.py
Traceback (most recent call last): File "/usr/local/bin/onedrivecmd", line 11, in sys.exit(main()) File "/usr/local/lib/python2.7/dist-packages/onedrivecmd/onedrivecmd.py", line 61, in main do_get(client, args) File "/usr/local/lib/python2.7/dist-packages/onedrivecmd/utils/actions.py", line 213, in do_get bar.next() File "/usr/local/lib/python2.7/dist-packages/progress/init.py", line 73, in next self.update() File "/usr/local/lib/python2.7/dist-packages/progress/bar.py", line 33, in update filled_length = int(self.width * self.progress) File "/usr/local/lib/python2.7/dist-packages/progress/init.py", line 103, in progress return min(1, self.index / self.max) ZeroDivisionError: division by zero

hatvgit avatar Sep 29 '17 11:09 hatvgit

有点看不懂。。。难道文件长度是0?

cnbeining avatar Sep 29 '17 15:09 cnbeining