question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compiling UFO failed: module 'uharfbuzz' has no attribute 'RepackerError'

See original GitHub issue

Hi, I’m using the fontmake -m MyDesignSpace.designspace --check-compatibility command and I’m getting the message:

Compiling UFO failed: module 'uharfbuzz' has no attribute 'RepackerError'

I think it’s connected to other error I’m also getting when trying to make instances with python

In '../../../../03-sources/Roman/MyDesignSpace.designspace': Generating fonts from Designspace failed: <method 'load_module' of 'zipimport.zipimporter' objects> returned NULL without setting an error

Does someone know what’s happening?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
eduairetcommented, May 30, 2022

Adding uharfbuzz==0.26.0 to my environment worked for me 🙃 @chrissimpkins

1reaction
chrissimpkinscommented, May 27, 2022

Does it work if you add uharfbuzz==0.26.0 as a build dependency in your requirements.txt file and re-install all build dependencies in your build environment?

It looks like the RepackerError was added to uharfbuzz back in March and released in v0.23.0

https://github.com/harfbuzz/uharfbuzz/pull/113

(If this works, this is likely a bug. You shouldn’t need to install uharfbuzz to compile with fontmake, the compatibility check in the OP may include uharfbuzz as a requirement and be a slightly different issue?)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Resolve Module Has No Attribute - Python Error ...
In this tutorial I will be showing you how to MANAGE THE " MODULE HAS NO ATTRIBUTE " ERROR MESSAGE using Python. This...
Read more >
How to resolve the error, "module umap has no attribute ...
To use UMAP you need to install umap-learn not umap . So, in case you installed umap run the following commands to uninstall...
Read more >
fontmake - bytemeta
Compiling UFO failed : module 'uharfbuzz' has no attribute 'RepackerError' ... Generating fonts from Designspace failed: ('an integer is required (got type ...
Read more >
Googlefonts Fontmake Statistics & Issues - Codesti
Googlefonts Fontmake: Compile fonts from sources (UFO, Glyphs) to binary ... Compiling UFO failed: module 'uharfbuzz' has no attribute 'RepackerError' ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found