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.


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 to Frank McPherson for the excellent report.

Last built: Mon, Oct 13, 2014 at 6:48 AM

By Dave Winer, Thursday, February 27, 2014 at 12:29 PM. You should never argue with a crazy man.