Error: Uncaught (in promise) Error: one or more fonts could not be loaded.(…)

1,225 views
Skip to first unread message

Julian Claus

unread,
Oct 30, 2015, 2:47:37 AM10/30/15
to Google Visualization API
Hi, since today I get this error in my Chrome console:

Uncaught (in promise) Error: one or more fonts could not be loaded.(…)
    at Error (native)
    at Object.QEa.b.fonts.c.WebFont.c.WebFont.load.fontinactive (eval at e (https://www.gstatic.com/charts/loader.js:133:425), <anonymous>:615:189)
    at J (eval at e (https://www.gstatic.com/charts/loader.js:133:425), <anonymous>:1691:746)
    at V.W (eval at e (https://www.gstatic.com/charts/loader.js:133:425), <anonymous>:1694:239)
    at eval (eval at e (https://www.gstatic.com/charts/loader.js:133:425), <anonymous>:1691:1733)

I have two line charts and I use the frozen charts 4.3. It this a known issue?

Sergey Grabkovsky

unread,
Oct 30, 2015, 10:32:05 AM10/30/15
to Google Visualization API
Hi Julian,

I'm surprised that this behavior changed yesterday, but I've seen something like this before. Are you customizing any fonts? Could you link to a jsfiddle that reproduces the issue?

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/04e1753c-9a3b-4d68-9196-539b2e9e5a37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
unnamed.gif 
Sergey Grabkovsky | SWE  | gra...@google.com
Message has been deleted

Julian Claus

unread,
Oct 30, 2015, 11:25:22 AM10/30/15
to Google Visualization API
Yes, I am using a Google Font. But the rest of my content has the right font. I can provide an URL:

http://www.julianclaus.de/langstreckenlauf/diagramme/

Sergey Grabkovsky

unread,
Oct 30, 2015, 12:32:09 PM10/30/15
to Google Visualization API
Hi Julian,

This appears to be an error with the new version of the WebFontLoader (1.6.8 and later). I've filed a bug against them, and hopefully it will be fixed.

On Fri, Oct 30, 2015 at 11:25 AM Julian Claus <kon...@julianclaus.de> wrote:
Yes, I am using a Google Font. But the rest of my content has the right font. I can provide an URL:

http://www.julianclaus.de/langstreckenlauf/diagramme/

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.

Julian Claus

unread,
Oct 30, 2015, 12:35:39 PM10/30/15
to Google Visualization API
Cool, thanks a lot, Sergey!


Am Freitag, 30. Oktober 2015 17:32:09 UTC+1 schrieb Sergey:
Hi Julian,

This appears to be an error with the new version of the WebFontLoader (1.6.8 and later). I've filed a bug against them, and hopefully it will be fixed.

On Fri, Oct 30, 2015 at 11:25 AM Julian Claus <kon...@julianclaus.de> wrote:
Yes, I am using a Google Font. But the rest of my content has the right font. I can provide an URL:

http://www.julianclaus.de/langstreckenlauf/diagramme/

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

Sergey Grabkovsky

unread,
Oct 30, 2015, 2:02:46 PM10/30/15
to Google Visualization API
I just did a push of version 43 with the older version of WebFontLoader, so your issues should go away soon.

On Fri, Oct 30, 2015 at 12:35 PM Julian Claus <kon...@julianclaus.de> wrote:
Cool, thanks a lot, Sergey!


Am Freitag, 30. Oktober 2015 17:32:09 UTC+1 schrieb Sergey:
Hi Julian,

This appears to be an error with the new version of the WebFontLoader (1.6.8 and later). I've filed a bug against them, and hopefully it will be fixed.

On Fri, Oct 30, 2015 at 11:25 AM Julian Claus <kon...@julianclaus.de> wrote:
Yes, I am using a Google Font. But the rest of my content has the right font. I can provide an URL:

http://www.julianclaus.de/langstreckenlauf/diagramme/

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
--
unnamed.gif 
Sergey Grabkovsky | SWE  | gra...@google.com

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.

Julian Claus

unread,
Oct 30, 2015, 6:38:21 PM10/30/15
to Google Visualization API
Yes it works again. Thank you!

You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/bSJLBO_fm2w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.

Debashis Roy

unread,
Nov 5, 2015, 10:19:38 AM11/5/15
to Google Visualization API
Hi Sergey,

Since last couple of hours I am observing a similar behaviour. I am working with Bar package from version 1.1.
The first chart is displayed correctly without any error. However, when I try to redraw the same chart with different data-set, I am seeing the same error.
This was working fine about 8 hours back.
Below is the stack trace. I tried this with 1.0 as well. Doesn't work.

Best...
Debashis

Uncaught (in promise) Error: one or more fonts could not be loaded.

On Saturday, 31 October 2015 04:08:21 UTC+5:30, Julian Claus wrote:
Yes it works again. Thank you!

'Sergey Grabkovsky' via Google Visualization API <google-visua...@googlegroups.com> schrieb am Fr., 30. Okt. 2015 um 19:02 Uhr:
I just did a push of version 43 with the older version of WebFontLoader, so your issues should go away soon.

On Fri, Oct 30, 2015 at 12:35 PM Julian Claus <kon...@julianclaus.de> wrote:
Cool, thanks a lot, Sergey!


Am Freitag, 30. Oktober 2015 17:32:09 UTC+1 schrieb Sergey:
Hi Julian,

This appears to be an error with the new version of the WebFontLoader (1.6.8 and later). I've filed a bug against them, and hopefully it will be fixed.

On Fri, Oct 30, 2015 at 11:25 AM Julian Claus <kon...@julianclaus.de> wrote:
Yes, I am using a Google Font. But the rest of my content has the right font. I can provide an URL:

http://www.julianclaus.de/langstreckenlauf/diagramme/

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
--
unnamed.gif 
Sergey Grabkovsky | SWE  | gra...@google.com

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.
--
unnamed.gif 
Sergey Grabkovsky | SWE  | gra...@google.com

--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/bSJLBO_fm2w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualization-api+unsub...@googlegroups.com.

Sergey Grabkovsky

unread,
Nov 5, 2015, 10:32:39 AM11/5/15
to Google Visualization API
This is a known issue in 1.1. You might be able to use 1.0 instead, but we recommend that you use frozen 43. You can find instructions for loading it here: https://developers.google.com/chart/interactive/docs/library_loading_enhancements#frozen-versions

To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
--
unnamed.gif 
Sergey Grabkovsky | SWE  | gra...@google.com

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
--
unnamed.gif 
Sergey Grabkovsky | SWE  | gra...@google.com

--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/bSJLBO_fm2w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.

Debashis Roy

unread,
Nov 5, 2015, 10:54:43 AM11/5/15
to google-visua...@googlegroups.com
Thanks a lot Sergey. It worked.

Best...

Reply all
Reply to author
Forward
0 new messages