Project

General

Profile

Actions

Bug #3084

closed

'arv keep put zerobytefile' gives an error

Added by Abram Connelly over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
0.5

Description

An error message occurs When trying to upload a 0 byte file to the keep server with 'arv keep put'.

For example:

$ touch zerobytefile
$ arv keep put zerobytefile
Traceback (most recent call last):
File "/usr/local/bin/arv-put", line 4, in <module>
main()
File "/usr/local/lib/python2.7/dist-packages/arvados/commands/put.py", line 394, in main
'manifest_text': writer.manifest_text(),
File "/usr/local/lib/python2.7/dist-packages/oauth2client/util.py", line 132, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/apiclient/http.py", line 723, in execute
raise HttpError(resp, content, uri=self.uri)
apiclient.errors.HttpError: <HttpError 422 when requesting https://qr1hi.arvadosapi.com/arvados/v1/collections?alt=json returned "Unprocessable Entity">
Actions

Also available in: Atom PDF