{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/nbviewer/issues/517","labels_url":"https://api.github.com/repos/jupyter/nbviewer/issues/517/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/nbviewer/issues/517/comments","events_url":"https://api.github.com/repos/jupyter/nbviewer/issues/517/events","html_url":"https://github.com/jupyter/nbviewer/pull/517","id":111550130,"number":517,"title":"manually calling bower","user":{"login":"bollwyvl","id":45380,"avatar_url":"https://avatars.githubusercontent.com/u/45380?v=3","gravatar_id":"","url":"https://api.github.com/users/bollwyvl","html_url":"https://github.com/bollwyvl","followers_url":"https://api.github.com/users/bollwyvl/followers","following_url":"https://api.github.com/users/bollwyvl/following{/other_user}","gists_url":"https://api.github.com/users/bollwyvl/gists{/gist_id}","starred_url":"https://api.github.com/users/bollwyvl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bollwyvl/subscriptions","organizations_url":"https://api.github.com/users/bollwyvl/orgs","repos_url":"https://api.github.com/users/bollwyvl/repos","events_url":"https://api.github.com/users/bollwyvl/events{/privacy}","received_events_url":"https://api.github.com/users/bollwyvl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-15T05:51:18Z","updated_at":"2015-10-19T02:39:42Z","closed_at":"2015-10-15T13:26:11Z","pull_request":{"url":"https://api.github.com/repos/jupyter/nbviewer/pulls/517","html_url":"https://github.com/jupyter/nbviewer/pull/517","diff_url":"https://github.com/jupyter/nbviewer/pull/517.diff","patch_url":"https://github.com/jupyter/nbviewer/pull/517.patch"},"body":"Traceback for issue breaking the build for #494 below. Hooray, Unicode errors!\r\n\r\nThis just calls bower directly without using invoke. Doing some more local diagnostics to figure out where the issue lies (bower/invoke/us).\r\n\r\n```python\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/invoke\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/usr/local/lib/python3.4/dist-packages/invoke/cli.py\", line 438, in main\r\n    dispatch(sys.argv)\r\n  File \"/usr/local/lib/python3.4/dist-packages/invoke/cli.py\", line 431, in dispatch\r\n    return executor.execute(*tasks)\r\n  File \"/usr/local/lib/python3.4/dist-packages/invoke/executor.py\", line 100, in execute\r\n    task=task, name=name, args=args, kwargs=kwargs, config=config\r\n  File \"/usr/local/lib/python3.4/dist-packages/invoke/executor.py\", line 153, in _execute\r\n    result = task(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.4/dist-packages/invoke/tasks.py\", line 111, in __call__\r\n    result = self.body(*args, **kwargs)\r\n  File \"/srv/nbviewer/tasks.py\", line 28, in bower\r\n    \" --config.interactive=false --allow-root\"\r\n  File \"/usr/local/lib/python3.4/dist-packages/invoke/__init__.py\", line 23, in run\r\n    return Context().run(command, **kwargs)\r\n  File \"/usr/local/lib/python3.4/dist-packages/invoke/context.py\", line 53, in run\r\n    return runner_class(context=self).run(command, **kwargs)\r\n  File \"/usr/local/lib/python3.4/dist-packages/invoke/runners.py\", line 262, in run\r\n    raise ThreadException(exceptions)\r\ninvoke.exceptions.ThreadException: \r\nSaw 1 exceptions within threads (UnicodeEncodeError):\r\n\r\n\r\nThread args: {'args': [functools.partial(<built-in function read>, 4),\r\n          <_io.TextIOWrapper name='<stdout>' mode='w' encoding='ANSI_X3.4-1968'>,\r\n          ['bower bootstrap#~3.3        not-cached '\r\n           'git://github.com/components/bootstrap.git#~3.3\\n',\r\n           'bower bootstrap#~3.3           resolve '\r\n           'git://github.com/components/bootstrap.git#~3.3\\n',\r\n           'bower bootstrap#~3.3          download '\r\n           'https://github.com/components/bootstrap/archive/3.3.5.tar.gz\\n',\r\n           'bower requirejs#~2.1        not-cached '\r\n           'git://github.com/jrburke/requirejs-bower.git#~2.1\\n',\r\n           'bower requirejs#~2.1           resolve '\r\n           'git://github.com/jrburke/requirejs-bower.git#~2.1\\n',\r\n           'bower headroom.js#0.7.0     not-cached '\r\n           'git://github.com/WickyNilliams/headroom.js.git#0.7.0\\n',\r\n           'bower headroom.js#0.7.0        resolve '\r\n           'git://github.com/WickyNilliams/headroom.js.git#0.7.0\\n',\r\n           'bower moment#~2.8.4         not-cached '\r\n           'git://github.com/moment/moment.git#~2.8.4\\n',\r\n           'bower moment#~2.8.4            resolve '\r\n           'git://github.com/moment/moment.git#~2.8.4\\n',\r\n           'bower font-awesome#~4       not-cached '\r\n           'git://github.com/FortAwesome/Font-Awesome.git#~4\\n',\r\n           '<... remainder truncated during error display ...>'],\r\n          False],\r\n 'target': <bound method Local.io of <invoke.runners.Local object at 0x7fa1c9d2c278>>}\r\n\r\nTraceback (most recent call last):\r\n\r\n  File \"/usr/local/lib/python3.4/dist-packages/invoke/runners.py\", line 82, in run\r\n    super(_IOThread, self).run()\r\n\r\n  File \"/usr/lib/python3.4/threading.py\", line 868, in run\r\n    self._target(*self._args, **self._kwargs)\r\n\r\n  File \"/usr/local/lib/python3.4/dist-packages/invoke/runners.py\", line 328, in io\r\n    output.write(data)\r\n\r\nUnicodeEncodeError: 'ascii' codec can't encode characters in position 119-127: ordinal not in range(128)\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/jupyter/nbviewer/issues/comments/149080637","html_url":"https://github.com/jupyter/nbviewer/pull/517#issuecomment-149080637","issue_url":"https://api.github.com/repos/jupyter/nbviewer/issues/517","id":149080637,"user":{"login":"bollwyvl","id":45380,"avatar_url":"https://avatars.githubusercontent.com/u/45380?v=3","gravatar_id":"","url":"https://api.github.com/users/bollwyvl","html_url":"https://github.com/bollwyvl","followers_url":"https://api.github.com/users/bollwyvl/followers","following_url":"https://api.github.com/users/bollwyvl/following{/other_user}","gists_url":"https://api.github.com/users/bollwyvl/gists{/gist_id}","starred_url":"https://api.github.com/users/bollwyvl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bollwyvl/subscriptions","organizations_url":"https://api.github.com/users/bollwyvl/orgs","repos_url":"https://api.github.com/users/bollwyvl/repos","events_url":"https://api.github.com/users/bollwyvl/events{/privacy}","received_events_url":"https://api.github.com/users/bollwyvl/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T02:39:42Z","updated_at":"2015-10-19T02:39:42Z","body":"Yay! Looks pretty good on mobile, too.\n\nOn 03:47, Sun, Oct 18, 2015 Kyle Kelley <notifications@github.com> wrote:\n\n> This was deployed today along with a purge of the cache. Woot.\n>\n> [image: screenshot 2015-10-18 02 46 31]\n> <https://cloud.githubusercontent.com/assets/836375/10563153/9a39a358-7542-11e5-8253-f501d2a8c904.png>\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/jupyter/nbviewer/pull/517#issuecomment-148987380>.\n>\n"}}