{"action":"created","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/923","labels_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/923/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/923/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/923/events","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/923","id":60656363,"number":923,"title":"viewlogs.tmpl is considering log messages as HTML commands","user":{"login":"fernandog","id":2620870,"avatar_url":"https://avatars.githubusercontent.com/u/2620870?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandog","html_url":"https://github.com/fernandog","followers_url":"https://api.github.com/users/fernandog/followers","following_url":"https://api.github.com/users/fernandog/following{/other_user}","gists_url":"https://api.github.com/users/fernandog/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandog/subscriptions","organizations_url":"https://api.github.com/users/fernandog/orgs","repos_url":"https://api.github.com/users/fernandog/repos","events_url":"https://api.github.com/users/fernandog/events{/privacy}","received_events_url":"https://api.github.com/users/fernandog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/1:%20Bug%20/%20issue","name":"1: Bug / issue","color":"fc2929"},{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/3:%20Confirmed","name":"3: Confirmed","color":"0052cc"},{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/4:%20Fix%20pending","name":"4: Fix pending","color":"bfe5bf"},{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/branch:%20develop","name":"branch: develop","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-11T13:16:07Z","updated_at":"2015-03-11T14:34:11Z","closed_at":null,"body":"SR Version:\tBRANCH: (develop) / COMMIT: (7089fa9ac0959195e9ba4e642b2b7ae410bbe512) \r\nSR User:\tpi\r\nSR Locale:\t('pt_BR', 'UTF-8')\r\nSR Config file:\t/home/pi/SickRage/config.ini\r\nSR Database file:\t/home/pi/SickRage/sickbeard.db\r\nSR Cache Dir:\t/home/pi/SickRage/cache\r\nSR Arguments:\t['-q', '--daemon', '--nolaunch', '--pidfile=/var/run/sickrage/sickrage.pid', '--datadir=/home/pi/SickRage']\r\nSR Web Root:\t\r\nPython Version:\t2.7.3 (default, Mar 18 2014, 05:13:23) [GCC 4.6.3]\r\n\r\n**Error message**\r\n```\r\n2015-03-11 09:54:18 ERROR    Thread-17 :: Failed doing webui callback: Traceback (most recent call last):\r\n  File \"/home/pi/SickRage/sickbeard/webserve.py\", line 258, in async_call\r\n    result = function(**kwargs)\r\n  File \"/home/pi/SickRage/sickbeard/webserve.py\", line 3347, in manageTorrents\r\n    t = PageTemplate(rh=self, file=\"manage_torrents.tmpl\")\r\n  File \"/home/pi/SickRage/sickbeard/webserve.py\", line 110, in __init__\r\n    super(PageTemplate, self).__init__(*args, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/Cheetah/Template.py\", line 1259, in __init__\r\n    self._compile(source, file, compilerSettings=compilerSettings)\r\n  File \"/usr/lib/python2.7/dist-packages/Cheetah/Template.py\", line 1553, in _compile\r\n    keepRefToGeneratedCode=True)\r\n  File \"/home/pi/SickRage/sickbeard/webserve.py\", line 153, in compile\r\n    return super(PageTemplate, self).compile(*args, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/Cheetah/Template.py\", line 743, in compile\r\n    compiler.compile()\r\n  File \"/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py\", line 1664, in compile\r\n    self._parser.parse()\r\n  File \"/usr/lib/python2.7/dist-packages/Cheetah/Parser.py\", line 1497, in parse\r\n    self.assertEmptyOpenDirectivesStack()\r\n  File \"/usr/lib/python2.7/dist-packages/Cheetah/Parser.py\", line 2657, in assertEmptyOpenDirectivesStack\r\n    raise ParseError(self, msg=errorMsg)\r\nParseError: \r\n\r\nSome #directives are missing their corresponding #end ___ tag: if\r\nLine 22, column 92 in file /home/pi/SickRage/gui/slick/interfaces/default/manage_torrents.tmpl\r\n\r\nLine|Cheetah Code\r\n----|-------------------------------------------------------------\r\n19  |$info_download_station\r\n20  |<iframe id=\"extFrame\" src=\"$webui_url\" width=\"100%\" height=\"500\" frameBorder=\"0\" style=\"border: 1px black solid;\"></iframe>\r\n21  |\r\n22  |#include $os.path.join($sickbeard.PROG_DIR, \"gui/slick/interfaces/default/inc_bottom.tmpl\")\r\n```\r\n\r\n**appears in viewlog as:**\r\n\r\n![4](https://cloud.githubusercontent.com/assets/2620870/6596918/85a2f836-c7d7-11e4-9d09-154427d7cac8.png)\r\n"},"comment":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/comments/78274468","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/923#issuecomment-78274468","issue_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/923","id":78274468,"user":{"login":"fernandog","id":2620870,"avatar_url":"https://avatars.githubusercontent.com/u/2620870?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandog","html_url":"https://github.com/fernandog","followers_url":"https://api.github.com/users/fernandog/followers","following_url":"https://api.github.com/users/fernandog/following{/other_user}","gists_url":"https://api.github.com/users/fernandog/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandog/subscriptions","organizations_url":"https://api.github.com/users/fernandog/orgs","repos_url":"https://api.github.com/users/fernandog/repos","events_url":"https://api.github.com/users/fernandog/events{/privacy}","received_events_url":"https://api.github.com/users/fernandog/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T14:34:11Z","updated_at":"2015-03-11T14:34:11Z","body":"I was expecting this....=)\r\n\r\nfirst post updated - notice the new user and locale!\r\n"}}