Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Bad error message (?bad logic?) on query #84

Closed
klahnakoski opened this issue Oct 24, 2018 · 3 comments
Closed

Bad error message (?bad logic?) on query #84

klahnakoski opened this issue Oct 24, 2018 · 3 comments

Comments

@klahnakoski
Copy link
Contributor

{
	"from":"treeherder",
	"where":{"and":[
		{"in":{"run.result":["busted","exception","testfailed"]}},
		{"neq":{"failure.notes.failure_classification":"autoclassified intermittent"}}
	]},
	"limit":1
}

results in

caused by Expecting a Mapping
	File datas.py, line 546, in _iadd

here is full error

Call to ActiveData failed
	File ESQueryRunner.js, line 33, in ActiveDataQuery
	File thread.js, line 247, in Thread_prototype_resume
	File thread.js, line 226, in retval
	File Rest.js, line 46, in Rest.send/ajaxParam.error
	File Rest.js, line 100, in Rest.send/request.onreadystatechange
caused by Error while calling /query
caused by Bad response (400)
caused by problem
	File __init__.py, line 161, in query
	File jx.py, line 77, in run
	File query.py, line 63, in jx_query
	File flask_wrappers.py, line 55, in output
	File app.py, line 1461, in dispatch_request
	File app.py, line 1475, in full_dispatch_request
	File app.py, line 1817, in wsgi_app
	File app.py, line 1836, in __call__
	File sync.py, line 176, in handle_request
	File sync.py, line 135, in handle
	File sync.py, line 30, in accept
	File sync.py, line 68, in run_for_one
	File sync.py, line 124, in run
	File base.py, line 131, in init_process
	File arbiter.py, line 578, in spawn_worker
	File arbiter.py, line 611, in spawn_workers
	File arbiter.py, line 544, in manage_workers
	File arbiter.py, line 202, in run
	File base.py, line 72, in run
	File base.py, line 203, in run
	File wsgiapp.py, line 74, in run
	File gunicorn, line 11, in <module>
caused by Expecting a Mapping
	File datas.py, line 546, in _iadd
	File datas.py, line 189, in __iadd__
	File expressions.py, line 1513, in split_expression_by_depth
	File expressions.py, line 1550, in split_expression_by_path
	File setop.py, line 61, in es_setop
	File __init__.py, line 154, in query
	File jx.py, line 77, in run
	File query.py, line 63, in jx_query
	File flask_wrappers.py, line 55, in output
	File app.py, line 1461, in dispatch_request
	File app.py, line 1475, in full_dispatch_request
	File app.py, line 1817, in wsgi_app
	File app.py, line 1836, in __call__
	File sync.py, line 176, in handle_request
	File sync.py, line 135, in handle
	File sync.py, line 30, in accept
	File sync.py, line 68, in run_for_one
	File sync.py, line 124, in run
	File base.py, line 131, in init_process
	File arbiter.py, line 578, in spawn_worker
	File arbiter.py, line 611, in spawn_workers
	File arbiter.py, line 544, in manage_workers
	File arbiter.py, line 202, in run
	File base.py, line 72, in run
	File base.py, line 203, in run
	File wsgiapp.py, line 74, in run
	File gunicorn, line 11, in <module>
@klahnakoski
Copy link
Contributor Author

fix 81467b7

@klahnakoski
Copy link
Contributor Author

@klahnakoski
Copy link
Contributor Author

bad fix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant