Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Spinning Ball using Mail in Lion - Can I strip all?

[Reposted from iMac Community]


I've read dozens of threads on the Spinning Ball Syndrome with Lion and Mail. I've tried all of the suggestions and still no luck.

My case is unique, and should be simple to solve - because I never set up any mail accounts and am willing to delete ALL mail files.


Sometimes I get the spinning ball and have to force quit.

When I start the Mail app, sometimes it doesn't even appear as an app starting up, but I can use command-tab to switch apps and find it.


I would appreciate anyone's help:

Can I REMOVE ALL mail data files and start "clean"?


Background:

Used a Mac Mini for 3+4 years as a music media station. NEVER set up any mail accounts on the machine.

Upgraded through a few OS generations up to Lion.

Bought a new Mac Mini about a week ago.

Before migrating data to the new machine, I updated all software, verified and repaired disk permissions, and ran fsck -yf in single user mode on the source.

Then I migrated the data to the new machine using migration assistant, including user settings.

Updated all software.

I've verified permissions, repaired them. Verified the hard disk. No errors. And I've removed files that were mentioned in related threads.


- Removed

/Library/Preferences/

com.apple.mail.plist

com.apple.mail.plist.lockfile


No change


- Went to

/Library/Mail/V2 (that was the only folder)

Clicked on Maildata and removed everything except for:

accountsplist

messageruleplist


No change


Please see the attached screen shot of my /Library/Mail/V2 directory. Everything looks stripped and recent.


User uploaded file


Any other suggestions appreciated.


Hardware: New Mac Mini (it wasn't preloaded with Mountain Lion)

2.5 GHz Intel Core i5

Still only 4GB RAM (Haven't had a chance yet to install new RAM)

Mac mini, Mac OS X (10.7.4)

Posted on Sep 13, 2012 10:25 PM

Reply
Question marked as Best reply

Posted on Sep 14, 2012 12:47 PM

Hello,


Open Console in Utilities & see if there are any clues or repeating messages when trying to open Mail.

8 replies

Sep 14, 2012 1:30 PM in response to BDAqua

Thank you.


First, when I opened Mail, I got the following message, and I selected "Don't Restore"

User uploaded file


Yes, there is a pattern and error cycle. Please see below (replacing my username with foobar)




9/14/12 12:50:09.872 PM Mail: Using V2 Layout

9/14/12 12:51:42.214 PM Mail: POST /Info.woa/wa/XMLRPC/accountInfo?username=foobar (FAILED), httpStatusCode:-1, errorType:106 (domain=AYErrorDomain, code=2), transactionState:5, txnId:E67F253F-6CED-4D96-BEFC-CAB9D1D177B9, auto-retries=0, manual-retries=0

9/14/12 12:51:42.214 PM Mail: AOSKit ERROR: Failed to get mail props (doBypassCache=0, user=foobar@me.com, passwordProvided=1), mailInfo=

(null)



Mail: POST

Mail: AOSKit ERROR: Failed to get mail props


The above repeats 3x



9/14/12 12:56:18.181 PM Mail: *** Assertion failure in -[NSMenuItem initWithTitle:action:keyEquivalent:], /SourceCache/AppKit/AppKit-1138.47/Menus.subproj/NSMenuItem.m:317

Invalid parameter not satisfying: aString != nil

(

0 Message 0x00007fff91d25ef8 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 116

1 Message 0x00007fff91d2608e -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 185

2 AppKit 0x00007fff8cd24879 -[NSMenuItem initWithTitle:action:keyEquivalent:] + 145

3 Mail 0x000000010e0627f4 Mail + 30708

4 Mail 0x000000010e061eae Mail + 28334

5 Mail 0x000000010e061932 Mail + 26930

6 Mail 0x000000010e05ecea Mail + 15594

7 Foundation 0x00007fff90c86d0e __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47

8 CoreFoundation 0x00007fff8ecf87ba _CFXNotificationPost + 2634

9 Foundation 0x00007fff90c72fc3 -[NSNotificationCenter postNotificationName:object:userInfo:] + 65

10 Mail 0x000000010e05d161 Mail + 8545

11 AppKit 0x00007fff8cd124e3 -[NSApplication _postDidFinishNotification] + 212

12 AppKit 0x00007fff8cd12249 -[NSApplication _sendFinishLaunchingNotification] + 78

13 AppKit 0x00007fff8cd10f10 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 242

14 AppKit 0x00007fff8cd10c71 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 330

15 CoreFoundation 0x00007fff8ed42541 -[NSObject performSelector:withObject:withObject:] + 65

16 Foundation 0x00007fff90ca97c7 __-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 + 101

17 Foundation 0x00007fff90ca874e -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 283

18 Foundation 0x00007fff90ca85dc _NSAppleEventManagerGenericHandler + 105

19 AE 0x00007fff8a702c25 _Z20aeDispatchAppleEventPK6AEDescPS_jPh + 200

20 AE 0x00007fff8a702b03 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 38

21 AE 0x00007fff8a7029f7 aeProcessAppleEvent + 250

22 HIToolbox 0x00007fff92ac6d7d AEProcessAppleEvent + 102

23 AppKit 0x00007fff8cd0e07d _DPSNextEvent + 1247

24 AppKit 0x00007fff8cd0d735 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135

25 AppKit 0x00007fff8cd0a071 -[NSApplication run] + 470

26 AppKit 0x00007fff8cf86244 NSApplicationMain + 867

27 Mail 0x000000010e13352c Mail + 886060

)

9/14/12 12:57:49.873 PM Mail: POST /Info.woa/wa/XMLRPC/accountInfo?username=foobar (FAILED), httpStatusCode:-1, errorType:106 (domain=AYErrorDomain, code=2), transactionState:5, txnId:311982BF-9A37-4545-B7A1-D0968C83E832, auto-retries=0, manual-retries=0



Mail: POST

Mail: AOSKit ERROR: Failed to get mail props


The above repeats 3x, then repeats the following error again.

Mail: *** Assertion failure in -[NSMenuItem initWithTitle:action:keyEquivalent:],


-----------------------------


I no longer use my foobar@me account. Where do I delete that forever?


Thank you,


Jim

Sep 14, 2012 3:43 PM in response to JimKo

I seem to be getting somewhere...


I went to System Prefs and logged out of mobileme, and mail now opens quickly and quits easily. It does not hang. Maybe the problem was that pesky old mobileme account!


But when I attempt to set up a new account, the incoming mail server field is grey, and the outgoing SMTP mail server shows "null". if I attempt to edit the server list, it does not do anything. I am able to select "none" for the outgoing server, but the IMAP account is called "null" - not the title I entered. Screen shots attached.


User uploaded file


User uploaded file


Hope this helps. Appreciate any comments.


Jim

Sep 14, 2012 6:42 PM in response to BDAqua

Maybe the mobileme issue will help others with the hanging mail problem.

Thank you BDAqua for the suggestion to watch the console. Pretty easy to spot and see if mobileme is the problem.



Now, if anyone can help me fix the incoming/outgoing mail server issue:


Here is the screen shot when I attempt to create an account. I cannot select the field to enter an incoming mail server (I tab right past it, and can't click inside the field). And I can't edit the outgoing server.


User uploaded file


Perhaps I'm missing a file?

Screen shot of the files I moved to the trash after reading the other threads:


User uploaded file




The console gets dense here.


I see this error:


9/14/12 6:31:34.007 PM Mail: *** Assertion failure in -[NSTextFieldCell _objectValue:forString:errorDescription:], /SourceCache/AppKit/AppKit-1138.47/AppKit.subproj/NSCell.m:1564

Invalid parameter not satisfying: aString != nil


This includes about 50-60 lines. The first part shows errors, then many lines about drawing the table


(

0 Message 0x00007fff944e9ef8 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 116

1 Message 0x00007fff944ea08e -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 185

2 AppKit 0x00007fff8f4ee471 -[NSCell _objectValue:forString:errorDescription:] + 160

3 AppKit 0x00007fff8f4ee3cb -[NSCell _objectValue:forString:] + 19

4 AppKit 0x00007fff8f4ee331 -[NSCell setStringValue:] + 41

5 Mail 0x000000010dfd8b40 Mail + 932672


Suggestions?




Jim

Sep 15, 2012 8:49 AM in response to BDAqua

Thanks. The screenshot above was an Apple default screen - a "blank" with JaneDoe info. So the comma is something Apple displays to new users.


I solved the problem.


I had assumed the initial Account (the "blank" one), was indeed a pristine new one, because I had deleted all related files in my libraries.


That Account had an outgoing mail server problem: displaying "null (Offline)" and an older remnant that I was desperately trying to find and remove. I was looking for a problem library file or keychain item, and trying to edit the SMTP Server list, which was simply broken:


User uploaded file


Meanwhile, I tried something very simple instead...


I created a new Account using the "+" button and walked through Apple's new account setup screens. That was truly a pristine start, and I was able to generate a clean account, enter the incoming/outgoing servers and voila. Simple.


I then deleted the corrupted old account and I'm up and running.


The moral of this story that may help others with the hanging mail spining ball of death is to run the console and look for looping patterns. See if you have an old remnant mobileme account and remove that. Then add a brand new Mail Account, and delete old ones that look suspect.


In my case, I didn't lose any mail. In other cases if a user's old Mail Account was an IMAP account, you would be able to sync up and not lose mail - provided there are no saved messages locally.


Thank you everyone.


Jim

Spinning Ball using Mail in Lion - Can I strip all?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.