Author Topic: Entering webcam info. causes unrecoverable crash  (Read 2144 times)

crawdad62

  • Gentle Breeze
  • **
  • Posts: 20
    • KINGREEN96
    • Sherwood PWS
  • Station Details: Davis Vantage Pro 2 with 24hr. FARS with Foscam camera. Mac Studio Max
Entering webcam info. causes unrecoverable crash
« on: March 24, 2022, 11:31:27 PM »
WeatherCat 3.1.3
Mac OSX 12.3

New Mac that I installed a fresh copy of WeatherCat. Go into preferences and everything is fine until I try to enter my webcam information. When I do WeatherCat crashes and keeps crashing when trying to open it up. Have to delete it and re-download. Any ideas? Thanks

xairbusdriver

  • Storm
  • *****
  • Posts: 3131
Re: Entering webcam info. causes unrecoverable crash
« Reply #1 on: March 25, 2022, 02:22:52 PM »
Sounds like a WC pref file corruption. I'd suggest replacing the com.trixology.weathercat.plist as that file contains 14 instances/keys with partial titles of "WebCam".

Do you know how to access your home Library in Finder?
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system

Blicj11

  • Storm
  • *****
  • Posts: 4061
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Sonoma 14.8.3 | WeatherCat 3.3 | Supportive Wife
Re: Entering webcam info. causes unrecoverable crash
« Reply #2 on: March 25, 2022, 03:51:12 PM »
There is a wiki article regarding the plist. It may not help you this time around, but it will save you some heartache the next time this happens.

https://wiki.trixology.com/index.php?title=How_to_create_and_use_a_backup_of_your_WeatherCat_preferences_file
Blick


crawdad62

  • Gentle Breeze
  • **
  • Posts: 20
    • KINGREEN96
    • Sherwood PWS
  • Station Details: Davis Vantage Pro 2 with 24hr. FARS with Foscam camera. Mac Studio Max
Re: Entering webcam info. causes unrecoverable crash
« Reply #3 on: March 25, 2022, 06:50:28 PM »
Replaced the preference file. Didn't seem to help. Here's what the crash log said:

Termination Reason:    Namespace TCC, Code 0
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

Application Specific Information:
Performing @selector(handleWebCamOptions:) from sender NSButton 0x7f7936e65270


Looks like it is related to a preference file.

xairbusdriver

  • Storm
  • *****
  • Posts: 3131
Re: Entering webcam info. causes unrecoverable crash
« Reply #4 on: March 25, 2022, 07:29:12 PM »
Quote
Replaced the preference file. Didn't seem to help.
Would you please describe the steps you took to "replace" that plist?
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system

crawdad62

  • Gentle Breeze
  • **
  • Posts: 20
    • KINGREEN96
    • Sherwood PWS
  • Station Details: Davis Vantage Pro 2 with 24hr. FARS with Foscam camera. Mac Studio Max
Re: Entering webcam info. causes unrecoverable crash
« Reply #5 on: March 25, 2022, 09:14:19 PM »
Went to ~(username)->Library->Preferences->com.trixology.weathercat.plist->right click and duplicated->took the original and trashed it. Took the "copy" off the file name and restarted. Opened up Weathercat and navigated to the Webcam preference.

Blicj11

  • Storm
  • *****
  • Posts: 4061
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Sonoma 14.8.3 | WeatherCat 3.3 | Supportive Wife
Re: Entering webcam info. causes unrecoverable crash
« Reply #6 on: March 25, 2022, 09:58:47 PM »
The procedure you followed won't work if the plist was already corrupted. You have to start with a clean duplicate plist. Your next option is to take screen shots of all your WC preference settings, close WC, delete the plist, trash it, delete the trash, reboot the Mac, and start over with initializing WeatherCat. When you know you have a clean install, then duplicate the plist so the next time this happens, you'll have a clean copy to use as a backup.

I don't know if you have a plist issue, but if you do, it has to be rebuilt from scratch unless you have a clean duplicate of the original. Alternatively, if you can restore the plist from a working back up using Time Machine, Carbon Copy Cloner, Super Duper, or whatever software you use for backups, then you won't need to go through the hassle of starting over.

Hope this helps.
Blick


crawdad62

  • Gentle Breeze
  • **
  • Posts: 20
    • KINGREEN96
    • Sherwood PWS
  • Station Details: Davis Vantage Pro 2 with 24hr. FARS with Foscam camera. Mac Studio Max
Re: Entering webcam info. causes unrecoverable crash
« Reply #7 on: March 25, 2022, 10:58:32 PM »
Ah. That worked. I had a SuperDuper clone. Replaced the preference and all is well. Thanks to the both of you.

Blicj11

  • Storm
  • *****
  • Posts: 4061
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Sonoma 14.8.3 | WeatherCat 3.3 | Supportive Wife
Re: Entering webcam info. causes unrecoverable crash
« Reply #8 on: March 25, 2022, 11:22:11 PM »
I love it when a WeatherCatter gets a solution. Good for you! Now make yourself that duplicate plist in the same directory and you'll be glad you have it. Enjoy your weekend.
Blick


xairbusdriver

  • Storm
  • *****
  • Posts: 3131
Re: Entering webcam info. causes unrecoverable crash
« Reply #9 on: March 26, 2022, 02:23:32 PM »
Quote
Replaced the preference and all is well.
Great! Apple sometimes throws us a 'curve ball' when they make things "better". The "cache" function helps make apps open faster but it also makes corrupted plists more difficult to fix. Blicj11 gave a good explanation of the "new" process (Apple Way). As Yogi once said, "You win some, you lose some, the rest get rained out!" cmu:-)

As you've seen, there are dozens of plists and a very long set of tabs in the WC prefs. This reminds me to get another set of screen shots of all those as a backup to my backups... [banghead]
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system