You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Preview crashes every time after upgrading to Lion

Hi Folks,


I've just upgraded to Lion and everything seems to be fine except Preview, which crashes everytime I trie to open it. Is there a way to reinstall preview?


Thanks in advance,


Eric

MacBook Pro, Mac OS X (10.7)

Posted on Jul 21, 2011 9:54 AM

Reply
41 replies

Jul 26, 2011 5:39 AM in response to epchaves

finally made a new user "root user" and gave it read/write rights but still not working. talked to Apple on the phone and they are not "aware" of any problems with Preview. they suggested a clean install. the problem with using a new user is all my "stuff" is gone. Its all on with my old user. maybe i'm just missing something but this is so aggrevating !!!

Jul 26, 2011 5:59 AM in response to imacanyone

Spent l o n g time yesterday with apple support. The whole idea of Apple not being "aware" of the problem is insane, making a google search on crash + lion + preview will get something like 40 million hits.


I have gone through most of the advices found here and on other sites and neither me nor some of my friends with long *nix experience understand the problem. Restoring the read/write rights is obviously not the problem.


And I must admit that I was silly, installing a new OS version when it is published, isn't that basically an extremely bad idea...

Jul 27, 2011 10:58 PM in response to Anders Jangö

Problem now solved. I don't know if my problem was different than other's or only solved in a different manner:


1. Create new user and log on to this.

2. Use Preview and TextEdit to get files created.

3. Find and get ~/Library/Container directory and copy this directly to HD.

4. Log out and into ordinary user.

5. Find Container directory from HD and move this to ~/Library/Container (which did not exist)


Moving across different logins required some manipulations which I do not remember exactly, and I also had to authenticate to write into ~/Library.


Why the Container directory was missing since I installed Lion remains completely unknown to me, although an engineer, I have stayed away of any terminal Unix manipulations. I am using Dropbox, this has been mentioned and it just might add to the soup...


So everything works now and I am slowly learning to scroll the other way around. It actually makes sense moving the surface rather than the cursor.

Jul 28, 2011 6:51 AM in response to imacanyone

iMacanyone,


Is this what worked for you?





Problem now solved. I don't know if my problem was different than other's or only solved in a different manner:


1. Create new user and log on to this.

2. Use Preview and TextEdit to get files created.

3. Find and get ~/Library/Container directory and copy this directly to HD.

4. Log out and into ordinary user.

5. Find Container directory from HD and move this to ~/Library/Container (which did not exist)


Moving across different logins required some manipulations which I do not remember exactly, and I also had to authenticate to write into ~/Library.


Why the Container directory was missing since I installed Lion remains completely unknown to me, although an engineer, I have stayed away of any terminal Unix manipulations. I am using Dropbox, this has been mentioned and it just might add to the soup...


So everything works now and I am slowly learning to scroll the other way around. It actually makes sense moving the surface rather than the cursor.



I am just curious, as this would better help trouble shoot the problem.

Jul 28, 2011 10:50 AM in response to epchaves

I hang out for a hour with the german Apple support. I deleted the symlinks for the documents and the downloads folders after making a copy of them. Then I created new "direct" and empty documents and downloads folders.


And preview started again.


I created the symlinks before upgrading to Lion because of my iMac configuration with a ssd and a hdd.

Jul 31, 2011 12:17 PM in response to pmuroch

Well, I am not really experienced in Unix, but I think not. On my computer there is no Container directory under System/Library and the Container directory directly on the root of the HD is there only beacause that is the way I moved it from the other user.


The TextEdit and PreView directories should be visible in the user/Library/Container directory, in my case:

anders/Library/Container/com.apple.Preview

and

anders/library/Container/com.apple.TextEdit


Both these directories contain a file "Container.plist" and a subdirectory "Data", further containing various directories.


You are aware that "Library" is hidden in LIon, You could access this directory via Finder/Go, pressing alt key.

Aug 2, 2011 12:31 PM in response to epchaves

epchaves wrote:


Hi folks.


I've found the error. The crash was ocurring because my ~/Downloads folder is a symlink to a second HD. In order to fix i have removed the symlink, ran preview app and then re-created the symlink. This fixex everything.


Cheers

This worked for me. Deleted the symlinks and then re-created them and voila.


I had Desktop, Documents and Pictures symlinked.

Aug 2, 2011 5:52 PM in response to epchaves

There is a definite issue with network accounts in Lion Server. A new user created in the local directory has no problems firing up Preview & TextEdit. The ~/Library/Containers directory gets set up. In a new network account, the ~/Library/Containers directory does not get set up when Preview is first launched. So I can recreate the problem. Copying across the ~/Library/Containers directory from a working local account to a network account (and changing ownership) does not resolve the problem. I can follow the logic of the recommendations but Preview is still generating the same error message.


What should the permissions really look like? Mine looks like this:

drwx------ 4 gt staff 136 3 Aug 09:56 Containers

Preview crashes every time after upgrading to Lion

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