{"action":"created","issue":{"url":"https://api.github.com/repos/puppet-community/puppetboard/issues/124","labels_url":"https://api.github.com/repos/puppet-community/puppetboard/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/puppet-community/puppetboard/issues/124/comments","events_url":"https://api.github.com/repos/puppet-community/puppetboard/issues/124/events","html_url":"https://github.com/puppet-community/puppetboard/issues/124","id":59822865,"number":124,"title":"Query tab not working as expected","user":{"login":"juasiepo","id":1791808,"avatar_url":"https://avatars.githubusercontent.com/u/1791808?v=3","gravatar_id":"","url":"https://api.github.com/users/juasiepo","html_url":"https://github.com/juasiepo","followers_url":"https://api.github.com/users/juasiepo/followers","following_url":"https://api.github.com/users/juasiepo/following{/other_user}","gists_url":"https://api.github.com/users/juasiepo/gists{/gist_id}","starred_url":"https://api.github.com/users/juasiepo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juasiepo/subscriptions","organizations_url":"https://api.github.com/users/juasiepo/orgs","repos_url":"https://api.github.com/users/juasiepo/repos","events_url":"https://api.github.com/users/juasiepo/events{/privacy}","received_events_url":"https://api.github.com/users/juasiepo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-04T16:31:33Z","updated_at":"2015-03-05T09:04:08Z","closed_at":null,"body":"I have installed the puppetboard using Apache + mod_wsgi\r\nAll the tabs but **Query** work as expected: Overview, nodes , Facts\r\n\r\nIf i send a very basic query like **\"=\", \"name\", \"ipaddress\"** that works perfectly using curl\r\n**curl -X GET http://localhost:8080/v3/facts --data-urlencode 'query=[\"=\", \"name\", \"ipaddress\"]'**\r\nI get no answer.\r\n\r\nOn the logs i can see the following error:\r\n**[Wed Mar 04 17:38:54 2015] [error] /usr/lib/python2.6/site-packages/puppetboard/forms.py:12: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired**\r\n**[Wed Mar 04 17:38:54 2015] [error]   message='A query is required.')])**\r\n\r\nBut I am using a valid query **\"=\", \"name\", \"ipaddress\"**\r\n\r\nAny idea what is wrong with it?\r\n\r\nThanks for your time"},"comment":{"url":"https://api.github.com/repos/puppet-community/puppetboard/issues/comments/77329092","html_url":"https://github.com/puppet-community/puppetboard/issues/124#issuecomment-77329092","issue_url":"https://api.github.com/repos/puppet-community/puppetboard/issues/124","id":77329092,"user":{"login":"juasiepo","id":1791808,"avatar_url":"https://avatars.githubusercontent.com/u/1791808?v=3","gravatar_id":"","url":"https://api.github.com/users/juasiepo","html_url":"https://github.com/juasiepo","followers_url":"https://api.github.com/users/juasiepo/followers","following_url":"https://api.github.com/users/juasiepo/following{/other_user}","gists_url":"https://api.github.com/users/juasiepo/gists{/gist_id}","starred_url":"https://api.github.com/users/juasiepo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juasiepo/subscriptions","organizations_url":"https://api.github.com/users/juasiepo/orgs","repos_url":"https://api.github.com/users/juasiepo/repos","events_url":"https://api.github.com/users/juasiepo/events{/privacy}","received_events_url":"https://api.github.com/users/juasiepo/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T09:04:08Z","updated_at":"2015-03-05T09:04:08Z","body":"Yes, after every modification I restart the Apache server\r\n\r\nIt is strange, now I can see entries on the log file wile using the **nodes** tab:\r\n\r\n[Thu Mar 05 10:00:14 2015] [error] DEBUG:pypuppetdb.api:_query called with endpoint: nodes, path: None, query: None, limit: None, offset: None, summarize_by None, count_by None, count_filter: None\r\n[Thu Mar 05 10:00:14 2015] [error] DEBUG:pypuppetdb.api:_url called with endpoint: nodes and path: None\r\n[Thu Mar 05 10:00:14 2015] [error] INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): localhost\r\n[Thu Mar 05 10:00:14 2015] [error] DEBUG:requests.packages.urllib3.connectionpool:\"GET /v3/nodes HTTP/1.1\" 200 311\r\n[Thu Mar 05 10:00:14 2015] [error] DEBUG:pypuppetdb.api:_query called with endpoint: event-counts, path: None, query: [\"=\",\"latest-report?\",true], limit: None, offset: None, summarize_by certname, count_by None, count_filter: None\r\n[Thu Mar 05 10:00:14 2015] [error] DEBUG:pypuppetdb.api:_url called with endpoint: event-counts and path: None\r\n[Thu Mar 05 10:00:14 2015] [error] INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): localhost\r\n[Thu Mar 05 10:00:14 2015] [error] DEBUG:requests.packages.urllib3.connectionpool:\"GET /v3/event-counts?query=%5B%22%3D%22%2C%22latest-report%3F%22%2Ctrue%5D&summarize-by=certname HTTP/1.1\" 200 194\r\n\r\n**Facts** tab:\r\n[Thu Mar 05 10:01:42 2015] [error] DEBUG:pypuppetdb.api:_query called with endpoint: metrics, path: mbeans, query: None, limit: None, offset: None, summarize_by None, count_by None, count_filter: None\r\n[Thu Mar 05 10:01:42 2015] [error] DEBUG:pypuppetdb.api:_url called with endpoint: metrics and path: mbeans\r\n[Thu Mar 05 10:01:42 2015] [error] INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): localhost\r\n[Thu Mar 05 10:01:42 2015] [error] DEBUG:requests.packages.urllib3.connectionpool:\"GET /v3/metrics/mbeans HTTP/1.1\" 200 2294\r\n[Thu Mar 05 10:01:46 2015] [error] DEBUG:pypuppetdb.api:_query called with endpoint: fact-names, path: None, query: None, limit: None, offset: None, summarize_by None, count_by None, count_filter: None\r\n[Thu Mar 05 10:01:46 2015] [error] DEBUG:pypuppetdb.api:_url called with endpoint: fact-names and path: None\r\n[Thu Mar 05 10:01:46 2015] [error] INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): localhost\r\n[Thu Mar 05 10:01:46 2015] [error] DEBUG:requests.packages.urllib3.connectionpool:\"GET /v3/fact-names HTTP/1.1\" 200 620\r\n\r\nBut while sending queries using the **Query** tab nothing appears on the logs\r\n\r\n"}}