ryanoasis/nerd-fonts

Not able to open glyphnames json when running patcher 3.3.0 script in WIndows

saumyajyoti opened this issue · 7 comments

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

Oh. Two questions:

  1. You patch directly under Windows, not in some Linux Subsystem?
  2. How did you get the patcher script on your machine? Repo clone, FontPatcher.zip, ... ?
  3. Which Python version are you using?

You patch directly under Windows, not in some Linux Subsystem?

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