{"action":"created","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2443","labels_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2443/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2443/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2443/events","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/2443","id":100051099,"number":2443,"title":"Mako don't accept new line filter in Windows","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/Upstream","name":"Upstream","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-10T12:23:59Z","updated_at":"2015-08-10T13:58:40Z","closed_at":null,"body":"Its works in Linux but not in windows\r\n\r\nIf I remove the backslash and put everything in one line it works\r\n\r\n``` \r\n% if sickbeard.USE_TORRENTS and sickbeard.TORRENT_METHOD != 'blackhole' \\\r\nand (sickbeard.ENABLE_HTTPS and sickbeard.TORRENT_HOST[:5] == 'https' \\\r\nor not sickbeard.ENABLE_HTTPS and sickbeard.TORRENT_HOST[:5] == 'http:'):\r\n```\r\n\r\n```\r\nError !\r\n\r\nCompileException: Fragment 'if sickbeard.USE_TORRENTS and sickbeard.TORRENT_METHOD != 'blackhole' \\' is not a partial control statement in file 'C:\\Users\\fernando\\Documents\\GitHub\\SickRage\\gui/slick/interfaces/default/inc_top.mako' at line: 196 char: 1\r\n\r\n% if sickbeard.USE_EMBY and sickbeard.EMBY_HOST != \"\" and sickbeard.EMBY_APIKEY != \"\": <li><a href=\"${sbRoot}/home/updateEMBY/\"><i class=\"menu-icon-backlog-view\"></i>&nbsp;Update Emby</a></li> % endif % if sickbeard.USE_TORRENTS and sickbeard.TORRENT_METHOD != 'blackhole' \\ and (sickbeard.ENABLE_HTTPS and sickbeard.TORRENT_HOST[:5] == 'https' \\ or not sickbeard.ENABLE_HTTPS and sickbeard.TORRENT_HOST[:5] == 'http:'): <li><a href=\"${sbRoot}/manage/manageTorrents/\"><i class=\"menu-icon-bittorrent\"></i>&nbsp;Manage Torrents</a></li> % endif % if sickbeard.USE_FAILED_DOWNLOADS:\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\lib\\mako\\ast.py, line 87:\r\ncode, **exception_kwargs)\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\lib\\mako\\parsetree.py, line 83:\r\ncode = ast.PythonFragment(text, **self.exception_kwargs)\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\lib\\mako\\lexer.py, line 134:\r\nnode = nodecls(*args, **kwargs)\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\lib\\mako\\lexer.py, line 429:\r\nself.append_node(parsetree.ControlLine, keyword, isend, text)\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\lib\\mako\\lexer.py, line 237:\r\nif self.match_control_line():\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\lib\\mako\\template.py, line 657:\r\nnode = lexer.parse()\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\lib\\mako\\template.py, line 692:\r\ngenerate_magic_comment=True)\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\lib\\mako\\template.py, line 378:\r\nself.module_writer)\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\lib\\mako\\template.py, line 322:\r\nmodule = self._compile_from_file(path, filename)\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\lib\\mako\\lookup.py, line 318:\r\n**self.template_args)\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\lib\\mako\\lookup.py, line 253:\r\nreturn self._load(srcfile, uri)\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\lib\\mako\\runtime.py, line 793:\r\nreturn lookup.get_template(uri)\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\lib\\mako\\runtime.py, line 748:\r\ntemplate = _lookup_template(context, uri, calling_uri)\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\gui/slick/interfaces/default/home.mako, line 10:\r\n<%include file=\"/inc_top.mako\"/>\r\nC:\\Users\\fernando\\Documents\\GitHub\\SickRage\\lib\\mako\\runtime.py, line 883:\r\ncallable_(context, *args, **kwargs)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/comments/129462602","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/2443#issuecomment-129462602","issue_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2443","id":129462602,"user":{"login":"zzzeek","id":128223,"avatar_url":"https://avatars.githubusercontent.com/u/128223?v=3","gravatar_id":"","url":"https://api.github.com/users/zzzeek","html_url":"https://github.com/zzzeek","followers_url":"https://api.github.com/users/zzzeek/followers","following_url":"https://api.github.com/users/zzzeek/following{/other_user}","gists_url":"https://api.github.com/users/zzzeek/gists{/gist_id}","starred_url":"https://api.github.com/users/zzzeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzzeek/subscriptions","organizations_url":"https://api.github.com/users/zzzeek/orgs","repos_url":"https://api.github.com/users/zzzeek/repos","events_url":"https://api.github.com/users/zzzeek/events{/privacy}","received_events_url":"https://api.github.com/users/zzzeek/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T13:58:40Z","updated_at":"2015-08-10T13:58:40Z","body":"no known issue with newline filters under windows."}}