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.

Incompatible masters found in varLib._add_gvar()

See original GitHub issue

I’ve ran into this traceback,

Traceback (most recent call last):
  File "/fontTools/varLib/__init__.py", line 633, in build
    _add_gvar(vf, model, master_fonts)
  File "/fontTools/varLib/__init__.py", line 248, in _add_gvar
    allCoords = [d[0] for d in allData]
TypeError: 'NoneType' object has no attribute '__getitem__'

It was caused by U+0020 being named space in one master font, and uni0020 in the other.

@behdad where should a check for this kind of incompatibility be added?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
behdadcommented, Jul 27, 2017

I think all that’s needed is a better error msg.

No, long-term I do want to allow masters that do not have all glyphs. Aka the brace trick: https://glyphsapp.com/tutorials/additional-masters-for-individual-glyphs-the-brace-trick

0reactions
justvanrossumcommented, Jul 27, 2017

Makes sense. But Miguel’s case is clearly a mistake, where two glyphs with the same code point have different glyph names.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gurobi Optimizer Reference Manual
GRBModel::addVar() . ... A detailed description of the Gurobi log file can be found ... Compute an Irreducible Inconsistent Subsystem (IIS).
Read more >
Pyomo — Optimization Modeling in Python - EDGE
The series Springer Optimization and Its Applications publishes under- graduate and graduate textbooks, monographs and state-of-the-art exposi- tory work that ...
Read more >
openshift-ansible/openshift-ansible.spec at maistra-0.12
Bug 1610224 - Unable to find container log in Elasticsearch when using cri-o ... Add var for controller to enable async bindings (jpeeler@redhat.com)....
Read more >
Bug listing with status UNCONFIRMED as at 2022/12/22 02 ...
... Bug:397863 - "net-misc/openvpn: add /var/run/openvpn to be ok with selinux ... not be found by inherit()" status:UNCONFIRMED resolution: severity:normal ...
Read more >
Junos® OS Release 17.3R3 for the ACX Series, EX Series ...
These release notes accompany Junos OS Release for the ACX Series. They describe new and changed features, limitations, and known and resolved problems...
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