Subject: Re: [Witch Talk] (4.0 beta 3316) Automatic upgrade to Witch 4.0 beta failed

From: Rob Griffiths <[email-masked]>
Date: Fri, 23 Dec 2016 06:41:26 -0800

On Dec 22, 2016, at 3:18 PM, Kevin Yank <[email-masked]> wrote:

> In the Console when I click the Witch icon, I see this error:
> default	10:16:13.852048 +1100	System Preferences	### _currentPrefPaneInstance.mainView is NOT NSView com.manytricks.Witch

Kevin:

Thanks for that -- with the error message, Peter was able to determine that macOS is doing some very strange caching. Basically, System Preferences is caching some values before our pref pane is actually installed, and that was causing the install to fail. Peter was able to work around this, so future testers shouldn't have any upgrade errors.

-rob.

---

From: Rob Griffiths <[email-masked]>
Date: Thu, 22 Dec 2016 15:29:53 -0800

On Dec 22, 2016, at 3:18 PM, Kevin Yank <[email-masked]> wrote:

> After double-clicking the Witch.prefPane from the mounted disk image, I was prompted to replace the existing version of Which. I agreed, and then System Preferences gave me this error:

Thanks Kevin - I saw this myself a couple times, but we couldn't nail down a specific cause (or fix). If this happens to others, please let us know. 

> After I encountered this issue, I deleted the “broken” prefPane and then installed the beta again, and this time it worked perfectly. I guess there is just some issue with the in-place upgrade.

Yep, that's the workaround. Hopefully we can isolate a cause and find a fix if others see the same thing.

thanks;
-rob.

---

From: Kevin Yank <[email-masked]>
Date: Thu, 22 Dec 2016 15:18:50 -0800 (PST)

<https://lh3.googleusercontent.com/-cyX321SFKa8/WFxdlflpWGI/AAAAAAAABCs/JsQIlAOC-c0i-UAtvzUpVA8vC0vLF3RtwCLcB/s1600/Could_not_load_Witch_preference_pane.png>
Having previously migrated from the App Store edition of Witch 3 to the 
direct edition, today I tried to upgrade to the 4.0 Beta (witch3316.dmg).

After double-clicking the Witch.prefPane from the mounted disk image, I was 
prompted to replace the existing version of Which. I agreed, and then 
System Preferences gave me this error:

*Preferences Error*

Could not load Witch preference pane.

Note the Witch icon in System Preferences is also missing.

default 10:16:13.852048 +1100 System Preferences ### 
_currentPrefPaneInstance.mainView is NOT NSView com.manytricks.Witch

This is on macOS 10.12.

After I encountered this issue, I deleted the “broken” prefPane and then 
installed the beta again, and this time it worked perfectly. I guess there 
is just some issue with the in-place upgrade.