Title: ERROR: matplotlib.tests.test_backend_pgf.test_pdflatex on Python 3.x · Issue #1118 · matplotlib/matplotlib · GitHub
Open Graph Title: ERROR: matplotlib.tests.test_backend_pgf.test_pdflatex on Python 3.x · Issue #1118 · matplotlib/matplotlib
X Title: ERROR: matplotlib.tests.test_backend_pgf.test_pdflatex on Python 3.x · Issue #1118 · matplotlib/matplotlib
Description: I'm getting this on Python 3.x only. ====================================================================== ERROR: matplotlib.tests.test_backend_pgf.test_pdflatex ---------------------------------------------------------------------- Tra...
Open Graph Description: I'm getting this on Python 3.x only. ====================================================================== ERROR: matplotlib.tests.test_backend_pgf.test_pdflatex ----------------------------------...
X Description: I'm getting this on Python 3.x only. ====================================================================== ERROR: matplotlib.tests.test_backend_pgf.test_pdflatex ------------------------------...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/1118
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ERROR: matplotlib.tests.test_backend_pgf.test_pdflatex on Python 3.x","articleBody":"I'm getting this on Python 3.x only.\n\n```\n======================================================================\nERROR: matplotlib.tests.test_backend_pgf.test_pdflatex\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/mdboom/python3/lib/python3.2/site-packages/nose/case.py\", line 198, in runTest\n self.test(*self.arg)\n File \"/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/testing/decorators.py\", line 39, in failer\n result = f(*args, **kwargs)\n File \"/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/tests/test_backend_pgf.py\", line 30, in backend_switcher\n result = func(*args, **kwargs)\n File \"/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/tests/test_backend_pgf.py\", line 82, in test_pdflatex\n compare_figure('pgf_pdflatex.pdf')\n File \"/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/tests/test_backend_pgf.py\", line 40, in compare_figure\n plt.savefig(actual)\n File \"/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/pyplot.py\", line 475, in savefig\n return fig.savefig(*args, **kwargs)\n File \"/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/figure.py\", line 1229, in savefig\n self.canvas.print_figure(*args, **kwargs)\n File \"/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/backend_bases.py\", line 2089, in print_figure\n **kwargs)\n File \"/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/backends/backend_pgf.py\", line 694, in print_pdf\n self.print_pgf(\"figure.pgf\")\n File \"/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/backends/backend_pgf.py\", line 674, in print_pgf\n renderer = RendererPgf(self.figure, fh)\n File \"/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/backends/backend_pgf.py\", line 358, in __init__\n self.latexManager = LatexManagerFactory.get_latex_manager()\n File \"/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/backends/backend_pgf.py\", line 205, in get_latex_manager\n new_inst = LatexManager()\n File \"/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/backends/backend_pgf.py\", line 243, in __init__\n stdout, stderr = latex.communicate(self.latex_header + latex_end)\n File \"/usr/lib64/python3.2/subprocess.py\", line 819, in communicate\n return self._communicate(input)\n File \"/usr/lib64/python3.2/subprocess.py\", line 1425, in _communicate\n stdout, stderr = self._communicate_with_poll(input)\n File \"/usr/lib64/python3.2/subprocess.py\", line 1492, in _communicate_with_poll\n input_offset += os.write(fd, chunk)\nTypeError: 'str' does not support the buffer interface\n```\n","author":{"url":"https://github.com/mdboom","@type":"Person","name":"mdboom"},"datePublished":"2012-08-20T17:57:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/1118/matplotlib/issues/1118"}
| 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:6fbc35f0-5152-2d08-4502-199463f59bf4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8548:3FEE07:1021FE:159212:6A53F92F |
| html-safe-nonce | c62238b45bf2b7403a3b64de261cad2c24292354272ac285ae55dc453b2b0d46 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTQ4OjNGRUUwNzoxMDIxRkU6MTU5MjEyOjZBNTNGOTJGIiwidmlzaXRvcl9pZCI6IjMwMzI2ODIxMDAzMjExNTUzNzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e0636e3d6df96516cde626eb52c282b6ce8f8368f773c03e727493f88bc1fe3c |
| hovercard-subject-tag | issue:6331609 |
| 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/matplotlib/matplotlib/1118/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9b4e288c392febb4e76993bbfeaf6a660df467cb4d9d451017d34fe2d7ebd327/matplotlib/matplotlib/issues/1118 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9b4e288c392febb4e76993bbfeaf6a660df467cb4d9d451017d34fe2d7ebd327/matplotlib/matplotlib/issues/1118 |
| og:image:alt | I'm getting this on Python 3.x only. ====================================================================== ERROR: matplotlib.tests.test_backend_pgf.test_pdflatex ----------------------------------... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mdboom |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width