fontbakery icon indicating copy to clipboard operation
fontbakery copied to clipboard

ERROR: Failed to access: http://namecheck.fontdata.com.

Open yanone opened this issue 6 years ago • 13 comments

Observed behaviour

 >> com.google.fonts/check/fontdata_namecheck
    Familyname must be unique according to namecheck.fontdata.com
    with ./Fonts/ttf/Petrona-ExtraBoldItalic.ttf

      Rationale:                                                                
      We need to check names are not already used, and today the best place to  
      check that is http://namecheck.fontdata.com                               

    * ERROR: Failed to access: http://namecheck.fontdata.com.
Please report this issue at: https://github.com/googlefonts/fontbakery/issues [code: namecheck-service]

It told me to report, so I did.

I hope a unique name won't lead to a failure anyway, because some fonts that we add are actually already listed there.

yanone avatar Dec 12 '19 11:12 yanone

@felipesanches @yanone,

I'm getting the same thing.

  • 💔 ERROR Failed to access: http://namecheck.fontdata.com. Please report this issue at: https://github.com/googlefonts/fontbakery/issues [code: namecheck-service]

bghryct avatar Dec 12 '19 22:12 bghryct

was that only a temporary hiccup on the website? Or do we still get this ERROR?

felipesanches avatar Jan 17 '20 07:01 felipesanches

was that only a temporary hiccup on the website?

Does it matter? It's an external service, maybe we should expect that it can fail and catch that ERROR and make it a FAIL.

graphicore avatar Jan 17 '20 11:01 graphicore

I prefer to keep this as an ERROR because we want people to report it here whenever the site stops working, as we may need to address eventual changes in the integration with the service. And FAIL is dedicated to problems with the font project, while ERRORs are for problems with the setup.

felipesanches avatar Feb 05 '20 10:02 felipesanches

Ok. Then maybe catch that ERROR, add some explanation, about what is happening, like:

This check relies on the external service  http://namecheck.fontdata.com via the internet.
While the service cannot be reached or does not respond this check is broken.
You can exclude this check with the command line option:
       "-x com.google.fonts/check/fontdata_namecheck"
or wait until the service is available again. If the problem persists please report this
issue at: https://github.com/googlefonts/fontbakery/issues.

original error message: {error.message}

And raise it as new ERROR again.

graphicore avatar Feb 05 '20 15:02 graphicore

OK, I like that!

felipesanches avatar Feb 05 '20 15:02 felipesanches

May I suggest to look into implementing the Fontdata API instead and/or update the current request URL to use https instead?

larsschwarz avatar Feb 12 '20 21:02 larsschwarz

instead

Using the API and/or using HTTPS will not spare us from an unresponding service or bad network.

implementing the Fontdata API

All I can find about the API is https://namecheck.fontdata.com/about/

Developers / API

Even this tool is in an very early stage there is an API provided to programtically access the data.

@larsschwarz where is the documentation on how to use the API?

graphicore avatar Feb 13 '20 03:02 graphicore

@graphicore See https://github.com/googlefonts/fontbakery/issues/2684#issuecomment-559297019

larsschwarz avatar Feb 13 '20 11:02 larsschwarz

@larsschwarz thanks. Yeah, that's pretty straight forward.

graphicore avatar Feb 13 '20 12:02 graphicore

I'm having the same error with Fontbakery too right now :/

fridamedrano avatar Aug 01 '23 01:08 fridamedrano

Site appears to be down again: https://namecheck.fontdata.com/about/

Hoolean avatar Jan 28 '25 11:01 Hoolean

It's back online. As every 5 years I'd like to remind of this comment here

https://github.com/fonttools/fontbakery/issues/2684#issuecomment-559297019

The site offers an API since 2019, no need to scrape/parse old fashioned HTML ;)

larsschwarz avatar Jan 28 '25 12:01 larsschwarz