Problems with updated query system

Description

Trying to run 'select id from project limit 100' just hangs.
On portal, I'm getting 'The scope of your query is too broad'.

Repro:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 (plfm4314) charon-vpn-010100:plfm-4334 xavier$ python3 Python 3.6.1 (default, Mar 30 2017, 22:19:26) [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.38)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import synapseclient >>> c = synapseclient.Synapse() >>> c.authEndpoint = "https://repo-staging.prod.sagebase.org/auth/v1" >>> c.repoEndpoint = "https://repo-staging.prod.sagebase.org/repo/v1" >>> c.fileHandleEndpoint = "https://repo-staging.prod.sagebase.org/file/v1" >>> c.login() Welcome, Xa Scw! >>> r = c.query("select id from project limit 100") ^CTraceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/xavier/.virtualenvs/plfm4314/lib/python3.6/site-packages/synapseclient/client.py", line 1383, in query return self.restGET('/query?query=' + quote(queryStr)) File "/Users/xavier/.virtualenvs/plfm4314/lib/python3.6/site-packages/synapseclient/client.py", line 3393, in restGET response = _with_retry(lambda: requests.get(uri, headers=headers, **kwargs), verbose=self.debug, **retryPolicy) File "/Users/xavier/.virtualenvs/plfm4314/lib/python3.6/site-packages/synapseclient/retry.py", line 91, in _with_retry time.sleep(randomized_wait) KeyboardInterrupt

Environment

1.6x vs 180.0-10x

Status

Assignee

Kimyen Truong

Reporter

Xavier Schildwachter

Labels

None

Validator

Xavier Schildwachter

Release Version History

None

Components

Fix versions

Affects versions

py-1.6

Priority

Major
Configure