sync function error

Description

Email from user:
I am trying to sync the TESLA data using the python api as recommended in ‘how to download’ on the page https://www.synapse.org/#!Synapse:syn8233127
The directory downloaded successfully earlier, but as I try to sync it again (by running the same script, using the function synapseutils.syncFromSynapse), to take into account the changes you mentioned, I am getting this error:

Environment

None

Activity

Show:
Ziming Dong
May 24, 2017, 11:25 PM
Edited

in lock.py,
LOCK_DEFAULT_MAX_AGE is set to 2 hours and the DEFAULT_BLOCKING_TIMEOUT is 70 seconds, and the old lock won't be broken unless the age of lock > max age. 2 hours is way too long for a lock to expire.
The R client has a timeout of 10 seconds so I will also change LOCK_DEFAULT_MAX_AGE too 10 seconds. With this change, the lock should be acquired before blocking call for lock acquire times out.

Assignee

Ziming Dong

Reporter

Thomas Yu

Labels

None

Validator

Thomas Yu

Development Area

None

Release Version History

None

Fix versions

Priority

Major
Configure