{"action":"created","issue":{"url":"https://api.github.com/repos/mholgatem/ThermOS/issues/18","repository_url":"https://api.github.com/repos/mholgatem/ThermOS","labels_url":"https://api.github.com/repos/mholgatem/ThermOS/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/mholgatem/ThermOS/issues/18/comments","events_url":"https://api.github.com/repos/mholgatem/ThermOS/issues/18/events","html_url":"https://github.com/mholgatem/ThermOS/issues/18","id":336051674,"node_id":"MDU6SXNzdWUzMzYwNTE2NzQ=","number":18,"title":"Error when trying to setup a Schedule","user":{"login":"theotherguy2175","id":6321643,"node_id":"MDQ6VXNlcjYzMjE2NDM=","avatar_url":"https://avatars3.githubusercontent.com/u/6321643?v=4","gravatar_id":"","url":"https://api.github.com/users/theotherguy2175","html_url":"https://github.com/theotherguy2175","followers_url":"https://api.github.com/users/theotherguy2175/followers","following_url":"https://api.github.com/users/theotherguy2175/following{/other_user}","gists_url":"https://api.github.com/users/theotherguy2175/gists{/gist_id}","starred_url":"https://api.github.com/users/theotherguy2175/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theotherguy2175/subscriptions","organizations_url":"https://api.github.com/users/theotherguy2175/orgs","repos_url":"https://api.github.com/users/theotherguy2175/repos","events_url":"https://api.github.com/users/theotherguy2175/events{/privacy}","received_events_url":"https://api.github.com/users/theotherguy2175/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-06-27T02:06:11Z","updated_at":"2018-07-02T01:49:03Z","closed_at":null,"author_association":"NONE","body":"The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.\r\n![capture](https://user-images.githubusercontent.com/6321643/41948929-1e2e42a8-798d-11e8-86df-c8d713c70189.PNG)\r\n"},"comment":{"url":"https://api.github.com/repos/mholgatem/ThermOS/issues/comments/401650685","html_url":"https://github.com/mholgatem/ThermOS/issues/18#issuecomment-401650685","issue_url":"https://api.github.com/repos/mholgatem/ThermOS/issues/18","id":401650685,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTY1MDY4NQ==","user":{"login":"theotherguy2175","id":6321643,"node_id":"MDQ6VXNlcjYzMjE2NDM=","avatar_url":"https://avatars3.githubusercontent.com/u/6321643?v=4","gravatar_id":"","url":"https://api.github.com/users/theotherguy2175","html_url":"https://github.com/theotherguy2175","followers_url":"https://api.github.com/users/theotherguy2175/followers","following_url":"https://api.github.com/users/theotherguy2175/following{/other_user}","gists_url":"https://api.github.com/users/theotherguy2175/gists{/gist_id}","starred_url":"https://api.github.com/users/theotherguy2175/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theotherguy2175/subscriptions","organizations_url":"https://api.github.com/users/theotherguy2175/orgs","repos_url":"https://api.github.com/users/theotherguy2175/repos","events_url":"https://api.github.com/users/theotherguy2175/events{/privacy}","received_events_url":"https://api.github.com/users/theotherguy2175/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T01:49:03Z","updated_at":"2018-07-02T01:49:03Z","author_association":"NONE","body":"this is the python log\r\n\r\npi@raspberrypi:~/ThermOS $ sudo python thermostat_web.py\r\n * Running on http://0.0.0.0:80/\r\n * Restarting with reloader\r\n192.168.0.108 - - [01/Jul/2018 21:48:27] \"GET /_liveUpdate HTTP/1.1\" 200 -\r\n192.168.0.108 - - [01/Jul/2018 21:48:32] \"GET /schedule HTTP/1.1\" 200 -\r\n192.168.0.108 - - [01/Jul/2018 21:48:32] \"GET /_liveUpdate HTTP/1.1\" 200 -\r\n192.168.0.108 - - [01/Jul/2018 21:48:32] \"GET /static/css/bootstrap-datetimepicker.min.css HTTP/1.1\" 304 -\r\n192.168.0.108 - - [01/Jul/2018 21:48:32] \"GET /static/bootstrap-datetimepicker.min.js HTTP/1.1\" 304 -\r\n192.168.0.108 - - [01/Jul/2018 21:48:35] \"GET /schedule/edit?id=new HTTP/1.1\" 500 -\r\nTraceback (most recent call last):\r\n  File \"/usr/share/pyshared/flask/app.py\", line 1836, in __call__\r\n    return self.wsgi_app(environ, start_response)\r\n  File \"/usr/share/pyshared/flask/app.py\", line 1820, in wsgi_app\r\n    response = self.make_response(self.handle_exception(e))\r\n  File \"/usr/share/pyshared/flask/app.py\", line 1403, in handle_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/usr/share/pyshared/flask/app.py\", line 1817, in wsgi_app\r\n    response = self.full_dispatch_request()\r\n  File \"/usr/share/pyshared/flask/app.py\", line 1477, in full_dispatch_request\r\n    rv = self.handle_user_exception(e)\r\n  File \"/usr/share/pyshared/flask/app.py\", line 1381, in handle_user_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/usr/share/pyshared/flask/app.py\", line 1475, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/usr/share/pyshared/flask/app.py\", line 1461, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n  File \"/home/pi/ThermOS/thermostat_web.py\", line 350, in schedule_edit\r\n    return render_template(\"schedule_edit_form.html\", entry=entry)\r\n  File \"/usr/share/pyshared/flask/templating.py\", line 127, in render_template\r\n    return _render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),\r\n  File \"/usr/lib/python2.7/dist-packages/jinja2/environment.py\", line 830, in get_or_select_template\r\n    return self.get_template(template_name_or_list, parent, globals)\r\n  File \"/usr/lib/python2.7/dist-packages/jinja2/environment.py\", line 791, in get_template\r\n    return self._load_template(name, self.make_globals(globals))\r\n  File \"/usr/lib/python2.7/dist-packages/jinja2/environment.py\", line 765, in _load_template\r\n    template = self.loader.load(self, name, globals)\r\n  File \"/usr/lib/python2.7/dist-packages/jinja2/loaders.py\", line 125, in load\r\n    code = environment.compile(source, name, filename)\r\n  File \"/usr/lib/python2.7/dist-packages/jinja2/environment.py\", line 554, in compile\r\n    self.handle_exception(exc_info, source_hint=source)\r\n  File \"/usr/lib/python2.7/dist-packages/jinja2/environment.py\", line 742, in handle_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/home/pi/ThermOS/templates/schedule_edit_form.html\", line 92, in template\r\n    <option value=\"{{ option }}\" {% if option is equalto (entry.date) %}selected{% endif %}>{{ option }}</option>\r\nTemplateAssertionError: no test named 'equalto'\r\n192.168.0.108 - - [01/Jul/2018 21:48:35] \"GET /schedule/edit?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1\" 200 -\r\n192.168.0.108 - - [01/Jul/2018 21:48:35] \"GET /schedule/edit?__debugger__=yes&cmd=resource&f=jquery.js HTTP/1.1\" 200 -\r\n192.168.0.108 - - [01/Jul/2018 21:48:35] \"GET /schedule/edit?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1\" 200 -\r\n192.168.0.108 - - [01/Jul/2018 21:48:35] \"GET /schedule/edit?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1\" 200 -\r\n192.168.0.108 - - [01/Jul/2018 21:48:35] \"GET /schedule/edit?__debugger__=yes&cmd=resource&f=source.png HTTP/1.1\" 200 -\r\n192.168.0.108 - - [01/Jul/2018 21:48:37] \"GET /_liveUpdate HTTP/1.1\" 200 -\r\n^Z\r\n[1]+  Stopped                 sudo python thermostat_web.py\r\n"}}
{"actor":{"display_login":"theotherguy2175"}}