{"action":"created","issue":{"url":"https://api.github.com/repos/dunovank/jupyter-themes/issues/231","repository_url":"https://api.github.com/repos/dunovank/jupyter-themes","labels_url":"https://api.github.com/repos/dunovank/jupyter-themes/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/dunovank/jupyter-themes/issues/231/comments","events_url":"https://api.github.com/repos/dunovank/jupyter-themes/issues/231/events","html_url":"https://github.com/dunovank/jupyter-themes/issues/231","id":296536239,"number":231,"title":"Setting a theme throws \"UnicodeDecodeError\"","user":{"login":"tastyminerals","id":7676160,"avatar_url":"https://avatars0.githubusercontent.com/u/7676160?v=4","gravatar_id":"","url":"https://api.github.com/users/tastyminerals","html_url":"https://github.com/tastyminerals","followers_url":"https://api.github.com/users/tastyminerals/followers","following_url":"https://api.github.com/users/tastyminerals/following{/other_user}","gists_url":"https://api.github.com/users/tastyminerals/gists{/gist_id}","starred_url":"https://api.github.com/users/tastyminerals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tastyminerals/subscriptions","organizations_url":"https://api.github.com/users/tastyminerals/orgs","repos_url":"https://api.github.com/users/tastyminerals/repos","events_url":"https://api.github.com/users/tastyminerals/events{/privacy}","received_events_url":"https://api.github.com/users/tastyminerals/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-12T21:48:22Z","updated_at":"2018-02-23T16:55:12Z","closed_at":null,"author_association":"NONE","body":"The error is thrown in anaconda virtual environment.\r\n\r\n```shell\r\n$ pip install jupyterthemes\r\n```\r\n```\r\n$ jt -l\r\nAvailable Themes: \r\n   chesterish\r\n   grade3\r\n   gruvboxd\r\n   gruvboxl\r\n   monokai\r\n   oceans16\r\n   onedork\r\n   solarizedd\r\n   solarizedl\r\n```\r\n```\r\n$ jt -t onedork\r\nTraceback (most recent call last):\r\n  File \"/home/letian/anaconda3/envs/tfdeeplearning/bin/jt\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/home/letian/anaconda3/envs/tfdeeplearning/lib/python3.5/site-packages/jupyterthemes/__init__.py\", line 305, in main\r\n    dfonts=args.defaultfonts)\r\n  File \"/home/letian/anaconda3/envs/tfdeeplearning/lib/python3.5/site-packages/jupyterthemes/__init__.py\", line 101, in install_theme\r\n    style_css = stylefx.less_to_css(style_less)\r\n  File \"/home/letian/anaconda3/envs/tfdeeplearning/lib/python3.5/site-packages/jupyterthemes/stylefx.py\", line 63, in less_to_css\r\n    style_css = lesscpy.compile(tempfile)\r\n  File \"/home/letian/anaconda3/envs/tfdeeplearning/lib/python3.5/site-packages/lesscpy/__init__.py\", line 18, in compile\r\n    p.parse(file=file)\r\n  File \"/home/letian/anaconda3/envs/tfdeeplearning/lib/python3.5/site-packages/lesscpy/lessc/parser.py\", line 154, in parse\r\n    file, lexer=self.lex, debug=debuglevel)\r\n  File \"/home/letian/anaconda3/envs/tfdeeplearning/lib/python3.5/site-packages/ply/yacc.py\", line 331, in parse\r\n    return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)\r\n  File \"/home/letian/anaconda3/envs/tfdeeplearning/lib/python3.5/site-packages/ply/yacc.py\", line 1024, in parseopt_notrack\r\n    lexer.input(input)\r\n  File \"/home/letian/anaconda3/envs/tfdeeplearning/lib/python3.5/site-packages/lesscpy/lessc/lexer.py\", line 475, in input\r\n    self.lexer.input(f.read())\r\n  File \"/home/letian/anaconda3/envs/tfdeeplearning/lib/python3.5/encodings/ascii.py\", line 26, in decode\r\n    return codecs.ascii_decode(input, self.errors)[0]\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 42624: ordinal not in range(128)\r\n```"},"comment":{"url":"https://api.github.com/repos/dunovank/jupyter-themes/issues/comments/368068701","html_url":"https://github.com/dunovank/jupyter-themes/issues/231#issuecomment-368068701","issue_url":"https://api.github.com/repos/dunovank/jupyter-themes/issues/231","id":368068701,"user":{"login":"dunovank","id":3844814,"avatar_url":"https://avatars2.githubusercontent.com/u/3844814?v=4","gravatar_id":"","url":"https://api.github.com/users/dunovank","html_url":"https://github.com/dunovank","followers_url":"https://api.github.com/users/dunovank/followers","following_url":"https://api.github.com/users/dunovank/following{/other_user}","gists_url":"https://api.github.com/users/dunovank/gists{/gist_id}","starred_url":"https://api.github.com/users/dunovank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dunovank/subscriptions","organizations_url":"https://api.github.com/users/dunovank/orgs","repos_url":"https://api.github.com/users/dunovank/repos","events_url":"https://api.github.com/users/dunovank/events{/privacy}","received_events_url":"https://api.github.com/users/dunovank/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T16:55:12Z","updated_at":"2018-02-23T16:55:12Z","author_association":"OWNER","body":"Would you mind upgrading to version 0.18.8 to see if this is fixed? And could you report your results back here? Thanks!  \r\n\r\n```sh\r\npip install --upgrade jupyterthemes\r\n```"}}
{"actor":{"display_login":"dunovank"}}