Linc Davis wrote:
Launch the Console application...
Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
Hi Linc:
Thanks for your reply. I didn't need to clear all messages from Console. It was easy enough to visually monitor the display and see what messages appeared during the process, start to finish, of attempting to connect to the App Store. Here they are:
2014/4/04 1:47:03.014 PM storeagent[338]: CKSoftwareMap: updateRequestBodyData:includeInstalledApps:includeBundledApps:conditionally:had UnadoptedApps:waitUntilMapIsLoaded: timed out waiting for mdSemaphore
2014/4/04 1:47:03.766 PM App Store[13691]: CKSoftwareMap: updateRequestBodyData:includeInstalledApps:includeBundledApps:conditionally:had UnadoptedApps:waitUntilMapIsLoaded: timed out waiting for mdSemaphore
2014/4/04 1:47:08.082 PM cfprefsd[270]: CFPreferences: error renaming file com.apple.loginwindow.6F7E361B-80C3-5C21-AF21-FC249B14F73C.plist.VN4wivi to com.apple.loginwindow.6F7E361B-80C3-5C21-AF21-FC249B14F73C.plist, errno was 1.
2014/4/04 1:47:13.774 PM App Store[13691]: CKSoftwareMap: updateRequestBodyData:includeInstalledApps:includeBundledApps:conditionally:had UnadoptedApps:waitUntilMapIsLoaded: timed out waiting for mdSemaphore
2014/4/04 1:47:13.778 PM App Store[13691]: Persistent UI failed to open file file://localhost/Users/xxxxx/Library/Saved%20Application%20State/com.apple.apps tore.savedState/window_1.data: No such file or directory (2)
2014/4/04 1:47:14.090 PM App Store[13691]: FRWebDelegate: Received http status code 500 on response.
2014/4/04 1:47:19.883 PM Dock[279]: LaunchPad: __53-[LPAppManager(StoreSupport) _acceptStoreConnection:]_block_invoke_0 app store xpc message error: Connection invalid
2014/4/04 1:47:23.782 PM storeagent[338]: CKSoftwareMap: updateRequestBodyData:includeInstalledApps:includeBundledApps:conditionally:had UnadoptedApps:waitUntilMapIsLoaded: timed out waiting for mdSemaphore
2014/4/04 1:47:38.085 PM cfprefsd[270]: CFPreferences: error renaming file com.apple.loginwindow.6F7E361B-80C3-5C21-AF21-FC249B14F73C.plist.6EJ9dwW to com.apple.loginwindow.6F7E361B-80C3-5C21-AF21-FC249B14F73C.plist, errno was 1.
The Console log shows that App Store was waiting for mdSemaphore, which immediately suggested that it might have something to do with Spotlight (...which I have deliberately disabled). So I opened Terminal and used the following command...
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
...to re-enable Spotlight, and then retried the connection to the App Store. That solved the problem. I'll download the Safari update and then disable Spotlight again...and I'll just have to remember to re-enable it whenever I need to fetch updates from the App Store.
Problem solved! Thanks for pointing me in the right direction, amigo! 😀