Tigge/antfs-cli

fail to upload with fit file of 0 byte

alveoten opened this issue · 0 comments

Hi,
sometimes my 310xt create 0 bytes files.
When start to upload the script die.
this is the traceback:
Traceback (most recent call last): File "build/bdist.linux-x86_64/egg/antfs_cli/program.py", line 356, in main g.start() File "/usr/local/lib/python2.7/dist-packages/ant/fs/manager.py", line 217, in start self._main() File "/usr/local/lib/python2.7/dist-packages/ant/fs/manager.py", line 155, in _main self.on_transport(beacon) File "build/bdist.linux-x86_64/egg/antfs_cli/program.py", line 251, in on_transport index = self.upload_file(typ, filename) File "build/bdist.linux-x86_64/egg/antfs_cli/program.py", line 295, in upload_file index = self.create(typ, data, AntFSCLI._get_progress_callback()) File "/usr/local/lib/python2.7/dist-packages/ant/fs/manager.py", line 248, in create self.upload(result.get_index(), data, callback) File "/usr/local/lib/python2.7/dist-packages/ant/fs/manager.py", line 268, in upload upload_response._get_argument("response")) AntFSUploadException: ('Upload request failed', 2) Interrupted: ('Upload request failed', 2)