
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
Privacy plugin fails to copy file if unable to download Β· Issue #8076 Β· squidfunk/mkdocs-material
Description:
Context No response Bug description If the privacy plugin cant download an external image the build process fails while trying to copy that file. INFO - Downloading external file: https://squidfunk.github.io/mkdocs-material/assets/images...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Technology & Computing
- Video & Online Content
- Telecommunications
Content Management System {π}
What CMS is github.com built with?
Github.com operates using 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,653,586 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,316,011 paying customers.
The estimated monthly recurring revenue (MRR) is $22,327,244.
The estimated annual recurring revenues (ARR) are $267,926,929.
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, line, squidfunk, plugin, privacy, issue, bug, homeredactedmkdocmatrepvenvlibpythonsitepackagesclickcorepy, return, sign, fails, external, build, resolved, open, pull, projects, copy, download, httpssquidfunkgithubiomkdocsmaterialassetsimageslayersastronautpng, invoke, copyfile, related, commented, owner, strict, mentioned, navigation, code, issues, requests, discussions, actions, security, unable, closed, starsmkdocsmaterial, description, response, image, info, downloading, warning, call, kwargs, homeredactedmkdocmatrepvenvlibpythonsitepackagesmkdocspluginspy, onpostbuild, outputpath, links, builtin,
Topics {βοΈ}
io/mkdocs-material/assets/images/layers/3-astronaut-10 /run/current-system/sw/lib/python3 12/site-packages/material/plugins/privacy/plugin cache/plugin/privacy/assets/external/squidfunk 12/site-packages/mkdocs/structure/files 12/site-packages/mkdocs/utils/__init__ 12/site-packages/mkdocs/commands/build 12/site-packages/mkdocs/__main__ 12/site-packages/mkdocs/plugins 12/site-packages/click/core completed sourcery-ai mentioned possibly related issues privacy plugin crashes [pull] master build process fails 7-privacy-image-missing bug resolved issue squidfunk closed open projects comment metadata assignees privacy plugin bug reporting guidelines projects milestone squidfunk added code discussions info plugin investigation issue assets external image fails manage bug report strict mode minimal reproduction build browser //squidfunk 404 client error png traceback recent call config=config zip steps attached links plugin squidfunk milestone relationships plugins open png warning retrieve https
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:Privacy plugin fails to copy file if unable to download
articleBody:### Context
_No response_
### Bug description
If the privacy plugin cant download an external image the build process fails while trying to copy that file.
```
INFO - Downloading external file: https://squidfunk.github.io/mkdocs-material/assets/images/layers/3-astronaut-10.png
WARNING - Couldn't retrieve https://squidfunk.github.io/mkdocs-material/assets/images/layers/3-astronaut-10.png: 404 Client Error: Not Found for url:
https://squidfunk.github.io/mkdocs-material/assets/images/layers/3-astronaut-10.png
Traceback (most recent call last):
File "/home/<redacted>/mkdocmatrep/venv/bin/mkdocs", line 8, in <module>
sys.exit(cli())
^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/click/core.py", line 1161, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/click/core.py", line 1082, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/click/core.py", line 1697, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/click/core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/click/core.py", line 788, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/mkdocs/__main__.py", line 288, in build_command
build.build(cfg, dirty=not clean)
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/mkdocs/commands/build.py", line 347, in build
config.plugins.on_post_build(config=config)
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/mkdocs/plugins.py", line 602, in on_post_build
return self.run_event('post_build', config=config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/mkdocs/plugins.py", line 568, in run_event
result = method(**kwargs)
^^^^^^^^^^^^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/material/plugins/privacy/plugin.py", line 205, in on_post_build
file.copy_file()
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/mkdocs/structure/files.py", line 485, in copy_file
utils.copy_file(self.abs_src_path, output_path)
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/mkdocs/utils/__init__.py", line 123, in copy_file
shutil.copyfile(source_path, output_path)
File "/run/current-system/sw/lib/python3.12/shutil.py", line 260, in copyfile
with open(src, 'rb') as fsrc:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/<redacted>/mkdocmatrep/.cache/plugin/privacy/assets/external/squidfunk.github.io/mkdocs-material/assets/images/layers/3-astronaut-10.png'
```
### Related links
- [The code that fails](https://github.com/squidfunk/mkdocs-material/blob/master/src/plugins/privacy/plugin.py#L205)
- Probably related but seems different: #8012
- #8040
### Reproduction
[9.6.7-privacy-image-missing.zip](https://github.com/user-attachments/files/19205139/9.6.7-privacy-image-missing.zip)
### Steps to reproduce
1. Activate privacy plugin
2. Have an external image that cant be downloaded
3. Try to build
### 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/Xenira
type:Person
name:Xenira
datePublished:2025-03-12T07:30:55.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:3
url:https://github.com/8076/mkdocs-material/issues/8076
context:https://schema.org
headline:Privacy plugin fails to copy file if unable to download
articleBody:### Context
_No response_
### Bug description
If the privacy plugin cant download an external image the build process fails while trying to copy that file.
```
INFO - Downloading external file: https://squidfunk.github.io/mkdocs-material/assets/images/layers/3-astronaut-10.png
WARNING - Couldn't retrieve https://squidfunk.github.io/mkdocs-material/assets/images/layers/3-astronaut-10.png: 404 Client Error: Not Found for url:
https://squidfunk.github.io/mkdocs-material/assets/images/layers/3-astronaut-10.png
Traceback (most recent call last):
File "/home/<redacted>/mkdocmatrep/venv/bin/mkdocs", line 8, in <module>
sys.exit(cli())
^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/click/core.py", line 1161, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/click/core.py", line 1082, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/click/core.py", line 1697, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/click/core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/click/core.py", line 788, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/mkdocs/__main__.py", line 288, in build_command
build.build(cfg, dirty=not clean)
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/mkdocs/commands/build.py", line 347, in build
config.plugins.on_post_build(config=config)
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/mkdocs/plugins.py", line 602, in on_post_build
return self.run_event('post_build', config=config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/mkdocs/plugins.py", line 568, in run_event
result = method(**kwargs)
^^^^^^^^^^^^^^^^
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/material/plugins/privacy/plugin.py", line 205, in on_post_build
file.copy_file()
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/mkdocs/structure/files.py", line 485, in copy_file
utils.copy_file(self.abs_src_path, output_path)
File "/home/<redacted>/mkdocmatrep/venv/lib/python3.12/site-packages/mkdocs/utils/__init__.py", line 123, in copy_file
shutil.copyfile(source_path, output_path)
File "/run/current-system/sw/lib/python3.12/shutil.py", line 260, in copyfile
with open(src, 'rb') as fsrc:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/<redacted>/mkdocmatrep/.cache/plugin/privacy/assets/external/squidfunk.github.io/mkdocs-material/assets/images/layers/3-astronaut-10.png'
```
### Related links
- [The code that fails](https://github.com/squidfunk/mkdocs-material/blob/master/src/plugins/privacy/plugin.py#L205)
- Probably related but seems different: #8012
- #8040
### Reproduction
[9.6.7-privacy-image-missing.zip](https://github.com/user-attachments/files/19205139/9.6.7-privacy-image-missing.zip)
### Steps to reproduce
1. Activate privacy plugin
2. Have an external image that cant be downloaded
3. Try to build
### 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/Xenira
type:Person
name:Xenira
datePublished:2025-03-12T07:30:55.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:3
url:https://github.com/8076/mkdocs-material/issues/8076
Person:
url:https://github.com/Xenira
name:Xenira
url:https://github.com/Xenira
name:Xenira
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:3
interactionType:https://schema.org/CommentAction
userInteractionCount:3
External Links {π}(9)
- How much does https://github.blog bring in each month?
- How much profit does https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/ generate?
- How much does https://squidfunk.github.io/mkdocs-material/ net monthly?
- Get to know https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#remove-customizations's earnings
- What's https://squidfunk.github.io/mkdocs-material/guides/creating-a-reproduction/'s gross income?
- https://squidfunk.github.io/mkdocs-material/plugins/info/'s financial summary
- How much does https://www.mkdocs.org/user-guide/configuration/#strict earn?
- Get to know https://squidfunk.github.io/mkdocs-material/changelog/#9.6.8's earnings
- How much income does https://www.githubstatus.com/ have?
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