TypeError: '<' not supported between instances of 'int' and 'UFOFormatVersion'
See original GitHub issueI’m getting this error from checkoutlinesufo
after updating FonTools:
$ checkoutlinesufo -e -q tests/checkoutlinesufo_data/input/ufo2.ufo
Traceback (most recent call last):
File "python/afdko/checkoutlinesufo.py", line 1109, in <module>
main()
File "python/afdko/checkoutlinesufo.py", line 1103, in main
run(sys.argv[1:])
File "python/afdko/checkoutlinesufo.py", line 1092, in run
font_file.save()
File "python/afdko/checkoutlinesufo.py", line 136, in save
layerName=PROCD_GLYPHS_LAYER_NAME, defaultLayer=False)
File "/fonttools/Lib/fontTools/ufoLib/__init__.py", line 1440, in getGlyphSet
self._formatVersion < UFOFormatVersion.FORMAT_3_0
TypeError: '<' not supported between instances of 'int' and 'UFOFormatVersion'
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
' not supported between instances of 'int' and 'function' - Stack ...
I added int(0) thinking it would help, obvs not. It is not 100% complete as I want to fix this error before moving...
Read more >TypeError: < not supported between instances of str and int
The Python TypeError: '<' not supported between instances of 'str' and 'int' occurs when we use a comparison operator between values of type...
Read more >' not supported between instances of 'int' and 'bytes'
Hi,. I am getting this error when I am starting a participant in demo. This is the traceback: Exception in ASGI application.
Read more >TypeError: '>' not supported between instances of 'int ... - GitHub
Informations Qiskit version: 0.20.0 Python version: 3.7.8 Operating system: posix What is the current behavior?
Read more >Solve typeerror not supported between instances of str and int ...
Problem. When comparing two numbers, typically using an IF statement in Python3, you get the following error: typeerror <, > , <= not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
AFDKO will “hack on”, but not forever: https://github.com/adobe-type-tools/afdko/issues/1135
Not really a FontTools bug.