synapse get syn4988808 KeyError: u'preSignedURL'

Description

On command line, running 'synapse get syn4988808'.

Environment

None

Activity

Show:
Larsson Omberg
May 16, 2017, 7:37 AM

Could this be due to the new sharing setting "View" without Download permissions? Is the client still trying to download the file even if it doesn't have permission and generates a bad error message.

Kenneth Daily
May 16, 2017, 4:11 PM

Actually, further inspection shows the behavior is as expected in release 1.6.1 (403 error). I was running from develop branch, which reports version 1.6.1 (commit 2e560c6):

Head of develop now (commit eff4556) gives:

Larsson Omberg
May 16, 2017, 9:52 PM

Yepp, we assume that if we can see the file we will be able to download it.

Larsson Omberg
May 20, 2017, 1:10 AM

Catch this and add a nicer error message. Could also be used to check if there are access restrictions?

Xavier Schildwachter
June 15, 2017, 2:12 PM

I see the new warning.
Verified fixed py-1.7 vs stack-185.

Assignee

Ziming Dong

Reporter

Kenneth Daily

Labels

None

Validator

Xavier Schildwachter

Development Area

None

Release Version History

None

Fix versions

Affects versions

Priority

Major
Configure