René's URL Explorer Experiment


Title: Matplotlib gives useless error message when latex not installed · Issue #4475 · matplotlib/matplotlib · GitHub

Open Graph Title: Matplotlib gives useless error message when latex not installed · Issue #4475 · matplotlib/matplotlib

X Title: Matplotlib gives useless error message when latex not installed · Issue #4475 · matplotlib/matplotlib

Description: Version 1.4.3 on Fedora 22 Linux. After reinstalling my OS, and running a script that previously worked I got the error below. I have tried to extract a simple test case, but I can't figure out what exactly triggers the error. Installing...

Open Graph Description: Version 1.4.3 on Fedora 22 Linux. After reinstalling my OS, and running a script that previously worked I got the error below. I have tried to extract a simple test case, but I can't figure out wha...

X Description: Version 1.4.3 on Fedora 22 Linux. After reinstalling my OS, and running a script that previously worked I got the error below. I have tried to extract a simple test case, but I can't figure out...

Opengraph URL: https://github.com/matplotlib/matplotlib/issues/4475

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Matplotlib gives useless error message when latex not installed","articleBody":"Version 1.4.3 on Fedora 22 Linux.\n\nAfter reinstalling my OS, and running a script that previously worked I got the error below. I have tried to extract a simple test case, but I can't figure out what exactly triggers the error. Installing texlive fixed it. It would be really nice if I just got a \"Latex is not installed\" error.\n\n``` python\nTraceback (most recent call last):\n  File \"./make_plot.py\", line 143, in \u003cmodule>\n    srange=srange, namefunc=iscollimator, fname=plot_name, title=name)\n  File \"/home/sam/physicstmp/lhc_collimation/plot_tools/20150526/plottfs.py\", line 313, in plot_twiss\n    pyplot.savefig(fname, dpi=300)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py\", line 577, in savefig\n    res = fig.savefig(*args, **kwargs)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/figure.py\", line 1476, in savefig\n    self.canvas.print_figure(*args, **kwargs)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/backend_bases.py\", line 2211, in print_figure\n    **kwargs)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_pdf.py\", line 2485, in print_pdf\n    self.figure.draw(renderer)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/artist.py\", line 59, in draw_wrapper\n    draw(artist, renderer, *args, **kwargs)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/figure.py\", line 1085, in draw\n    func(*args)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/artist.py\", line 59, in draw_wrapper\n    draw(artist, renderer, *args, **kwargs)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/axes/_base.py\", line 2110, in draw\n    a.draw(renderer)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/artist.py\", line 59, in draw_wrapper\n    draw(artist, renderer, *args, **kwargs)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/axis.py\", line 1116, in draw\n    renderer)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/axis.py\", line 1065, in _get_tick_bboxes\n    extent = tick.label1.get_window_extent(renderer)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/text.py\", line 798, in get_window_extent\n    bbox, info, descent = self._get_layout(self._renderer)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/text.py\", line 311, in _get_layout\n    ismath=False)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_pdf.py\", line 2044, in get_text_width_height_descent\n    renderer=self)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/texmanager.py\", line 673, in get_text_width_height_descent\n    page = next(iter(dvi))\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/dviread.py\", line 89, in __iter__\n    have_page = self._read()\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/dviread.py\", line 150, in _read\n    self._dispatch(byte)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/dviread.py\", line 238, in _dispatch\n    self._fnt_def(k, c, s, d, a, l, n)\n  File \"/usr/lib64/python2.7/site-packages/matplotlib/dviread.py\", line 399, in _fnt_def\n    if c != 0 and tfm.checksum != 0 and c != tfm.checksum:\nAttributeError: 'NoneType' object has no attribute 'checksum'\n```\n","author":{"url":"https://github.com/samtygier","@type":"Person","name":"samtygier"},"datePublished":"2015-05-26T14:13:22Z","url":"https://github.com/matplotlib/matplotlib/issues/4475"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:831ef599-aa5d-196e-2163-92b23183e1d1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAEF0:DFA9C:28DBE2:370A67:6B067173
html-safe-nonce4787ae39736af4f3d3046f2875f5eea8145e9aa4d88cd1484f7fff8bbb899a9e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUYwOkRGQTlDOjI4REJFMjozNzBBNjc6NkIwNjcxNzMiLCJ2aXNpdG9yX2lkIjoiMzI2Njg3NzgxMDc2MTE2NzIxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac27fa85edef9ca5b1626fc3a634ade1d672efe5445c6d354311b23a86341d68e0
hovercard-subject-tagissue:80980125
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/4475/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3e70e3f505ee34bfdafa5a0af1706b6b92a9b1152cf4917fd635d49fd7c31fd3/matplotlib/matplotlib/issues/4475
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3e70e3f505ee34bfdafa5a0af1706b6b92a9b1152cf4917fd635d49fd7c31fd3/matplotlib/matplotlib/issues/4475
og:image:altVersion 1.4.3 on Fedora 22 Linux. After reinstalling my OS, and running a script that previously worked I got the error below. I have tried to extract a simple test case, but I can't figure out wha...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesamtygier
hostnamegithub.com
expected-hostnamegithub.com
None4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a
turbo-cache-controlno-preview
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6d3909414814ff86ce7da4c51a0f4918a13fb41b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/issues/4475#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F4475
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F4475
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/issues/4475
Reloadhttps://github.com/matplotlib/matplotlib/issues/4475
Reloadhttps://github.com/matplotlib/matplotlib/issues/4475
matplotlibhttps://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Codehttps://github.com/matplotlib/matplotlib
Issues1k (1k)https://github.com/matplotlib/matplotlib/issues
Pull requests430 (430)https://github.com/matplotlib/matplotlib/pulls
Actionshttps://github.com/matplotlib/matplotlib/actions
Projectshttps://github.com/matplotlib/matplotlib/projects
Wikihttps://github.com/matplotlib/matplotlib/wiki
Security and qualityhttps://github.com/matplotlib/matplotlib/security
Insightshttps://github.com/matplotlib/matplotlib/insights
https://github.com/matplotlib/matplotlib
New issuehttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/4475
New issuehttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/4475
Matplotlib gives useless error message when latex not installedhttps://github.com/matplotlib/matplotlib/issues/4475#top
https://github.com/jkseppan
New featurehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22New%20feature%22
backend: pdfhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22backend%3A%20pdf%22
v1.5.0https://github.com/matplotlib/matplotlib/milestone/18
https://github.com/samtygier
samtygierhttps://github.com/samtygier
on May 26, 2015https://github.com/matplotlib/matplotlib/issues/4475#issue-80980125
tacaswellhttps://github.com/tacaswell
New featurehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22New%20feature%22
on May 26, 2015https://github.com/matplotlib/matplotlib/issues/4475#event-313817551
tacaswellhttps://github.com/tacaswell
on May 26, 2015https://github.com/matplotlib/matplotlib/issues/4475#event-313817627
tacaswellhttps://github.com/tacaswell
backend: pdfhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22backend%3A%20pdf%22
on May 26, 2015https://github.com/matplotlib/matplotlib/issues/4475#event-313818192
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
on May 26, 2015https://github.com/matplotlib/matplotlib/issues/4475#issuecomment-105539966
https://github.com/mdboom
mdboomhttps://github.com/mdboom
on May 26, 2015https://github.com/matplotlib/matplotlib/issues/4475#issuecomment-105543940
https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/__init__.py#L462https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/__init__.py#L462
https://github.com/jkseppan
jkseppanhttps://github.com/jkseppan
on Jun 14, 2015https://github.com/matplotlib/matplotlib/issues/4475#issuecomment-111799920
jkseppanhttps://github.com/jkseppan
on Jun 14, 2015https://github.com/matplotlib/matplotlib/issues/4475#event-330378019
Raise more useful error when tfm file is missinghttps://github.com/jkseppan/matplotlib/commit/a66b87f544dd78d867f5d6c7c2a35ac753fc7fbd
https://docs.github.com/articles/closing-issues-via-commit-messages
a66b87fhttps://github.com/jkseppan/matplotlib/commit/a66b87f544dd78d867f5d6c7c2a35ac753fc7fbd
tacaswellhttps://github.com/tacaswell
jkseppanhttps://github.com/jkseppan
on Jun 14, 2015https://github.com/matplotlib/matplotlib/issues/4475#event-330378413
tacaswellhttps://github.com/tacaswell
status: needs reviewhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20review%22
on Jun 14, 2015https://github.com/matplotlib/matplotlib/issues/4475#event-330378414
tacaswellhttps://github.com/tacaswell
completedhttps://github.com/matplotlib/matplotlib/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#4521https://github.com/matplotlib/matplotlib/pull/4521
on Jun 14, 2015https://github.com/matplotlib/matplotlib/issues/4475#event-330509303
tacaswellhttps://github.com/tacaswell
status: needs reviewhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20review%22
on Jun 14, 2015https://github.com/matplotlib/matplotlib/issues/4475#event-330509305
Sign up for freehttps://github.com/signup?return_to=https://github.com/matplotlib/matplotlib/issues/4475
Sign in to commenthttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/4475
jkseppanhttps://github.com/jkseppan
New featurehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22New%20feature%22
backend: pdfhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22backend%3A%20pdf%22
v1.5.0https://github.com/matplotlib/matplotlib/milestone/18
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.