Narrative

As Fargo was booting up, if there was a watched outline in tabs.json, it would fail.

Frank reported that the icons wouldn't show up, but when I reproduced the problem it was even more serious -- the app itself didn't load.

The problem was introduced when I added Fargo Publisher support to Fargo. When the app is booting, appPrefs hasn't yet been set up, so when it tried to read the watched outline, it would fail. I added some defensive driving to the boot-up process to delay the read until the app was fully initialized. But there was some other initializing that wasn't happening, which would cause yet another failure.

Solution

I solved the problem by having Fargo use the default server to read watched outlines as it's starting up. Once the app is running, it uses the server that's in prefs.json.

Thanks!

Thanks to Frank McPherson for the excellent report.

02/27/14; 12:29:31 PM

Last built: Thu, Jun 5, 2014 at 6:11 PM

By Dave Winer, Thursday, February 27, 2014 at 12:29 PM.