Skip to content

fail to upload with fit file of 0 byte #175

@alveoten

Description

@alveoten

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions