Title: TypeError: a bytes-like object is required, not 'str' · Issue #700 · bpython/bpython · GitHub
Open Graph Title: TypeError: a bytes-like object is required, not 'str' · Issue #700 · bpython/bpython
X Title: TypeError: a bytes-like object is required, not 'str' · Issue #700 · bpython/bpython
Description: You may understand… (venv) Ori@gordio ~/Development/python/sk-numbers ❱bpython bpython version 0.16 on top of Python 3.6.2 /Users/gordio/Development/python/sk-numbers/venv/bin/python3 >>> import matplotlib.pyplot as plt >>> plt.plot([1,2...
Open Graph Description: You may understand… (venv) Ori@gordio ~/Development/python/sk-numbers ❱bpython bpython version 0.16 on top of Python 3.6.2 /Users/gordio/Development/python/sk-numbers/venv/bin/python3 >>> import ma...
X Description: You may understand… (venv) Ori@gordio ~/Development/python/sk-numbers ❱bpython bpython version 0.16 on top of Python 3.6.2 /Users/gordio/Development/python/sk-numbers/venv/bin/python3 >>> ...
Opengraph URL: https://github.com/bpython/bpython/issues/700
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeError: a bytes-like object is required, not 'str'","articleBody":"You may understand…\r\n```\r\n(venv) Ori@gordio ~/Development/python/sk-numbers\r\n❱bpython\r\nbpython version 0.16 on top of Python 3.6.2 /Users/gordio/Development/python/sk-numbers/venv/bin/python3\r\n\u003e\u003e\u003e import matplotlib.pyplot as plt\r\n\u003e\u003e\u003e plt.plot([1,2,2.5,3])\r\n[\u003cmatplotlib.lines.Line2D object at 0x10cd60320\u003e]\r\n\u003e\u003e\u003e plt.show()\r\nTraceback (most recent call last):\r\n File \"\u003cinput\u003e\", line 1, in \u003cmodule\u003e\r\n plt.show()\r\n File \"/Users/gordio/Development/python/sk-numbers/venv/lib/python3.6/site-pack\r\nages/matplotlib/pyplot.py\", line 253, in show\r\n return _show(*args, **kw)\r\n File \"/Users/gordio/Development/python/sk-numbers/venv/lib/python3.6/site-pack\r\nages/itermplot/__init__.py\", line 131, in show\r\n figmanager.show()\r\n File \"/Users/gordio/Development/python/sk-numbers/venv/lib/python3.6/site-pack\r\nages/itermplot/__init__.py\", line 275, in show\r\n imgcat(data.getbuffer(), fn)\r\n File \"/Users/gordio/Development/python/sk-numbers/venv/lib/python3.6/site-pack\r\nages/itermplot/__init__.py\", line 115, in imgcat\r\n sys.stdout.write(buf)\r\n File \"/Users/gordio/Development/python/sk-numbers/venv/lib/python3.6/site-pack\r\nages/bpython/curtsiesfrontend/coderunner.py\", line 213, in write\r\n self.on_write(s, *args, **kwargs)\r\n File \"/Users/gordio/Development/python/sk-numbers/venv/lib/python3.6/site-pack\r\nages/bpython/curtsiesfrontend/repl.py\", line 1128, in send_to_stdout\r\n lines = output.split('\\n')\r\nTypeError: a bytes-like object is required, not 'str'\r\n```","author":{"url":"https://github.com/gordio","@type":"Person","name":"gordio"},"datePublished":"2017-08-10T12:03:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/700/bpython/issues/700"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2a36d200-a792-21e6-b115-3249241756a3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D45A:43826:123ACE:18C329:6967042E |
| html-safe-nonce | 02bc9577b6680661089e808851898c83e99146e1a6891ddf3d5c8fcefc40b3ee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDVBOjQzODI2OjEyM0FDRToxOEMzMjk6Njk2NzA0MkUiLCJ2aXNpdG9yX2lkIjoiMzM1Mjg4NTE2NjQ5MTUwMTYxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1161983d90c1c98f47a6598929ee018dd6ce40b9d56e26462112922cb12edb61 |
| hovercard-subject-tag | issue:249323803 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bpython/bpython/700/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3250efdafb27b54b13a69a2d8839160c60048ad36a641e9d29a26911a2510899/bpython/bpython/issues/700 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3250efdafb27b54b13a69a2d8839160c60048ad36a641e9d29a26911a2510899/bpython/bpython/issues/700 |
| og:image:alt | You may understand… (venv) Ori@gordio ~/Development/python/sk-numbers ❱bpython bpython version 0.16 on top of Python 3.6.2 /Users/gordio/Development/python/sk-numbers/venv/bin/python3 >>> import ma... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gordio |
| hostname | github.com |
| expected-hostname | github.com |
| None | 10b629569a71f325bbe100683b0ccc26c67ec87331658842c73b5ea71f03ac7b |
| turbo-cache-control | no-preview |
| go-import | github.com/bpython/bpython git https://github.com/bpython/bpython.git |
| octolytics-dimension-user_id | 8071396 |
| octolytics-dimension-user_login | bpython |
| octolytics-dimension-repository_id | 21508865 |
| octolytics-dimension-repository_nwo | bpython/bpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21508865 |
| octolytics-dimension-repository_network_root_nwo | bpython/bpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1e8b7c19c9a48ebea057f7443387e8fbbc97710a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width