8000 `No module named 'fontFeatures.pathUtils'` · Issue #117 · googlefonts/Gulzar · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

No module named 'fontFeatures.pathUtils' #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JWesorick opened this issue Oct 10, 2023 · 2 comments
Open

No module named 'fontFeatures.pathUtils' #117

JWesorick opened this issue Oct 10, 2023 · 2 comments

Comments

@JWesorick
Copy link

After cloning the repo, installing the requirements and running make I get No module named 'fontFeatures.pathUtils'. It looks like pathUtils was removed from that package. Should the requirements be locked down more to specific versions?

@JWesorick
Copy link
Author

I was able to change my requirements.txt to this to get it running:

git+https://github.com/simoncozens/karakul@882519f82efd829df2dae83b7f2410c00337fdd5
glyphsLib
uharfbuzz>=0.31.0
kurbopy>=0.8.21
fontmake
youseedee
tqdm
fontbakery==0.8.11a8
font-v
gftools
fontFeatures==1.7.4

but now after the progress bar reaching 100% get a new error:

Traceback (most recent call last):
  File "/Users/me/src/Gulzar/venv/bin/fez2fea", line 44, in <module>
    print(p.fontfeatures.asFea(do_gdef=args.do_gdef))
  File "/Users/me/src/Gulzar/venv/lib/python3.10/site-packages/fontFeatures/feaLib/FontFeatures.py", line 21, in asFea
    return self.asFeaAST(**kwargs).asFea()
  File "/Users/me/src/Gulzar/venv/lib/python3.10/site-packages/fontFeatures/feaLib/FontFeatures.py", line 149, in asFeaAST
    pre = k.feaPreamble(self)
  File "/Users/me/src/Gulzar/venv/lib/python3.10/site-packages/fontFeatures/feaLib/Routine.py", line 35, in feaPreamble
    if self.flags & 0xFF00:
TypeError: unsupported operand type(s) for &: 'dict' and 'int'

@YusukeShirakihara
Copy link
YusukeShirakihara commented May 8, 2024

@simoncozens or @JWesorick
I attempted the make command using the same configuration, and encountered a similar error (with fontFeatures==1.7.3 set). So, I would be grateful if you could provide any guidance on resolving this issue. Do you have any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0