Not able to open glyphnames json when running patcher 3.3.0 script in WIndows
saumyajyoti opened this issue · 7 comments
saumyajyoti commented
Requirements
- I have searched the issues for my issue and found nothing related or helpful
- I have searched the FAQ for help
- I have checked the Wiki for help
Experienced Behavior
The patcher script throws the below warning:
Nerd Fonts Patcher v3.3.0 (4.16.1) (ff 20230101)
WARNING: Can not read glyphnames file (UnicodeDecodeError('charmap', b'{"METADATA":{"website":"https://www.nerdfonts.com","development-website":"https://github.com/ryanoasis/nerd-fonts","
Expected Behavior
Script runs without this warning
Example Symbols or Text
No response
Font Used
My custom IOSEVKA font.
Source of Font File
https://github.com/saumyajyoti/MiosevkaNerdFont
Terminal Emulator (and the title of the terminal window)
Windows Terminal
Operating System and Version
Windows 11, 23H2
Screenshots
No response
Finii commented
Oh. Two questions:
- You patch directly under Windows, not in some Linux Subsystem?
- How did you get the patcher script on your machine? Repo clone,
FontPatcher.zip
, ... ? - Which Python version are you using?
saumyajyoti commented
You patch directly under Windows, not in some Linux Subsystem?
- Yes, I patch directly on windows 11 using batch file. It used to work fine until previous release of Fontpatcher; there this json was not there. Script is here: https://github.com/saumyajyoti/MiosevkaNerdFont/blob/main/IOSEVKA-Custom-NF/nerdfont.bat
How did you get the patcher script on your machine? Repo clone, FontPatcher.zip, ... ?
- Downloaded Fontpatcher.zip.
Which Python version are you using?
- Using FFPYthon bundled in WIndows Fontforge release 2023-1-1. Python version:
- Python 3.10.9 (main, Dec 10 2022, 09:16:22) [GCC 12.2.0 32 bit] on win32