Author Topic: A Way to Force WC to Ignore Current .plist?  (Read 138 times)

xairbusdriver

  • Storm
  • *****
  • Posts: 2196
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.13.4/WC 3.0
A Way to Force WC to Ignore Current .plist?
« 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]

elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 4999
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, MacBook Pro (Early 2011), macOS 10.13.6, WeatherCat 3
<CTRL> is "safe mode." (Re: A Way to Force WC to Ignore Current .plist?)
« Reply #1 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

xairbusdriver

  • Storm
  • *****
  • Posts: 2196
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.13.4/WC 3.0
Re: A Way to Force WC to Ignore Current .plist?
« Reply #2 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

Blicj11

  • Storm
  • *****
  • Posts: 3024
    • EW3808
    • KUTHEBER6
    • Timber Lakes Utah
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP™ Data Logger | iMac (late 2013), 3.5 GHz Intel Core i7, 24 GB RAM, macOS Mojave | Sharx SCNC2900 Webcam | Supportive Wife
Re: A Way to Force WC to Ignore Current .plist?
« Reply #3 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.
Blick


xairbusdriver

  • Storm
  • *****
  • Posts: 2196
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.13.4/WC 3.0
Re: A Way to Force WC to Ignore Current .plist?
« Reply #4 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."