Alexander Voss
Alexander Voss
@kamilkrzyskow, am I reading your message right that in the end you are using a MingW64 version of Python? My experience with Python 3.12 from python.org is that I *do*...
For comparison, this is what I get in Powershell: ``` PS C:\src\tmp> gcm python CommandType Name Version Source ----------- ---- ------- ------ Application python.exe 0.0.0.0 C:\Users\Alex Voss\AppData\Local\Microsoft\WindowsApps\python.exe PS C:\src\tmp> python...
So, I suspected that the fact I had you have the DLL in the System path as opposed to the user path was the crucial difference but it did not...
I am trying to reproduce the issue but am afraid I have not found a way yet to install the `libcairo` dependency on my Windows laptop. @Aazih, how did you...
Ok, I managed to run the replication project and get an OSError as well, though without the stack trace for some reason. The `.cache` directory has the `plugin/social` subdirectories. There...
Ok, so this issue occurs in both the public and the insiders version and traces to a call to `ImageFont.truetype(temp.name)`. The argument is a string that seems to point to...
@Aazih thanks for the info about installing using MSYS2. I tried that in October but ran into various problems. Would be good if we could say this has become a...
Ok, it does look like this is a Windows-specific issue with `NamedTemporaryFile`: https://stackoverflow.com/questions/6416782/what-is-namedtemporaryfile-useful-for-on-windows @squidfunk, this is in https://github.com/squidfunk/mkdocs-material/blob/dca9c27417eb894faecaaf105cd31425083719c5/src/plugins/social/plugin.py#L531 in the public version. I tried to `seek` the open temporary file...
> Also the ImageFont.truetype should accept a file-like object, so perhaps the BytesIO(res.content) could work? Aha, BytesIO might be what I was looking for. Hope it is possible toread the...
I created a [pull request ](https://github.com/squidfunk/mkdocs-material/pull/7117 )with code based on @kamilkrzyskow's suggestion of using `ByteIO`, which works just fine. I tested against the Material for MkDocs documentation as well as...