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.

Error building on windows

See original GitHub issue

Don’t know if this is anything related to windows or that I did something wrong. But i get the following error while building:

Building OperatorMonoLig-Book
Dumping ".\original\OperatorMono-Book.otf" to ".\original\OperatorMono-Book.ttx"...
Dumping 'GlyphOrder' table...
Dumping 'head' table...
Dumping 'hhea' table...
Dumping 'maxp' table...
Dumping 'OS/2' table...
Dumping 'name' table...
Dumping 'cmap' table...
Dumping 'post' table...
Dumping 'CFF ' table...
Dumping 'GPOS' table...
Dumping 'GSUB' table...
Dumping 'hmtx' table...
Dumping 'DSIG' table...
Reading original font file ./original/OperatorMono-Book.ttx
Patching names
Patching glyphs
Patching gpos
Patching gsub
Patching hmtx
Patching charstrings
Writing ligature font file ./build/OperatorMonoLig-Book.ttx
Done
Compiling ".\build\OperatorMonoLig-Book.ttx" to ".\build\OperatorMonoLig-Book.otf"...
Parsing 'GlyphOrder' table...
Parsing 'head' table...
Parsing 'hhea' table...
Parsing 'maxp' table...
Parsing 'OS/2' table...
Parsing 'name' table...
Parsing 'cmap' table...
Parsing 'post' table...
Parsing 'CFF ' table...
Parsing 'GPOS' table...
Parsing 'GSUB' table...
Parsing 'hmtx' table...
Parsing 'DSIG' table...
ERROR: Unhandled exception has occurred
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\fontTools\ttx.py", line 389, in main
    process(jobs, options)
  File "c:\python27\lib\site-packages\fontTools\ttx.py", line 363, in process
    action(input, output, options)
  File "c:\python27\lib\site-packages\fontTools\misc\loggingTools.py", line 372, in wrapper
    return func(*args, **kwds)
  File "c:\python27\lib\site-packages\fontTools\ttx.py", line 281, in ttCompile
    ttf.save(output)
  File "c:\python27\lib\site-packages\fontTools\ttLib\__init__.py", line 221, in save
    self._writeTable(tag, writer, done)
  File "c:\python27\lib\site-packages\fontTools\ttLib\__init__.py", line 657, in _writeTable
    self._writeTable(masterTable, writer, done)
  File "c:\python27\lib\site-packages\fontTools\ttLib\__init__.py", line 660, in _writeTable
    tabledata = self.getTableData(tag)
  File "c:\python27\lib\site-packages\fontTools\ttLib\__init__.py", line 671, in getTableData
    return self.tables[tag].compile(self)
  File "c:\python27\lib\site-packages\fontTools\ttLib\tables\C_F_F_.py", line 20, in compile
    self.cff.compile(f, otFont, isCFF2=False)
  File "c:\python27\lib\site-packages\fontTools\cffLib\__init__.py", line 108, in compile
    topDict.recalcFontBBox()
  File "c:\python27\lib\site-packages\fontTools\cffLib\__init__.py", line 2341, in recalcFontBBox
    bounds = charString.calcBounds()
  File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 984, in calcBounds
    self.draw(boundsPen)
  File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 979, in draw
    extractor.execute(self)
  File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 301, in execute
    rv = handler(index)
  File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 345, in op_callgsubr
    self.execute(subr)
  File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 301, in execute
    rv = handler(index)
  File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 345, in op_callgsubr
    self.execute(subr)
  File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 301, in execute
    rv = handler(index)
  File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 634, in op_vvcurveto
    dya, dxb, dyb, dyc = args[i:i+4]
ValueError: need more than 2 values to unpack
(Hit any key to exit)

Any idea what went wrong? I have the following versions:

Python 2.7.12 Node 8.9.0

I only put in the OperatorMono-Book.otf in the original folder

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
wind-walkerzcommented, Feb 12, 2018

@AlekseyPn How can you do that, I’ve tried to use Windows subsytem for Linux but I still got the error

1reaction
DJWassinkcommented, Dec 17, 2017

On linux it builded correctly so I now have the fonts with lig’s 😄 So apperantly it’s not the font its fault that it failed on windows.

Thanks for your awesome work, the lig’s look awesome ❤️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Project build errors and warnings (PRJxxxx)
The Visual Studio compilers and build tools can report many kinds of errors and warnings. After an error or warning is found, the...
Read more >
build error on windows #3568 - google/mediapipe
Describe the problem: When ran the follow command on windows, errors occured! I followed the official document. Can not find any solutions.
Read more >
Error building on Windows : r/rust
I write some days ago a code in Linux, with gtk for the gui. I had problems trying to cross-compile it for windows....
Read more >
Error List pops up during build even after disabling "Always ...
I disabled "Always show Error List if build finishes with errors" in Settings > Projects and Solutions > General but when building my...
Read more >
Bug - IL2CPP error on Building for Windows
I cannot build for Windows.... Linux/Mac/Nintendo Switch is working as expected. What I can try to fix it? Code (CSharp):. Building Library\Bee\ ...
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