{"action":"created","issue":{"url":"https://api.github.com/repos/googlei18n/nototools/issues/135","labels_url":"https://api.github.com/repos/googlei18n/nototools/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/googlei18n/nototools/issues/135/comments","events_url":"https://api.github.com/repos/googlei18n/nototools/issues/135/events","html_url":"https://github.com/googlei18n/nototools/issues/135","id":121909361,"number":135,"title":"breaks with a narrow python build","user":{"login":"gilbahat","id":5927621,"avatar_url":"https://avatars.githubusercontent.com/u/5927621?v=3","gravatar_id":"","url":"https://api.github.com/users/gilbahat","html_url":"https://github.com/gilbahat","followers_url":"https://api.github.com/users/gilbahat/followers","following_url":"https://api.github.com/users/gilbahat/following{/other_user}","gists_url":"https://api.github.com/users/gilbahat/gists{/gist_id}","starred_url":"https://api.github.com/users/gilbahat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilbahat/subscriptions","organizations_url":"https://api.github.com/users/gilbahat/orgs","repos_url":"https://api.github.com/users/gilbahat/repos","events_url":"https://api.github.com/users/gilbahat/events{/privacy}","received_events_url":"https://api.github.com/users/gilbahat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-13T09:22:43Z","updated_at":"2015-12-13T13:15:24Z","closed_at":null,"body":"$ python add_svg_glyphs.py\r\nTraceback (most recent call last):\r\n  File \"add_svg_glyphs.py\", line 37, in <module>\r\n    import add_emoji_gsub\r\n  File \"/Users/gilbahat/fonts/noto-fonts-master/add_emoji_gsub.py\", line 28, in <module>\r\n    from nototools import font_data\r\n  File \"/Users/gilbahat/fonts/noto-fonts-master/nototools/font_data.py\", line 21, in <module>\r\n    from nototools import opentype_data\r\n  File \"/Users/gilbahat/fonts/noto-fonts-master/nototools/opentype_data.py\", line 330, in <module>\r\n    _set_ompl()\r\n  File \"/Users/gilbahat/fonts/noto-fonts-master/nototools/opentype_data.py\", line 33, in _set_ompl\r\n    unicode_data.load_data()\r\n  File \"/Users/gilbahat/fonts/noto-fonts-master/nototools/unicode_data.py\", line 75, in load_data\r\n    _load_unicode_data_txt()\r\n  File \"/Users/gilbahat/fonts/noto-fonts-master/nototools/unicode_data.py\", line 457, in _load_unicode_data_txt\r\n    decomposition = [unichr(int(char, 16)) for char in decomposition]\r\nValueError: unichr() arg not in range(0x10000) (narrow Python build)\r\n\r\na narrow python build will be a common situation... and specifically there's this: https://github.com/Homebrew/homebrew/pull/32368 :("},"comment":{"url":"https://api.github.com/repos/googlei18n/nototools/issues/comments/164256072","html_url":"https://github.com/googlei18n/nototools/issues/135#issuecomment-164256072","issue_url":"https://api.github.com/repos/googlei18n/nototools/issues/135","id":164256072,"user":{"login":"anthrotype","id":6939968,"avatar_url":"https://avatars.githubusercontent.com/u/6939968?v=3","gravatar_id":"","url":"https://api.github.com/users/anthrotype","html_url":"https://github.com/anthrotype","followers_url":"https://api.github.com/users/anthrotype/followers","following_url":"https://api.github.com/users/anthrotype/following{/other_user}","gists_url":"https://api.github.com/users/anthrotype/gists{/gist_id}","starred_url":"https://api.github.com/users/anthrotype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthrotype/subscriptions","organizations_url":"https://api.github.com/users/anthrotype/orgs","repos_url":"https://api.github.com/users/anthrotype/repos","events_url":"https://api.github.com/users/anthrotype/events{/privacy}","received_events_url":"https://api.github.com/users/anthrotype/received_events","type":"User","site_admin":false},"created_at":"2015-12-13T13:15:24Z","updated_at":"2015-12-13T13:15:24Z","body":"You could try to use `from fontTools.misc.py23 import unichr`.\r\n\r\nhttps://github.com/behdad/fonttools/blob/master/Lib/fontTools/misc/py23.py#L20"}}