{"action":"created","issue":{"url":"https://api.github.com/repos/cve-search/cve-search/issues/89","labels_url":"https://api.github.com/repos/cve-search/cve-search/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/cve-search/cve-search/issues/89/comments","events_url":"https://api.github.com/repos/cve-search/cve-search/issues/89/events","html_url":"https://github.com/cve-search/cve-search/issues/89","id":107072806,"number":89,"title":"Error in index.py ( builtins.TypeError --- TypeError: 'bool' object is not callable)","user":{"login":"sugusrojo","id":14337361,"avatar_url":"https://avatars.githubusercontent.com/u/14337361?v=3","gravatar_id":"","url":"https://api.github.com/users/sugusrojo","html_url":"https://github.com/sugusrojo","followers_url":"https://api.github.com/users/sugusrojo/followers","following_url":"https://api.github.com/users/sugusrojo/following{/other_user}","gists_url":"https://api.github.com/users/sugusrojo/gists{/gist_id}","starred_url":"https://api.github.com/users/sugusrojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sugusrojo/subscriptions","organizations_url":"https://api.github.com/users/sugusrojo/orgs","repos_url":"https://api.github.com/users/sugusrojo/repos","events_url":"https://api.github.com/users/sugusrojo/events{/privacy}","received_events_url":"https://api.github.com/users/sugusrojo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":34,"created_at":"2015-09-17T20:57:15Z","updated_at":"2015-10-12T10:16:34Z","closed_at":"2015-10-06T17:15:46Z","body":"Hello! I am having a problem (Ubuntu 14.04 64-bit)\r\n\r\nI only happens in index.py\r\n\r\nIf I run minimal-web.py works OK .\r\nBut if I run Index.py, then enters 127.0.0.1:5000 shows me the following error\r\n\r\nWill I be able to help ? Thank you!\r\n\r\n**Error in Web Browser**\r\n```\r\nbuiltins.TypeError\r\n\r\nTypeError: 'bool' object is not callable\r\nTraceback (most recent call last)\r\n\r\n    File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1836, in __call__\r\n\r\n    return self.wsgi_app(environ, start_response)\r\n\r\n    File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1820, in wsgi_app\r\n\r\n    response = self.make_response(self.handle_exception(e))\r\n\r\n    File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1403, in handle_exception\r\n\r\n    reraise(exc_type, exc_value, tb)\r\n\r\n    File \"/usr/local/lib/python3.4/dist-packages/flask/_compat.py\", line 33, in reraise\r\n\r\n    raise value\r\n\r\n    File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1817, in wsgi_app\r\n\r\n    response = self.full_dispatch_request()\r\n\r\n    File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1477, in full_dispatch_request\r\n\r\n    rv = self.handle_user_exception(e)\r\n\r\n    File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1381, in handle_user_exception\r\n\r\n    reraise(exc_type, exc_value, tb)\r\n\r\n    File \"/usr/local/lib/python3.4/dist-packages/flask/_compat.py\", line 33, in reraise\r\n\r\n    raise value\r\n\r\n    File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1475, in full_dispatch_request\r\n\r\n    rv = self.dispatch_request()\r\n\r\n    File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1461, in dispatch_request\r\n\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n\r\n    File \"/home/csirt/cve-search/web/index.py\", line 273, in index\r\n\r\n     [Display the sourcecode for this frame]  [Open an interactive python shell in this frame] timeTypeSelect, cvssSelect, cvss, rejectedSelect, hideSeen, pageLength, 0)\r\n\r\n    File \"/home/csirt/cve-search/web/index.py\", line 177, in filter_logic\r\n\r\n    if current_user.is_authenticated():\r\n\r\n    TypeError: 'bool' object is not callable\r\n```\r\n**Error terminal:**\r\n\r\n```\r\n127.0.0.1 - - [17/Sep/2015 13:27:26] \"GET / HTTP/1.1\" 500 -\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1836, in __call__\r\n    return self.wsgi_app(environ, start_response)\r\n  File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1820, in wsgi_app\r\n    response = self.make_response(self.handle_exception(e))\r\n  File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1403, in handle_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/usr/local/lib/python3.4/dist-packages/flask/_compat.py\", line 33, in reraise\r\n    raise value\r\n  File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1817, in wsgi_app\r\n    response = self.full_dispatch_request()\r\n  File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1477, in full_dispatch_request\r\n    rv = self.handle_user_exception(e)\r\n  File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1381, in handle_user_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/usr/local/lib/python3.4/dist-packages/flask/_compat.py\", line 33, in reraise\r\n    raise value\r\n  File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1475, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/usr/local/lib/python3.4/dist-packages/flask/app.py\", line 1461, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n  File \"/home/csirt/cve-search/web/index.py\", line 273, in index\r\n    timeTypeSelect, cvssSelect, cvss, rejectedSelect, hideSeen, pageLength, 0)\r\n  File \"/home/csirt/cve-search/web/index.py\", line 177, in filter_logic\r\n    if current_user.is_authenticated():\r\nTypeError: 'bool' object is not callable\r\n127.0.0.1 - - [17/Sep/2015 13:27:26] \"GET /?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1\" 200 -\r\n127.0.0.1 - - [17/Sep/2015 13:27:26] \"GET /?__debugger__=yes&cmd=resource&f=jquery.js HTTP/1.1\" 200 -\r\n127.0.0.1 - - [17/Sep/2015 13:27:26] \"GET /?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1\" 200 -\r\n127.0.0.1 - - [17/Sep/2015 13:27:26] \"GET /?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1\" 200 -\r\n127.0.0.1 - - [17/Sep/2015 13:27:26] \"GET /?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1\" 200 -\r\n127.0.0.1 - - [17/Sep/2015 13:27:26] \"GET /?__debugger__=yes&cmd=resource&f=source.png HTTP/1.1\" 200 -\r\n```\r\n**Error Screenshot:**\r\n\r\n![Image of Yaktocat](http://i.imgur.com/DZANxLj.png)\r\n![Image of Yaktocat](http://i.imgur.com/ODNW8Qa.png)"},"comment":{"url":"https://api.github.com/repos/cve-search/cve-search/issues/comments/147358297","html_url":"https://github.com/cve-search/cve-search/issues/89#issuecomment-147358297","issue_url":"https://api.github.com/repos/cve-search/cve-search/issues/89","id":147358297,"user":{"login":"PidgeyL","id":8830839,"avatar_url":"https://avatars.githubusercontent.com/u/8830839?v=3","gravatar_id":"","url":"https://api.github.com/users/PidgeyL","html_url":"https://github.com/PidgeyL","followers_url":"https://api.github.com/users/PidgeyL/followers","following_url":"https://api.github.com/users/PidgeyL/following{/other_user}","gists_url":"https://api.github.com/users/PidgeyL/gists{/gist_id}","starred_url":"https://api.github.com/users/PidgeyL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PidgeyL/subscriptions","organizations_url":"https://api.github.com/users/PidgeyL/orgs","repos_url":"https://api.github.com/users/PidgeyL/repos","events_url":"https://api.github.com/users/PidgeyL/events{/privacy}","received_events_url":"https://api.github.com/users/PidgeyL/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T10:16:34Z","updated_at":"2015-10-12T10:16:34Z","body":"The flask developers themselves said not to upgrade to the newer version. We will keep an eye on the development, but for now, we will keep the version of 0.2.11\r\n"}}