googlefonts / fontbakery-dashboard

A library-scale web dashboard for Font Bakery, no longer developed
Apache License 2.0
28 stars 10 forks source link

[dispatcher] Initializing process: family information is missing #169

Closed vv-monsalve closed 4 years ago

vv-monsalve commented 4 years ago

Screen Shot 2020-04-08 at 12 06 40

The error message could be more explanatory to guide the user. On chat with @graphicore it was settled to:

The request cannot be processed because the family information is missing.
This can happen when either the family is not listed or the server has not yet received the latest information. Please wait a moment and try again. If the problem persists please file an issue.
graphicore commented 4 years ago

To add more context:

It looks like this is a caching problem that is not located in the dashboard. Either it's some network layer caching or on the google spreadsheet API that is used to store/read this data. The dashboard code explicitly uses no caching in these requests, to be as up to date as possible. It's interesting that the drop down (via uiPreInit) received the family entry, but the checkUpdate function of FamilyPRDispatcherProcess did not, despite of running considerably after uiPreInit.