Bug #7418
open[SDKs] Unhelpful 404 stack trace when trying to arv-copy a collection without access
0%
Description
Trying to copy https://workbench.tb05z.arvadosapi.com/collections/tb05z-4zz18-ooocid07llbtdil
bcosc@bcosc.qr1hi:~$ arv-copy --src tb05z --dst qr1hi tb05z-4zz18-ooocid07llbtdil
Traceback (most recent call last):
File "/usr/local/bin/arv-copy", line 4, in <module>
main()
File "/usr/local/lib/python2.7/dist-packages/arvados/commands/arv_copy.py", line 116, in main
set_src_owner_uuid(src_arv.collections(), args.object_uuid, args)
File "/usr/local/lib/python2.7/dist-packages/arvados/commands/arv_copy.py", line 148, in set_src_owner_uuid
c = resource.get(uuid=uuid).execute(num_retries=args.retries)
File "/usr/local/lib/python2.7/dist-packages/oauth2client/util.py", line 137, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/googleapiclient/http.py", line 729, in execute
raise HttpError(resp, content, uri=self.uri)
arvados.errors.ApiError: <HttpError 404 when requesting https://tb05z.arvadosapi.com/arvados/v1/collections/tb05z-4zz18-ooocid07llbtdil?alt=json returned "Path not found">
Inputting https://tb05z.arvadosapi.com/arvados/v1/collections/tb05z-4zz18-ooocid07llbtdil?alt=json in my browser gets me {"errors":["#<NoMethodError: undefined method `[]' for nil:NilClass>"],"error_token":"1443642113+421456db"}
Updated by Bryan Cosca about 9 years ago
also cannot ls it
bcosc.bu@shell.tb05z:~/keep/by_id$ ls 2f365f077cb984b55ed38baf2d8f1168+91
ls: cannot access 2f365f077cb984b55ed38baf2d8f1168+91: No such file or directory
Updated by Brett Smith about 9 years ago
- Subject changed from arv-copy log file did not work form tb05z to qr1hi to [SDKs] Unhelpful 404 stack trace when trying to arv-copy a collection without access
- Category set to SDKs
The original error happened because the shell account user did not have permission to access the collection.
The error message is very long and includes effectively no information to hint at that. It needs improving.
Updated by Brett Smith about 9 years ago
- Target version set to Arvados Future Sprints
Updated by Ward Vandewege over 3 years ago
- Target version deleted (
Arvados Future Sprints)