René's URL Explorer Experiment


Title: Issue with non-ascii paths in font look up · Issue #3517 · matplotlib/matplotlib · GitHub

Open Graph Title: Issue with non-ascii paths in font look up · Issue #3517 · matplotlib/matplotlib

X Title: Issue with non-ascii paths in font look up · Issue #3517 · matplotlib/matplotlib

Description: I posted in #3487 and following the suggestion of @tacaswell , I create a separate issue, for easier bug tracking: Since upgrading to 1.4.0, I get the same exception. I'm on Mac, Mavericks, latest version. anaconda bundle. I'm not even s...

Open Graph Description: I posted in #3487 and following the suggestion of @tacaswell , I create a separate issue, for easier bug tracking: Since upgrading to 1.4.0, I get the same exception. I'm on Mac, Mavericks, latest ...

X Description: I posted in #3487 and following the suggestion of @tacaswell , I create a separate issue, for easier bug tracking: Since upgrading to 1.4.0, I get the same exception. I'm on Mac, Mavericks, lat...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issue with non-ascii paths in font look up","articleBody":"I posted in #3487 and following the suggestion of @tacaswell , I create a separate issue, for easier bug tracking:\n\nSince upgrading to 1.4.0, I get the same exception.\nI'm on Mac, Mavericks, latest version. anaconda bundle.\n\nI'm not even sure it's about matplotlib, but it crashes when it gets to font_manager.\n\nThis is the relevant output for the exception:\n\n``` python\n---\u003e 18 import matplotlib.pyplot as plt\n     19\n     20 from copy import deepcopy\n\n/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/pyplot.py in \u003cmodule\u003e()\n     25\n     26 import matplotlib\n---\u003e 27 import matplotlib.colorbar\n     28 from matplotlib import style\n     29 from matplotlib import _pylab_helpers, interactive\n\n/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/colorbar.py in \u003cmodule\u003e()\n     32 import matplotlib.artist as martist\n     33 import matplotlib.cbook as cbook\n---\u003e 34 import matplotlib.collections as collections\n     35 import matplotlib.colors as colors\n     36 import matplotlib.contour as contour\n\n/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/collections.py in \u003cmodule\u003e()\n     25 import matplotlib.artist as artist\n     26 from matplotlib.artist import allow_rasterization\n---\u003e 27 import matplotlib.backend_bases as backend_bases\n     28 import matplotlib.path as mpath\n     29 from matplotlib import _path\n\n/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/backend_bases.py in \u003cmodule\u003e()\n     54\n     55 import matplotlib.tight_bbox as tight_bbox\n---\u003e 56 import matplotlib.textpath as textpath\n     57 from matplotlib.path import Path\n     58 from matplotlib.cbook import mplDeprecation\n\n/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/textpath.py in \u003cmodule\u003e()\n     17 from matplotlib.path import Path\n     18 from matplotlib import rcParams\n---\u003e 19 import matplotlib.font_manager as font_manager\n     20 from matplotlib.ft2font import FT2Font, KERNING_DEFAULT, LOAD_NO_HINTING\n     21 from matplotlib.ft2font import LOAD_TARGET_LIGHT\n\n/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py in \u003cmodule\u003e()\n   1410                 verbose.report(\"Using fontManager instance from %s\" % _fmcache)\n   1411         except:\n-\u003e 1412             _rebuild()\n   1413     else:\n   1414         _rebuild()\n\n/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py in _rebuild()\n   1395     def _rebuild():\n   1396         global fontManager\n-\u003e 1397         fontManager = FontManager()\n   1398         if _fmcache:\n   1399             pickle_dump(fontManager, _fmcache)\n\n/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py in __init__(self, size, weight)\n   1035         #  Load TrueType fonts and create font dictionary.\n   1036\n-\u003e 1037         self.ttffiles = findSystemFonts(paths) + findSystemFonts()\n   1038         self.defaultFamily = {\n   1039             'ttf': 'Bitstream Vera Sans',\n\n/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py in findSystemFonts(fontpaths, fontext)\n    320                     fontfiles[f] = 1\n    321\n--\u003e 322             for f in get_fontconfig_fonts(fontext):\n    323                 fontfiles[f] = 1\n    324\n\n/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py in get_fontconfig_fonts(fontext)\n    272         pipe = subprocess.Popen(['fc-list', '--format=%{file}\\\\n'],\n    273                                 stdout=subprocess.PIPE,\n--\u003e 274                                 stderr=subprocess.PIPE)\n    275         output = pipe.communicate()[0]\n    276     except (OSError, IOError):\n\n/Users/ifmichael/anaconda/lib/python2.7/subprocess.pyc in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags)\n    708                                 p2cread, p2cwrite,\n    709                                 c2pread, c2pwrite,\n--\u003e 710                                 errread, errwrite)\n    711         except Exception:\n    712             # Preserve original exception in case os.close raises.\n\n/Users/ifmichael/anaconda/lib/python2.7/subprocess.pyc in _execute_child(self, args, executable, preexec_fn, close_fds, cwd, env, universal_newlines, startupinfo, creationflags, shell, to_close, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite)\n   1325                         raise\n   1326                 child_exception = pickle.loads(data)\n-\u003e 1327                 raise child_exception\n   1328\n   1329\n\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)\n```\n\nRight now I downgraded to 1.3.1, and everything got back to normal.\n","author":{"url":"https://github.com/ifmihai","@type":"Person","name":"ifmihai"},"datePublished":"2014-09-14T22:00:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":38},"url":"https://github.com/3517/matplotlib/issues/3517"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bced9098-a062-4fb1-f632-48464390257b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDDBA:FB8AB:B5EED5:F7A963:6A5162D3
html-safe-nonce3597127e22daee262121fe0c3e913ead11b87f7ab77a0c4877399e730c2e6e85
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREJBOkZCOEFCOkI1RUVENTpGN0E5NjM6NkE1MTYyRDMiLCJ2aXNpdG9yX2lkIjoiMjc5NTUwNTgyMDAyODE5OTYzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac30a41d4384f2f98c6515db1912336f2fe971c5da2fe46f6a1297ae6b4fc75baf
hovercard-subject-tagissue:42731654
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/3517/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9ce6161046b5d66494e0d23c0149cfc7ef51eacf87d70bf5132258be54f4adcf/matplotlib/matplotlib/issues/3517
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9ce6161046b5d66494e0d23c0149cfc7ef51eacf87d70bf5132258be54f4adcf/matplotlib/matplotlib/issues/3517
og:image:altI posted in #3487 and following the suggestion of @tacaswell , I create a separate issue, for easier bug tracking: Since upgrading to 1.4.0, I get the same exception. I'm on Mac, Mavericks, latest ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameifmihai
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release2eeb434949a926fad21064b4d395a54759f7a0b2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/issues/3517#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F3517
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F3517
Sign up https://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/3517
Reloadhttps://github.com/matplotlib/matplotlib/issues/3517
Reloadhttps://github.com/matplotlib/matplotlib/issues/3517
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/3517
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/3517
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 409 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality 0 https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Issue with non-ascii paths in font look uphttps://github.com/matplotlib/matplotlib/issues/3517#top
OS: Applehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22OS%3A%20Apple%22
status: needs confirmationhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20confirmation%22
topic: text/unicodehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20text%2Funicode%22
v2.0.1https://github.com/matplotlib/matplotlib/milestone/20
https://github.com/ifmihai
ifmihaihttps://github.com/ifmihai
on Sep 14, 2014https://github.com/matplotlib/matplotlib/issues/3517#issue-42731654
#3487https://github.com/matplotlib/matplotlib/pull/3487
@tacaswellhttps://github.com/tacaswell
OS: Applehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22OS%3A%20Apple%22
status: needs confirmationhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20confirmation%22
topic: text/unicodehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20text%2Funicode%22
v2.0.1https://github.com/matplotlib/matplotlib/milestone/20
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

Viewport: width=device-width


URLs of crawlers that visited me.