Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Amnesiac1

macrumors 6502
Original poster
Oct 11, 2010
412
0
I think I may have deleted a few files from my Pictures folder that had to do with iPhoto. Ever since, I find Ic annot open my Pictures folder. When I try to open it from the sidebar or within the finder, it opens up that terminal message. If I right-click and select "Open Enclosing Photo" and then, "Show Package Contents", I can see what's inside and gain access to my iPhoto library and whatnot, but I can't simply click the "Pictures" folder without getting that annoying terminal message. Does this have something to do with what I deleted from iPhoto? My Pictures folder has "iChat Icons", "iPhoto Library" and "Photo Booth Library"... is something crucial missing that will allow the Pictures folder to operate normally (that is, allow it to simply open when I click it isntead of giving me a terminal message)?

Thanks in advance.
 

gr8tfly

macrumors 603
Oct 29, 2006
5,333
99
~119W 34N
What, exactly, is "that Terminal message"?

Did you empty the Trash after deleting those files? If not, then you can try and put them back - at the very least, you can tell us what the files were.

You normally shouldn't need to use "Show Package Contents". iPhoto stores your media there, but they aren't named in a very useful way. If you need to get to an original, or a version, of an image, you should use iPhoto.

If you deleted an item from within a package, you could render it inoperative. (Many different items are actually "packages" in OS-X and are meant to be treated as a single file.)
 

Amnesiac1

macrumors 6502
Original poster
Oct 11, 2010
412
0
Well, could someone tell me what files an iPhoto folder needs to operate normally?
 

Amnesiac1

macrumors 6502
Original poster
Oct 11, 2010
412
0
What, exactly, is "that Terminal message"?

The window is titled "Pictures - bash - 80x24"

The content of the window: "Last login: Mon Aug 29 02:45:09 on [here its a bunch of letters and numbers]"

Below that line: "[myname]'s-imac: Pictures [my Apple id]$"
 

xraydoc

Contributor
Oct 9, 2005
10,790
5,246
192.168.1.1
Your iPhoto library is stored as a package. You're not meant to dig around in there and manually manipulate the files.

(not to rant or embarrass inexperienced users, but this is why Apple hid the ~/library folder in Lion and why the "show contents" context menu is slightly hidden away; and some people couldn't fathom why Apple would hide these things in Lion. This is why)

However, I'm confused as to where your problem is - in the iPhoto library document or the folder called "Pictures" itself. I'm not sure what to do for a folder that the OS now thinks is a Unix binary. Weird.
 

Amnesiac1

macrumors 6502
Original poster
Oct 11, 2010
412
0
Your iPhoto library is stored as a package. You're not meant to dig around in there and manually manipulate the files.

(not to rant or embarrass inexperienced users, but this is why Apple hid the ~/library folder in Lion and why the "show contents" context menu is slightly hidden away; and some people couldn't fathom why Apple would hide these things in Lion. This is why)

However, I'm confused as to where your problem is - in the iPhoto library document or the folder called "Pictures" itself. I'm not sure what to do for a folder that the OS now thinks is a Unix binary. Weird.

Yeah, the folder doesn't operate as a folder... I mean, if I "show contents" I can eventually arrive at my iChat icons, iPhoto library, etc. but the Pictures folder responds to a click by taking me to a Terminal window.

An Apple rep is suggesting I do a clean re-install. =( Ugh.
 

stordoff

macrumors regular
Aug 24, 2009
132
0
This might work:

Use "Show Package Contents" to get access to your iPhoto, Photo Booth etc. Libraries. Copy (_not_ move, just in case it doesn't work) "iPhoto Library" to the Desktop and double click it. If iPhoto launches with your library in tact, you should be able to move stuff out of the Picture folder, delete and re-create it, and then put stuff back.

If that doesn't work, you might have to do a clean install :(

I have no idea how this happened though. Did you rename "Pictures" to "Pictures.<somethinghere>" at all?
 

gr8tfly

macrumors 603
Oct 29, 2006
5,333
99
~119W 34N
Yeah, the folder doesn't operate as a folder... I mean, if I "show contents" I can eventually arrive at my iChat icons, iPhoto library, etc. but the Pictures folder responds to a click by taking me to a Terminal window.

An Apple rep is suggesting I do a clean re-install. =( Ugh.

In my "iPhoto Library" package, I have no Pictures folder, or iPhoto library. I do have "Library.iPhoto". So, I still can't entirely picture (no pun intended) where you are. I am assuming you went into your "Picture" folder - which is a normal Finder folder, then went to the package "iPhoto Library", used "Show Package Contents", and deleted some things from within it.

What does iPhoto do when you launch it? Are your images still there? If iPhoto is still functioning normally, then the fact you can't launch it by clicking on the corrupt "iPhoto Library" package is somewhat moot. Just don't launch iPhoto that way - at least, until the package is somehow repaired.

You wouldn't, by any chance, have a backup (Time Machine, perhaps)? Had to ask...

To answer your question about which files are needed for a working package: I have about 30 different files and folders. The specifics won't help much, unless you still have what you tossed. If that were the case, then we could help restore the package.

The only other thing I can think of is to recreate "iPhoto Library" package - your iPhoto events/albums etc. Make a copy of the "iPhoto Library" package, then delete the original. Open iPhoto, and reimport your images from the "iPhoto Library/Masters" folder (inside the package). This should recreate a functional "iPhoto Library" package, though all your metadata added (in addition to the original image's data) will be lost.

I'm assuming you've only been using iPhoto for a relatively short time (mine goes back to where iPhoto stored images differently - 2006, I believe). So, all your images should be in the Masters sub-folder.
 
Last edited:

jamesfk

macrumors newbie
Sep 4, 2011
1
0
Cardiff
Picture folder become package?

I had this exact same problem after manually moving my iPhoto library on the command line and messing up the folder hierarchy.

For me the problem was the Pictures folder had become a package, to unset this try the following:

xattr -d com.apple.FinderInfo ~/Pictures

This got everything back to normal for me.

All Credit to Rodney on the Apple forums for this:
https://discussions.apple.com/thread/2416657?start=0&tstart=0

Good luck,
James
 

ChipGillespie

macrumors newbie
Dec 2, 2011
1
0
I had this exact same problem after manually moving my iPhoto library on the command line and messing up the folder hierarchy.

For me the problem was the Pictures folder had become a package, to unset this try the following:

xattr -d com.apple.FinderInfo ~/Pictures

This got everything back to normal for me.

All Credit to Rodney on the Apple forums for this:
https://discussions.apple.com/thread/2416657?start=0&tstart=0

Good luck,
James

:) This worked for me - I had the same problem but now is all well again with my Picture folder on Lion. Thanks for posting!
 

Bob Wiley

macrumors newbie
Jan 31, 2018
1
0
USA
Picture folder become package?

I had this exact same problem after manually moving my iPhoto library on the command line and messing up the folder hierarchy.

For me the problem was the Pictures folder had become a package, to unset this try the following:

xattr -d com.apple.FinderInfo ~/Pictures

This got everything back to normal for me.

All Credit to Rodney on the Apple forums for this:
https://discussions.apple.com/thread/2416657?start=0&tstart=0

Good luck,
James


7 year old thread and my problem was solved with the line provided by JamesFK copied and pasted into terminal. Surprised that after 7 years the same silly mistake can be made and solved by the same simple line.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.