{"action":"closed","issue":{"url":"https://api.github.com/repos/suttacentral/suttacentral/issues/203","repository_url":"https://api.github.com/repos/suttacentral/suttacentral","labels_url":"https://api.github.com/repos/suttacentral/suttacentral/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/suttacentral/suttacentral/issues/203/comments","events_url":"https://api.github.com/repos/suttacentral/suttacentral/issues/203/events","html_url":"https://github.com/suttacentral/suttacentral/issues/203","id":218057329,"number":203,"title":"Error on RaspberryPi: Failed to build the maintenance page","user":{"login":"jhanarato","id":872786,"avatar_url":"https://avatars0.githubusercontent.com/u/872786?v=4","gravatar_id":"","url":"https://api.github.com/users/jhanarato","html_url":"https://github.com/jhanarato","followers_url":"https://api.github.com/users/jhanarato/followers","following_url":"https://api.github.com/users/jhanarato/following{/other_user}","gists_url":"https://api.github.com/users/jhanarato/gists{/gist_id}","starred_url":"https://api.github.com/users/jhanarato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhanarato/subscriptions","organizations_url":"https://api.github.com/users/jhanarato/orgs","repos_url":"https://api.github.com/users/jhanarato/repos","events_url":"https://api.github.com/users/jhanarato/events{/privacy}","received_events_url":"https://api.github.com/users/jhanarato/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-30T01:42:35Z","updated_at":"2018-02-15T10:48:35Z","closed_at":"2018-02-15T10:48:35Z","author_association":"CONTRIBUTOR","body":"Hey folks,\r\n\r\nMy dear sister bought me a RaspberryPi a few weeks ago. I decided to see if I could get SC up and running.\r\n\r\nI started with the instructions [here](https://github.com/suttacentral/suttacentral/wiki/Developer-Setup-Guide) and got as far as step 7 - running the `invoke server` command. Everything worked until I got the following errors and stack trace:\r\n```\r\n[2017-03-28 10:14:37] INFO sc.textdata.build TIM is ready\r\nBuilding IMM\r\nFont family mapping matches no font file: NotoSansKR ({'name': 'Noto Sans KR', 'subset_languages': 'ko'})\r\nFont family mapping matches no font file: lumen-thai (Lumen Thai)\r\nFont family mapping matches no font file: NotoSerif ({'name': 'Noto Serif', 'subset_languages': '*'})\r\nFont family mapping matches no font file: NotoSansCJKsc ({'name': 'Noto Sans SC', 'subset_languages': ['zh', 'lzh']})\r\nFont family mapping matches no font file: SkolarPE ({'name': 'Skolar Sutta Web', 'subset_languages': '*'})\r\nFont family mapping matches no font file: NotoSansJP ({'name': 'Noto Sans JP', 'subset_languages': 'jp'})\r\nFont family mapping matches no font file: skolar-devanagari (Skolar Devanagari)\r\nFont family mapping matches no font file: ko-pub-batang (Ko Pub Batang)\r\nFont family mapping matches no font file: noto-sans ({'name': 'Noto Sans', 'subset_languages': '*'})\r\nFont family mapping matches no font file: noto-sans-hebrew (Noto Sans Hebrew)\r\nFont family mapping matches no font file: NotoSansCJKtc ({'name': 'Noto Sans TC', 'subset_languages': ['zh', 'lzh']})\r\nFont family mapping matches no font file: SkolarSansPE ({'name': 'Skolar Sans', 'subset_languages': '*'})\r\nFont family mapping matches no font file: NotoSansTibetan (Noto Sans Tibetan)\r\nCould not build maitenance page\r\nTraceback (most recent call last):\r\n  File \"/home/pi/suttacentral/sc/show.py\", line 361, in <module>\r\n    build_maitenance_page()\r\n  File \"/home/pi/suttacentral/sc/show.py\", line 356, in build_maitenance_page\r\n    html = GenericView('errors/maintenance', {}).render()\r\n  File \"/home/pi/suttacentral/sc/views.py\", line 236, in render\r\n    template = self.get_template()\r\n  File \"/home/pi/suttacentral/sc/views.py\", line 163, in get_template\r\n    return self.env.get_template(template_name)\r\n  File \"/home/pi/suttacentral/sc/views.py\", line 146, in env\r\n    return jinja2_environment()\r\n  File \"/home/pi/suttacentral/sc/views.py\", line 44, in jinja2_environment\r\n    __jinja2_environment = build_jinja2_environment()\r\n  File \"/home/pi/suttacentral/sc/views.py\", line 55, in build_jinja2_environment\r\n    env.assets_environment = assets.get_env()\r\n  File \"/home/pi/suttacentral/sc/assets.py\", line 103, in get_env\r\n    sc_data_scripts_file = get_js_datascripts_filename()\r\n  File \"/home/pi/suttacentral/sc/assets.py\", line 184, in get_js_datascripts_filename\r\n    tasks.jsdata.build(minify=True, quiet=True)\r\n  File \"/home/pi/.pyenv/versions/3.5.0/envs/suttacentral/lib/python3.5/site-packages/invoke/tasks.py\", line 107, in __call__\r\n    if not isinstance(args[0], Context):\r\nIndexError: tuple index out of range\r\nFailed to build the maitenace page, this indicates critical problems, exiting\r\n```\r\n\r\nYour assistance is most welcome. :-)\r\n\r\nVen. J.R."}}
{"actor":{"display_login":"sujato"}}