We're updating the issue view to help you get more done.Learn more

PY: Error in login with rememberMe=True

1 2 3 4 5 6 7 8 9 10 11 12 13 14 > syn.login('me@somewhere.org', 'secret', rememberMe=True) TypeError Traceback (most recent call last) <ipython-input-8-cb5cf3b5edbb> in <module>() ----> 1 syn.login('me@somewhere.org', 'secret', rememberMe=True) /Users/chris/Documents/work/projects/pythonClient/synapseclient/client.pyc in login(self, email, password, apiKey, sessionToken, rememberMe, silent) 331 if rememberMe: 332 cachedSessions = self._readSessionCache() --> 333 cachedSessions[self.username] = base64.b64encode(self.apiKey) 334 335 # Note: make sure this key cannot conflict with usernames by using invalid username characters TypeError: list indices must be integers, not str

Status

Assignee

Ziming Dong

Reporter

Chris Bare

Labels

Validator

Xavier Schildwachter

Components

Fix versions

Priority

Major