Trixology

WeatherCat => WeatherCat General Discussion => Topic started by: xairbusdriver on August 06, 2018, 11:03:39 PM

Title: A Way to Force WC to Ignore Current .plist?
Post by: xairbusdriver on August 06, 2018, 11:03:39 PM
Although I can't find it now, I thought I remembered a way to force WC to start up without using a current plist. Control-key on startup? Option-startup?

I have been 'messing' with Synthetic Channels and found WC (3.02) crashing with what I think is a "System Alert" saying that something to the effect that my "Session has ended...". Unfortunately, it disappears way to fast for me to make a screen capture.

Restarting WC seems to work. The Weather Station Gauges window comes up, but WC crashes again with in a few seconds. I assume I may have created a problem with one of the Synthetic Channels. However, I am still looking for a file that might have those settings stored. Don't see anything in the 'normal' ~/Library/Preferences/com.trixology.weathercat.plist.

Pertinent Crash Log:
Code: [Select]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.trixology.weathercat
    0x000000010ea17fad -[SyntheticChannelManager
    runFormula:value_ptr:errorString:
    ignore_disabled:]
    + 5322
1 com.trixology.weathercat
    0x000000010ea183ec -[SyntheticChannelManager
    runAndGetResultString:channel_channel_type:
    ignore_disabled:]
     + 58
2 com.trixology.weathercat
    0x000000010ea16188 -[SyntheticChannelManager
    browser:willDisplayCell:atRow:column:]
    + 387
3 com.apple.AppKit
    0x00007fff48c0e639 -[NSBrowser
    _loadCell:atRow:col:inMatrix:] + 694
4 com.apple.AppKit
    0x00007fff48ab6343 -[NSMatrix drawRect:]
    + 1094

If no one comes up with anything, I'll simply move the current plist and re-build manually. [banghead] OTOH, perhaps a WC plist from earlier today would suffice...

Later... Replaced current plist with one from ~7:30am did not help.

Perhaps a complete re-install of WC? [coffee]
Title: <CTRL> is "safe mode." (Re: A Way to Force WC to Ignore Current .plist?)
Post by: elagache on August 06, 2018, 11:28:08 PM
Dear X-Air and WeatherCat users in need of rescue,

Although I can't find it now, I thought I remembered a way to force WC to start up without using a current plist. Control-key on startup? Option-startup?

Look at page 67 of the current WeatherCat manual.  It is called "safe mode" and is accessed by holding down the <CTRL> key as WeatherCat launches.  It does disable synthetic channels so that you can work on them.  Should be what you need.

Cheers, Edouard
Title: Re: A Way to Force WC to Ignore Current .plist?
Post by: xairbusdriver on August 06, 2018, 11:29:11 PM
Control-Open WC from Dock presented me with the opportunity to Restore from Backup. I may lose some data as it is over 9 hours since the last backup. WC is still running after 5+ minutes. That may not sound like much but it is several powers longer than a few seconds! [cheer]

If it is still running at the 10 minute mark, I may even click the Weather Station Gauges or attempt to use the WC menus! [lol]

Was writing the above when you posted exactly what I needed to do: Read The Manual! [blush]
Code: [Select]
Note: It is also possible to edit
synthetic channels in safe mode -
this is useful if you?ve introduced an
infinite loop in a channel function.
Or any other stupid erer, I hope.  [computer][goofy]

Since I haven't ever used a Synthetic Channel, I'll delete the ones I was 'playing' with!  :o
Title: Re: A Way to Force WC to Ignore Current .plist?
Post by: Blicj11 on August 07, 2018, 01:17:24 AM
You can't learn anything new about the powerful features of WeatherCat unless you push a few buttons to see what happens. Thankfully, it's pretty easy to recover from that special combination that you shouldn't have tried in the first place. But fairplay to you for adventuring into new territory.
Title: Re: A Way to Force WC to Ignore Current .plist?
Post by: xairbusdriver on August 07, 2018, 02:16:31 AM
Quote
it's pretty easy to recover from that special combination that you shouldn't have tried in the first place.
Once again, The Dev provided a fix for those he knew would need it! As Mr. Lincoln once said, "Just because there is a button in an app, that doesn't mean you should click it."