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.

MacOS: ftxvalidator is installed, but "Checking with ftxvalidator" still returns ERROR

See original GitHub issue

On MacOS 10.11 I have ftxvalidator [build 207, FontToolbox.framework build 257] installed and have tested it from the command line on a .ttf file, this results in a plist as output.

However, when I run fontbakery check-googlefonts Same-Font.ttf I still get a checking with ftxvalidator ERROR:

>> com.google.fonts/check/035 with (('font[0]', 'Orbitron-VF.ttf'),)
   Checking with ftxvalidator.
 * ERROR: Failed with AttributeError: module 'plistlib' has no attribute 'readPlistFromString'
           File "/Users/eli/Py/Venv/type-tools/lib/python3.6/site-packages/fontbakery/checkrunner.py", line 347, in _exec_check_generator
             for sub_result in gen:
         

   Result: ERROR

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
felipesanchescommented, Jun 27, 2018

Looking here, readPlistFromString should be the correct method: https://docs.python.org/2/library/plistlib.html

But then looking at the python 3 documentation: https://docs.python.org/3/library/plistlib.html

we see that we have plistlib.readPlistFromBytes(data) instead!

0reactions
felipesanchescommented, Jun 29, 2018

this was fixed on pull request #1947

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not able to upload fonts on Prosper (MyFonts) - TypeDrawers
The native font validator shows error that fonts cannot be Installed on MacOSx/MacOS" and shows message "Your font may have serious errors.
Read more >
Font book error messages - Apple Support Communities
I have a MacBook Pro with El Capitan 10.11.5. Suddenly, Font Book gives me the same message about new fonts I want to...
Read more >
Using OS X's font validator - Java PDF Blog - IDRsolutions
The documentation might tell you that the command you want is ATSValidator, which has supposedly replaced ftxvalidator, but after installing ...
Read more >
Fixing Mac OS X Install Errors “can't be verified ... - OSXDaily
To determine if the Terminal date trick can fix those error messages and help you to successfully install MacOS X, you'll need to...
Read more >
Source code for fontbakery.profiles.universal - Read the Docs
But we have a duty to fix broken stuff, and inconsistent paragraph layout ... CalledProcessError as e: yield ERROR, ("ftxvalidator returned an error...
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