
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
Social plugin: can't find fonts on Windows Β· Issue #7085 Β· squidfunk/mkdocs-material
Description:
Context I am attempting to setup social cards for the first time in Windows. Have searched for solutions but it appears that loading fonts is not working as expected Bug description Enable social plugin in mkdocs.yml via adding the follo...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Graphic Design
- Technology & Computing
- Video & Online Content
Content Management System {π}
What CMS is github.com built with?
Github.com is built with WORDPRESS.
Traffic Estimate {π}
What is the average monthly size of github.com audience?
ππ Tremendous Traffic: 10M - 20M visitors per month
Based on our best estimate, this website will receive around 10,634,219 visitors per month in the current month.
check SE Ranking
check Ahrefs
check Similarweb
check Ubersuggest
check Semrush
How Does Github.com Make Money? {πΈ}
Subscription Packages {π³}
We've located a dedicated page on github.com that might include details about subscription plans or recurring payments. We identified it based on the word pricing in one of its internal links. Below, you'll find additional estimates for its monthly recurring revenues.How Much Does Github.com Make? {π°}
Subscription Packages {π³}
Prices on github.com are in US Dollars ($).
They range from $4.00/month to $21.00/month.
We estimate that the site has approximately 5,306,347 paying customers.
The estimated monthly recurring revenue (MRR) is $22,286,656.
The estimated annual recurring revenues (ARR) are $267,439,867.
Wordpress Themes and Plugins {π¨}
What WordPress theme does this site use?
It is strange but we were not able to detect any theme on the page.
What WordPress plugins does this website use?
Keywords {π}
file, issue, windows, social, plugin, line, alexvoss, squidfunk, info, italicttf, commented, files, open, aazih, bug, font, install, cache, download, path, directory, problem, collaborator, fonts, oserror, folder, work, sponsor, python, sign, documentation, cprogrammingmaterialtestvenvlibsitepackagesmaterialpluginssocialpluginpy, reporting, serve, edited, edits, running, version, selected, lib, ran, script, back, temporary, seek, public, issues, projects, find, loading,
Topics {βοΈ}
programming\materialtest\venv\lib\site-packages\material\plugins\social\plugin programming\materialtest\venv\lib\site-packages\mkdocs\livereload\__init__ programming\materialtest\venv\lib\site-packages\mkdocs\commands\serve programming\materialtest\venv\lib\site-packages\mkdocs\commands\build programming\materialtest\venv\lib\site-packages\pil\imagefont programming\materialtest\venv\lib\site-packages\mkdocs\plugins mkdocs-material/src/plugins/social/plugin /kozea/cairocffi/blob/dbb62b0ad5bfd63aae9e3f83a54797330c6e6f9f/cairocffi/__init__ users\\alexvo~1\\appdata\\local\\temp\\tmpmhpwb1bt' mingw-w64-x86_64-gtk4 add unix-type operating systems mkdocs-material[imaging] plugin/social subdirectories possibly related issues kamilkrzyskow edits collaborator 18-social-plugin-windows social plugin download 8/lib/ctypes/util squidfunk edits owner activity squidfunk added setup social cards social plugin /python/cpython/blob/3 minimal reproduction mkdocs mkdocs serve lib directory avoid build crash bug reporting guidelines open projects gtk3+ runtime linked development environment debug comment metadata assignees separate python session python interpreter directory freetype return freetypefont msys64\mingw64\bin file open operations info plugin small test script bug resolved issue plugins enabled debug process alex set delete=false stackoverflow answer suggests windows-specific issue yml `plugins tempfile import namedtemporaryfile projects milestone social folders truetype return freetype
Payment Methods {π}
- Braintree
Questions {β}
- @Aazih, how did you install it?
- Already have an account?
- Is it possible that Windows does not allow a temporary file to be opened again?
- Or does that lead to the same problem with seek?
- We'd need to do the same trick with that one, I guess?
- Cache folder?
- Content) could work?
- Flush()?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:Social plugin: can't find fonts on Windows
articleBody:### Context
I am attempting to setup social cards for the first time in Windows. Have searched for solutions but it appears that loading fonts is not working as expected
### Bug description
Enable social plugin in mkdocs.yml via adding the following lines:
`plugins:
- info
- social
`
Results in the following error:
`INFO - Building documentation...
INFO - Cleaning site directory
INFO - Documentation built in 0.28 seconds
INFO - [23:48:15] Watching paths for changes: 'docs', 'mkdocs.yml'
INFO - [23:48:15] Serving on http://127.0.0.1:8000/
INFO - [23:48:16] Browser connected: http://127.0.0.1:8000/
INFO - [23:48:21] Detected file changes
INFO - Building documentation...
Traceback (most recent call last):
File "C:\Programming\materialtest\venv\Lib\site-packages\mkdocs\livereload\__init__.py", line 193, in _build_loop
func()
File "C:\Programming\materialtest\venv\Lib\site-packages\mkdocs\commands\serve.py", line 67, in builder
build(config, live_server=None if is_clean else server, dirty=is_dirty)
File "C:\Programming\materialtest\venv\Lib\site-packages\mkdocs\commands\build.py", line 277, in build
config = config.plugins.on_config(config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\mkdocs\plugins.py", line 527, in on_config
return self.run_event('config', config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\mkdocs\plugins.py", line 507, in run_event
result = method(item, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\material\plugins\social\plugin.py", line 160, in on_config
self.font = self._load_font(config)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\material\plugins\social\plugin.py", line 462, in _load_font
font[style] = self._resolve_font(name, style)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\material\plugins\social\plugin.py", line 476, in _resolve_font
self._fetch_font_from_google_fonts(family)
File "C:\Programming\materialtest\venv\Lib\site-packages\material\plugins\social\plugin.py", line 537, in _fetch_font_from_google_fonts
font = ImageFont.truetype(temp.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\PIL\ImageFont.py", line 807, in truetype
return freetype(font)
^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\PIL\ImageFont.py", line 804, in freetype
return FreeTypeFont(font, size, index, encoding, layout_engine)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\PIL\ImageFont.py", line 244, in __init__
self.font = core.getfont(
^^^^^^^^^^^^^
OSError: cannot open resource`
### Related links
- [Reporting a bug](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/)
- [Issue post](https://github.com/python-pillow/Pillow/issues/3730)
- [Setting up cards](https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/)
### Reproduction
[9.5.18-social-plugin-windows.zip](https://github.com/squidfunk/mkdocs-material/files/15087601/9.5.18-social-plugin-windows.zip)
### Steps to reproduce
1. Add the following lines to minimal reproduction mkdocs.yml `plugins:
- info
- social
`
2. Run mkdocs serve
### Browser
_No response_
### Before submitting
- [X] I have read and followed the [bug reporting guidelines](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/).
- [X] I have attached links to [the documentation](https://squidfunk.github.io/mkdocs-material/), and possibly related [issues](https://github.com/squidfunk/mkdocs-material/issues) and [discussions](https://github.com/squidfunk/mkdocs-material/discussions).
- [X] I assure that I have [removed all customizations](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#remove-customizations) before submitting this bug report.
- [X] I have attached a __.zip file__ with a [minimal reproduction](https://squidfunk.github.io/mkdocs-material/guides/creating-a-reproduction/) using the [built-in info plugin](https://squidfunk.github.io/mkdocs-material/plugins/info/).
author:
url:https://github.com/Aazih
type:Person
name:Aazih
datePublished:2024-04-24T04:00:50.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:17
url:https://github.com/7085/mkdocs-material/issues/7085
context:https://schema.org
headline:Social plugin: can't find fonts on Windows
articleBody:### Context
I am attempting to setup social cards for the first time in Windows. Have searched for solutions but it appears that loading fonts is not working as expected
### Bug description
Enable social plugin in mkdocs.yml via adding the following lines:
`plugins:
- info
- social
`
Results in the following error:
`INFO - Building documentation...
INFO - Cleaning site directory
INFO - Documentation built in 0.28 seconds
INFO - [23:48:15] Watching paths for changes: 'docs', 'mkdocs.yml'
INFO - [23:48:15] Serving on http://127.0.0.1:8000/
INFO - [23:48:16] Browser connected: http://127.0.0.1:8000/
INFO - [23:48:21] Detected file changes
INFO - Building documentation...
Traceback (most recent call last):
File "C:\Programming\materialtest\venv\Lib\site-packages\mkdocs\livereload\__init__.py", line 193, in _build_loop
func()
File "C:\Programming\materialtest\venv\Lib\site-packages\mkdocs\commands\serve.py", line 67, in builder
build(config, live_server=None if is_clean else server, dirty=is_dirty)
File "C:\Programming\materialtest\venv\Lib\site-packages\mkdocs\commands\build.py", line 277, in build
config = config.plugins.on_config(config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\mkdocs\plugins.py", line 527, in on_config
return self.run_event('config', config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\mkdocs\plugins.py", line 507, in run_event
result = method(item, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\material\plugins\social\plugin.py", line 160, in on_config
self.font = self._load_font(config)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\material\plugins\social\plugin.py", line 462, in _load_font
font[style] = self._resolve_font(name, style)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\material\plugins\social\plugin.py", line 476, in _resolve_font
self._fetch_font_from_google_fonts(family)
File "C:\Programming\materialtest\venv\Lib\site-packages\material\plugins\social\plugin.py", line 537, in _fetch_font_from_google_fonts
font = ImageFont.truetype(temp.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\PIL\ImageFont.py", line 807, in truetype
return freetype(font)
^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\PIL\ImageFont.py", line 804, in freetype
return FreeTypeFont(font, size, index, encoding, layout_engine)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Programming\materialtest\venv\Lib\site-packages\PIL\ImageFont.py", line 244, in __init__
self.font = core.getfont(
^^^^^^^^^^^^^
OSError: cannot open resource`
### Related links
- [Reporting a bug](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/)
- [Issue post](https://github.com/python-pillow/Pillow/issues/3730)
- [Setting up cards](https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/)
### Reproduction
[9.5.18-social-plugin-windows.zip](https://github.com/squidfunk/mkdocs-material/files/15087601/9.5.18-social-plugin-windows.zip)
### Steps to reproduce
1. Add the following lines to minimal reproduction mkdocs.yml `plugins:
- info
- social
`
2. Run mkdocs serve
### Browser
_No response_
### Before submitting
- [X] I have read and followed the [bug reporting guidelines](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/).
- [X] I have attached links to [the documentation](https://squidfunk.github.io/mkdocs-material/), and possibly related [issues](https://github.com/squidfunk/mkdocs-material/issues) and [discussions](https://github.com/squidfunk/mkdocs-material/discussions).
- [X] I assure that I have [removed all customizations](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#remove-customizations) before submitting this bug report.
- [X] I have attached a __.zip file__ with a [minimal reproduction](https://squidfunk.github.io/mkdocs-material/guides/creating-a-reproduction/) using the [built-in info plugin](https://squidfunk.github.io/mkdocs-material/plugins/info/).
author:
url:https://github.com/Aazih
type:Person
name:Aazih
datePublished:2024-04-24T04:00:50.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:17
url:https://github.com/7085/mkdocs-material/issues/7085
Person:
url:https://github.com/Aazih
name:Aazih
url:https://github.com/Aazih
name:Aazih
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:17
interactionType:https://schema.org/CommentAction
userInteractionCount:17
External Links {π}(13)
- Monthly income for https://github.blog
- What is the monthly revenue of https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/?
- Earnings of https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/
- How much cash flow does https://squidfunk.github.io/mkdocs-material/ have monthly?
- How profitable is https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#remove-customizations?
- How much does https://squidfunk.github.io/mkdocs-material/guides/creating-a-reproduction/ gross monthly?
- Get to know what's the income of https://squidfunk.github.io/mkdocs-material/plugins/info/
- How much does https://squidfunk.github.io/mkdocs-material/plugins/requirements/image-processing#cairo-library-was-not-found-windows pull in monthly?
- https://private-user-images.githubusercontent.com/25405967/325253202-2bc64b0d-8969-47f4-95b3-7a1a06363a9e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTE3OTU5OTIsIm5iZiI6MTc1MTc5NTY5MiwicGF0aCI6Ii8yNTQwNTk2Ny8zMjUyNTMyMDItMmJjNjRiMGQtODk2OS00N2Y0LTk1YjMtN2ExYTA2MzYzYTllLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA3MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNzA2VDA5NTQ1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdjNzQ5ZDcwNTQxZjIwNzgyMjA1MmFlYTMwYjJmYzJmOTMyYzNhMWJjZmE3ZjkxMDVmMTg3YWIwZGE5NDNjYzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Qm2hqBjx_qOXiYsNzbEDsm9_oO8VpvQUoY9MGXzxU3U's revenue stream
- Revenue of https://private-user-images.githubusercontent.com/25405967/325254043-1512f95f-97d9-45c3-8087-35505e0425b4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTE3OTU5OTIsIm5iZiI6MTc1MTc5NTY5MiwicGF0aCI6Ii8yNTQwNTk2Ny8zMjUyNTQwNDMtMTUxMmY5NWYtOTdkOS00NWMzLTgwODctMzU1MDVlMDQyNWI0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA3MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNzA2VDA5NTQ1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJhMTIwMDE1NmQ1YzNjNDgwNzU1NjA2N2MyZDc3OGJkMDNkMmZiZDk4NzY0MDU3ZWE0ZjgyYTg5YzZmZmM2MTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.vzed_N_tvNAgV5tHspCTodAKYsuxgQjReif2cjt_gQ4
- Earnings of https://www.msys2.org/
- What's the financial outcome of https://stackoverflow.com/questions/6416782/what-is-namedtemporaryfile-useful-for-on-windows?
- What's the monthly money flow for https://www.githubstatus.com/?
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- Lodash
Emails and Hosting {βοΈ}
Mail Servers:
- aspmx.l.google.com
- alt1.aspmx.l.google.com
- alt2.aspmx.l.google.com
- alt3.aspmx.l.google.com
- alt4.aspmx.l.google.com
Name Servers:
- dns1.p08.nsone.net
- dns2.p08.nsone.net
- dns3.p08.nsone.net
- dns4.p08.nsone.net
- ns-1283.awsdns-32.org
- ns-1707.awsdns-21.co.uk
- ns-421.awsdns-52.com
- ns-520.awsdns-01.net