Random Pics stuck in iPhoto. Please HELP!

Hello, I am so frustrated any help is much appreciated.
I have been using iPhoto '09 to import for some time, and editing in Photoshop CS. I noticed recently some pictures will not respond to the double click that opens them up in Photoshop (PS from here on in.) The crazy thing is, it's random photos, even from the same day of import. I am so confused and really at my wits end. I can not drag and drop anything from iPhoto to the desktop. I can not copy or paste a selected image. I can not even find iPhoto file or library when trying to search from PS. I can't even edit them IN iPhoto when I select the app to be the editor.
I have no idea what I may have done, but will be pretty devastated if I have to lose many of the original images that are stuck in iPhoto.
PLEASE. If anyone knows what I can do, I really really appreciate your assistance.
Macbook OSX 10.6.8 2GHz Intel Core Duo
iPhoto '09 8.1.2
Photoshop CS version 8

Matt, you're awesome, and so sorry to have you on this mess! I have seen other files, like Data, Modified etc.. Now the Data folder looks like an Alias (has that little curved arrow in the bottom left corner), but the Data.no.index appears normal... This is where ALL my photos can be recognised, but they are simply thumbnails... The Modified folder holds all the originals as well, not just pics I've edited in PS.
How do I edit in PS? I have had that selected as the editor for iPhoto for years.
I am currently rebuilding the Library, with the top three choices selected. I'll see if that does anything, but you've helped a lot in teaching me how to access internal files or commands with the 'right click' before opening.
Again, your time and help have been much appreciated!

Similar Messages

  • Please help...I was downloading my pics from the SD card. I then I highlighted 5 pics and selected erase, once I selected erase 20 other pics was also erase. I need to know how can those erase pics be recovered? Please Help!

    Please help...I was downloading my pics from the SD card. I then I highlighted 5 pics and selected erase, once I selected erase 20 other pics was also erase. I need to know how can those erase pics be recovered? Please Help!

    You will need data recovery software. See this post:
                                                                                       Re: I accidentally lost 3 weeks of photos, how do I recover them?                                            
    And please send feedback to Apple: This is a bug. Only the imported photos should have been deleted, not all photos on the card. You can use this form: Apple - iPhoto - Feedback

  • Time Machine getting stuck on random hourly backups?? Please help!

    I set up Time Machine the yesterday, it compleated it's initial backup fine, and performed about 10 or so hourly backups, then randomly on one of it's hourly backups it got stuck. It never actually started the backup. The preferences said it was backing up, but the progress bar wasn't moving, and there was no activity on the drive. I stopped the "backup", and from then on I could not get it to do another backup.
    So last night I reformatted the external and decided to let TM start over. Once again it finished the initial backup fine, and I went to bed. While I was in bed it finished 3 more hourly backups, and I woke up this morning to find it stuck again, trying to do it's 2:05AM backup. The computer was awake all night, so it should have no problems. The preferences say it is backing up, but never makes any progress, and there is no drive activity.
    Here is the relavent errors from my System log:
    Nov 1 02:05:50 todd-sullivans-imac /System/Library/CoreServices/backupd[304]: Backup requested by automatic scheduler
    Nov 1 02:05:50 todd-sullivans-imac /System/Library/CoreServices/backupd[304]: Starting standard backup
    Nov 1 02:05:57 todd-sullivans-imac /System/Library/CoreServices/backupd[304]: Backing up to: /Volumes/Backup/Backups.backupdb
    Nov 1 02:05:57 todd-sullivans-imac /System/Library/CoreServices/backupd[304]: Ownership is disabled on the backup destination volume. Enabling.
    Nov 1 02:05:57 todd-sullivans-imac KernelEventAgent[35]: tid 00000000 received unknown event (256)
    *Nov 1 02:05:59 todd-sullivans-imac /System/Library/CoreServices/backupd[304]: Event store UUIDs don't match for volume  Macintosh HD*
    *Nov 1 02:05:59 todd-sullivans-imac /System/Library/CoreServices/backupd[304]: Node requires deep traversal:/ reason:kFSEDBEventFlagMustScanSubDirs|kFSEDBEventFlagReasonEventDBUntrustable|*
    Nov 1 02:09:45 todd-sullivans-imac /System/Library/CoreServices/backupd[304]: No pre-backup thinning needed: 14.57 GB requested (including padding), 132.30 GB available
    Nov 1 02:09:46 todd-sullivans-imac /System/Library/CoreServices/backupd[304]: MDBackupBegin() returned result (909) > 0, waiting
    Nov 1 02:10:16 todd-sullivans-imac /System/Library/CoreServices/backupd[304]: MDBackupBegin() returned result (906) > 0, waiting
    Nov 1 02:10:46 todd-sullivans-imac /System/Library/CoreServices/backupd[304]: MDBackupBegin() returned result (906) > 0, waiting
    I bolded the entries that I assume are the problem, but I don't know what it could be. Why does it randomly get stuck on hourly backups. BTW The "waiting" is just repeating over and over etc..... Help! Or it's back to CCC for me. Thanks
    EDIT: Tried it a 3rd time, and this time it managed to do 25 hourly backups before getting stuck. does anyone have a clue here, I'd like to get this working. Every time it stops working I have to format the drive and start over to get it to backup again.
    Message was edited by: tms2010
    Message was edited by: tms2010
    Message was edited by: tms2010

    The deep traversal is being done because something in the TM data base is corrupted or not trusted. The deep traversal means the TM backupd process has to traverse your whole set of volumes being backed up. This is a very lengthy process.
    No matter, it does seem you're hitting a snag of some kind. The best response I can give is for you to send the evidence to Apple feedback for the software engineers to review.
    People on this forum are unlikely to know what the problem is nor have a fix for you.
    When you formatted your TM backup Volume to you zero it out using Disk Utility. You could be running into an unrecoverable disk i/o error - a bad spot on the backup HD or even a bad spot on your internal HD.

  • Editing in iphoto, please help....new to mac

    Hi, I need to put text (text boxes) on many of the pics I take for work....I can't seem to do this on iphoto...any suggestions...PLEASE HELP.

    evassor:
    Welcome to the Apple Discussions. You can't do that in iPhoto. You will need to use a 3rd party editor from within iPhoto to accomplish that . Some of those that can do what you want are Photoshop Elements, Seashore (freeware), Graphicconverter and Pixelmator. You can find a number of possible candidates at VersionTracker.com by searching there for "image editor". Here's how you would use a 3rd party editor with iPhoto:
    Using 2 Image Editors in iPhoto
    If you want to use both iPhoto's editing mode and a 3rd party editor without having to go back and forth to the Preference pane, once you've selected the 3rd party editor as your editor of choice, reset the Preferences back to "Open in main window". Then when you Control-click on an image, you can select "Edit in external editor" in the Contextual menu to edit in your selected editor.
    Happy Holidays
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • IPhone 4 GOES DARK RANDOMLY FOR NO PARTICULAR REASON PLEASE HELP

    I'm gonna try this. Because I'm super frustrated. Something scary is happening to my device, I got an unlocked iPhone 4 from the Beverly Center in Los Angeles 3 weeks ago. I'm now on a long business trip in Moscow Russia and all of a sudden my screen statics, a sound of plug being pulled resonates from my iPhone there is some colored lines that slowly engulf the screen and then it goes dim, dark background on the screen but there is a slight light making it all look like the phone didn't shut off, it just bugged out and is now (I guess) just dark. This all happens in a matter of a second.
    Then I hold the master restart and get it back working, sometimes after a few tries, because sometimes five master resets still don't bring it back to life, the white Apple over the dark background appears but then the phone is off again without ever coming back on.
    Sometimes it happens when I browse FB or I'm on Linkedin, but first it started happening after taking a picture with the Camera (After like using the Camera for almost 3 weeks prior). Every time I took a picture this happened. Then it moved to other programs, like I would turn on the music and same thing would happen, just goes dark-dim. Now its mainly happening while using applications, mainly FB, the ABBYY Card Reader (Camera) and even Virtuoso Piano. Also sometimes when I charge the phone through a plug it always does that the second I plug the cable into the phone. Same thing if I use the USB and connect it to my MacBook Pro (2008) it gives me a box saying "Couldnt connect to the IPhone 4. An involid response was recieved from the device" or something like that. After 5-10 tries it plug in and the iTunes syncs it and it works fine. I mean *** is going on, I couldnt buy and factory unlocked iPhone from the US for 6 months, and when I finally was back in the US and had the chance to do it, this CRAP happens I FEEL FRUSTRATED AND DEPRESSED ISNT THE IPHONE 4 SUPPOSE TO BE the toughest and most reliable phone ever to hit the planet? Why is this crap happening to me while I'm away?
    PLUS THEIR SALES REP AT BEVERLY CENTER SHAWN MCDANIEL LIED TO ME by TELLING ME THAT THE APPLECARE+ (Which I purchased for an extra 100) will take care of even 2 trade in if (PRECICELY CRAP LIKE THIS) something happens to it. THATS PRETTY MUCH WHAT HE SAID, and then when I told him that I'll be in Moscow, OH SURE THEY HAVE A REPRESENTATIVE AND APPLECARE+ IS WORLDWIDE.
    So then I call Apple Care, both the specialist and the supervisor sound like kids who were given a superjob. They don't sound like intelligent techy people and soon I understand why. Long story short, I got no clarify wether there is an official Russian Apple representative or not, I wasn't offered mail-in repair, I was only told that looks like the nearest Apple store to me is in Poland or London so I should have someone fly there (that means I won't be with my contact book for at least a week or two) or go there myself (thx I just got an $800 phone and I should get another 300-500 EURO ticket to London just to make the iPhone purchase complete) ***.
    (For those who enjoyed reading so far read below, if this information is enough for you to help clue me in I'd appreciate it, if you want to read more interesting stuff read below).
    Wait I can't make the story short I have to tell you - so the first lady sounds like a 16 year blond from the heart of Hollywood, and she tells me to do a backup, doesnt tell me how I should transfer my contacts that I had transferred into my phone from my old Samsung galaxy, xfer them into my MacBook at which they've never been. We did a full restore after saving a backup (hoping that my contacts would stay in tact) , then we found out the restore didnt fix it, as I went and took a picture this thing happened. Then I said the heck with it I need my old backup with the apps and my contacts, so I initiated that backup and then the contacts didnt xfer in, and I was shocked, literally, 1500+ contacts destroyed by Apple. So then she passed me on to her supervisor who was the one who didnt tell me anything substantial except simple troubleshooting procedures. He told me to go into a Russian iPhone Reseller and it will be at their full discretion wether they would exchange my phone for a new one or not comply to AppleCare since apperantly it doesnt work with them and nearest apple stores are in London or Poland. So whatever, I then afrer finishing my exactly (Skype call)
    11/5/11 4:52 AM Call Ended 3 hours 12 minutes 39 seconds, I, saddened, saw that in my iTunes backups I have two more backs from an earlier time, so I backed up to one of those and it xfer everything the contacts and apps! It was just enough time for me to download ExcelContact and e-mail my contacts to my gmail before this thing started happening again. My phone works now, but this thing happens now every few hours randomly and I'm outraged.
    Please if anyone experienced such a problem and could help me fix this, please help me.
    Thx
    P.S. I used the phone fine with ATT for a week in US when I bought it, then I used it fine for 2 more weeks here in Moscow with MTS GSM. I dunno wether my phone is CDMA or GSM? =.="

    Thanks for the the information Tyler. I'm still in awe, I heard that if an LCD is over heating or the phone is over heating, there would be a warning message telling me that the device is over heating, not sure how true is this?
    Nah I never dropped it yet, its too fresh and precious to me but the funny thing is no matter what care I took since the three weeks that I've had it, it still developed this problem.

  • Update stuck at %25 please help!

    I tried to update adobe flash player to the latest version but install stuck at %25 i tried to uninstall and reinstall the flash player but nothing has changed what should i do for fix this issue? please help!  (I'm using mac) Thanks!

    Hi
    in this situation I would (BUT without any guarantee of any sort - just the way I would do - no obligations at all)
    • press down the Start button on Your Mac - FOR 10 seconds or more - till it Quits
    • Start the Mac
    • Find the iMovie pref file and trash this
    • Now first - Re-Start iMovie
    Does it work now ?
    alt. When You started Your Mac
    • Go up to Apple Menu (top to the left)
    • Down to System pref
    • Accounts
    • Start a New User
    • Go down Apple menu to - Log out
    • Now Log in as the New User You've made
    • Now try iMovie
    Does it work now ?
    Yours thinking - Bengt W

  • Ipod shuffle randomly freezes....please help!!!!

    My Ipod shuffle seems to randomly freeze after certain songs, or spots on the shuffle. I dont recall exactly when this first started, but it seems like ive tried everything. I have tried scandisk, defrag, resetting the ipod, updating it to latest firmware, and still nothing. The problem occurs whether or not I am in shuffle mode, or straight play. I would appreciate any help what so ever. I am at my wits end. I dont understand it at all. Scandisk detected no errors. Should I attempt to format it? Please help!!!!

    Hello, Chris.
    If the problem is corrupt files, there are a couple of things you can try.
    Remove the songs from the shuffle's playlist, then refill the shuffle - but don't let the offending song(s) reload; we're trying to overwrite the memory. Then you can let these songs back on. If the problem continues:
    If the songs weren't purchased from iTMS, try re-reripping/re-encoding them. Then reload them.
    (These steps have worked with all but one song for me. I've never figured out why, probably just coincidence, but I have one song that would only play a couple of times before this started happening again. It's off the shuffle's playlist for good.)
    If the songs were purchased from iTMS (and in another post I think you'd indicated they were) you can try to get them replaced or you can go the route of making an audio CD from them and reimporting the songs.
    (I've never tried this, and one poster in this forum has indicated it will cause an unacceptable loss of quality.)
    Good luck
    srb

  • Ipod nano 7th gen will stop playing randomly in a song. PLEASE HELP.

    Please help me with this. My new Ipod Nano will randomly stop playing during a song. What gives? Thanks.

    My Ipod Nano 7th gen does this as well. It will pause randomly, then i will hit play again, will play for a minute, then pause again. Seems like it does it the most when hooked up with a cars AUX input.
    I'm about to make an appointment with apple.
    Thanks.

  • ?-mark folder on startup WITH cd stuck in slot - PLEASE help!

    Hi!
    I have a power Mac G4 cube with Mac OS 9.something. I'm not currently using it because we have a newer computer, but when I went to use it last night it showed me a question mark folder at startup and now I have a CD stuck in it that I can't get out.
    I've tried holding the mouse down at startup to no avail...
    Please help! How can I get my computer working again?

    if option doesn't work startup while holding down the left click on your mouse.
    is it trying to eject but it wont make it all the way out or is it simply making no noise at all?
    at one point i had to completely remove the dvd drive on my cube and remove a cd, hopefully your drive isn't completely dead.

  • I'm in a java programming class and i'm stuck.. so please help me guys...

    Please help me, i really need help.
    Thanks a lot guys...
    this is my error:
    C:\Temp>java Lab2
    Welcome!
    This program computes the average, the
    exams
    The lowest acceptable score is 0 and th
    Please enter the minimum allowable scor
    Please enter the maximum allowable scor
    Was Exam1taken?
    Please Enter Y N or Q
    y
    Enter the Score for Exam1:
    65
    Was Exam2taken?
    Please Enter Y N or Q
    y
    Enter the Score for Exam2:
    32
    Was Exam3taken?
    Please Enter Y N or Q
    y
    Enter the Score for Exam3:
    65
    Was Exam4taken?
    Please Enter Y N or Q
    y
    Enter the Score for Exam4:
    32
    Was Exam5taken?
    Please Enter Y N or Q
    y
    Enter the Score for Exam5:
    32
    Score for Exam1 is:65
    Score for Exam2 is:32
    Score for Exam3 is:32
    Score for Exam4 is:32
    Score for Exam5 is:32
    the Minimum is:0
    the Maximum is:0
    Can't compute the Average
    Can't compute the Variance
    Can't compute the Standard Deviation
    this is my code:
    // Lab2.java
    // ICS 21 Fall 2002
    // Read in scores for a student's exams, compute statistics on them, and print out
    // the scores and statistics.
    public class Lab2
         // Create a manager for this task and put it to work
         public static void main(String[] args)
              ExamsManager taskManager = new ExamsManager();
              taskManager.createResults();
    // ExamsManager.java for Lab 2
    // ICS 21 Fall 2002
    // make these classes in the Java library available to this program.
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.IOException;
    import java.text.NumberFormat;
    // ExamsManager creates managers and contains the tools (methods) they need to do their
    // job: obtaining exam information, computing statistics and printing out that information
    class ExamsManager
         // INVALID_INT: special integer value to indicate that a non-integer
         // was entered when an integer was requested. It's chosen so as not to
         // conflict with other flags and valid integer values
         public static final int INVALID_INT = -9999;
         // valid user response constants:
         public static final String YES = "Y";               // user responded "yes"
         public static final String NO = "N";               // user responded "no"
         public static final String EXIT_PROGRAM = "Q";     // user responded "leave the program NOW"
         // INVALID_RESPONSE: special String value to indicate that something other than
         // "Y", "N" or "X" was entered when said was required
         public static final String INVALID_RESPONSE = "!";
         // ABSOLUTE_MIN_SCORE and ABSOLUTE_MAX_SCORE represent the smallest
         // minimum score and the largest maximum score allowed by the
         // program. (The allowable minimum and maximum for one
         // execution of the program may be different than these, but
         // they must both lie within this range.)
         public static final int ABSOLUTE_MIN_SCORE = 0;
         public static final int ABSOLUTE_MAX_SCORE = 1000;
         // The manager needs a place to store this student's exams
         private OneStudentsWork thisWork;
         // ...places to store the min and max scores allowed for these exams
         private int minAllowedScore;
         private int maxAllowedScore;
         // ...and a place to hold input coming from the keyboard
         BufferedReader console;
         //                    -------------------- Constructor --------------------
         // ExamsManager() make managers that delegate the major tasks of the program
         public ExamsManager()
         //                    -------------------- Processing methods --------------------
         // createResults() is the "manager at work": it calls assistants to welcome the user,
         // initializes things so we can read info from the keyboard,
         // obtain the minimum and maximum allowed scores,
         // obtain a student's work and comute the statistics on it and
         // print out the scores and the statistics
         public void createResults()
              // *** YOUR CODE GOES HERE ***
              printWelcomeMessage();
              readyKeyboard();
              obtainMinAndMaxAllowedScores();
              obtainOneStudentsWork();
              printResults();
         //                    -------------------- User input methods --------------------
         // readyKeyboard() sets up an input stream object 'console' connected to the keyboard
         // so that what's typed can be read into the program and processed.
         // Do not modify this code!
         private void readyKeyboard()
                   console = new BufferedReader(new InputStreamReader(System.in));
         // obtainMinAndMaxAllowedScores() asks the user to enter the minimum
         // and maximum allowable scores for this execution of the program.
         // Both the minimum and maximum allowable scores must be between
         // ABSOLUTE_MIN_SCORE and ABSOLUTE_MAX_SCORE (inclusive). This
         // method should continue to ask the user for a minimum until a
         // valid one is entered (or EXIT_PROGRAM is entered), then continue
         // to ask the user for a maximum until a valid one is entered. If
         // the minimum entered is greater than the maximum entered, the
         // whole thing should be done again.
         public void obtainMinAndMaxAllowedScores()
              // *** YOUR CODE GOES HERE ***
              int response = INVALID_INT;
              if (response >= minAllowedScore && response <= maxAllowedScore)
                   System.out.print("Please enter the minimum allowable score:");
                   response = getIntOrExit();
              while (response > maxAllowedScore || response < minAllowedScore)
                   System.out.print("Please enter the minimum allowable score:");
                   response = getIntOrExit();
              if (response <= ABSOLUTE_MAX_SCORE && response >= ABSOLUTE_MIN_SCORE)
                   System.out.print("Please enter the maximum allowable score:");
                   response = getIntOrExit();
              while (response > ABSOLUTE_MAX_SCORE || response < ABSOLUTE_MIN_SCORE)
                   System.out.print("Please enter the maximum allowable score:");
                   response = getIntOrExit();
              /*int response;
              String allowedMin;
              boolean done = true;
              do
                   done = true;
                   System.out.print("Please enter the minimum allowable score:");
                   response = getIntOrExit();
                   allowedMin = getYNOrExit();
                   if(allowedMin == EXIT_PROGRAM)
                        System.exit(0);
                   else if (response >= ABSOLUTE_MIN_SCORE)
                        done = true;
                   else if (response >= ABSOLUTE_MAX_SCORE)
                        done = false;
                        System.out.println("INVALID: " + INVALID_INT);
                        System.out.print("Please enter the minimum allowable score:");
                        response = getIntOrExit();
              }while (!done);
    /*          System.out.print("Please enter the maximum allowable score:");
              response = getIntOrExit();
              if (response <= ABSOLUTE_MAX_SCORE)
              return response;
              else if (response <= ABSOLUTE_MIN_SCORE)
                   response = INVALID_INT;
              while (response == INVALID_INT)
                   System.out.print("Please enter the maximum allowable score:");
                   response = getIntOrExit();
              do
                   done = true;
                   System.out.print("Please enter the minimum allowable score:");
                   response = getIntOrExit();
                   String allowedMax;
                   if(allowedMin == EXIT_PROGRAM)
                        System.exit(0);
                   if (response <= ABSOLUTE_MAX_SCORE)
                        done = true;
                   else if (response <= ABSOLUTE_MIN_SCORE)
                        done = false;
                        System.out.println("INVALID: " + INVALID_INT);
                        System.out.print("Please enter the maximum allowable score:");
                        response = getIntOrExit();
              }while (!done);
         // The overall strategy to building up a student work object is
         // to have the student-bulding method call on the exam-building
         // method, which calls upon user input methods to get exam info.
         // Thus, user entered info is successively grouped together
         // into bigger units to build the entire student information set.
         // obtainOneStudentsWork() builds the five exams
         // and constructs the student work object from them
         private void obtainOneStudentsWork()
              // *** YOUR CODE GOES HERE ***
              int index = 1;
              Exam exam1 = buildOneExam(index);
              index = 2;
              Exam exam2 = buildOneExam(index);
              index = 3;
              Exam exam3 = buildOneExam(index);
              index = 4;
              Exam exam4 = buildOneExam(index);
              index = 5;
              Exam exam5 = buildOneExam(index);
              thisWork = new OneStudentsWork(exam1, exam2, exam3, exam4, exam5);
         // buildOneExam(thisTest) reads the exam information for one exam and returns an
         // Exam object constructed from this information. Uses obtainWasExamTaken() to
         // determine if the exam was taken and obtainOneScore() to get the exam score, if needed.
         private Exam buildOneExam(int thisTest)
              // *** YOUR CODE GOES HERE ***
              int score = 0;
              if(obtainWasExamTaken(thisTest))
                   score = obtainOneScore(thisTest);
              return new Exam(score);
              else
              return new Exam();
              System.out.println("Enter score for exam1:");
              Exam exam1 = new Exam(getIntOrExit());
              System.out.println("Enter score for exam2:");
              Exam exam2 = new Exam(getIntOrExit());
              System.out.println("Enter score for exam3:");
              Exam exam3 = new Exam(getIntOrExit());
              System.out.println("Enter score for exam4:");
              Exam exam4 = new Exam(getIntOrExit());
              System.out.println("Enter score for exam5:");
              Exam exam5 = new Exam(getIntOrExit());
         // obtainWasExamTaken(thisTest) keeps asking the user whether 'thisTest' was taken
         // (e.g., "Was exam 1 taken? Enter Y, N or Q", if thisTest equals 1)
         // until s/he provides a valid response. If Q is entered, we leave the
         // program immediately; if Y or N (yes or no), return true if yes, false if no
         private boolean obtainWasExamTaken(int thisTest)
              // *** YOUR CODE GOES HERE ***
              String response = INVALID_RESPONSE;
              System.out.println("Was Exam" + thisTest + "taken?");
              while (response.equals(INVALID_RESPONSE))
                   System.out.println("Please Enter" + " " + YES + " " + NO + " " + "or" + " " + EXIT_PROGRAM);
                   response = getYNOrExit();
              if (response.equals(YES))
              return true;
              else
              return false;
         // obtainOneScore(thisTest) keeps asking the user to enter a score for
         // 'thisTest' (e.g., "Enter the score for exam 1", is thisTest equals 1)
         // until s/he provides one within range or s/he tells us to exit the program.
         private int obtainOneScore(int thisTest)
              // *** YOUR CODE GOES HERE ***
              int response = INVALID_INT;
              if (response >= minAllowedScore && response <= maxAllowedScore);
                   System.out.println("Enter the Score for Exam" + thisTest + ":");
                   response = getIntOrExit();
              while (response > ABSOLUTE_MAX_SCORE || response < ABSOLUTE_MIN_SCORE)
                   System.out.println("INVALID: " + INVALID_INT);
                   System.out.println("Please Enter again:");
                   response = getIntOrExit();
              return response;
         // scoreIsWithinRange() returns true if the given score is inside of
         // the allowable range and false if it is out of range
         private boolean scoreIsWithinRange(int score)
              // *** YOUR CODE GOES HERE ***
              if (score >= minAllowedScore && score <= maxAllowedScore)
                   return true;
              else
                   return false;
         // getYNQ() reads a String from the console and returns it
         // if it is "Y" or "N" or exits the program if "Q" is entered;
         // the method returns INVALID_RESPONSE if the response is other
         // than"Y", "N" or "Q".
         // Do not modify this code!
         private String getYNOrExit()
              String usersInput = INVALID_RESPONSE;
              try
                   usersInput = console.readLine();
              catch (IOException e)
                   // never happens with the keyboard...
              usersInput = usersInput.toUpperCase();
              if (usersInput.equals(EXIT_PROGRAM))
                   System.out.println("Leaving...");
                   System.exit(0);
              if (usersInput.equals(YES) || usersInput.equals(NO))
                   return usersInput;
              else
                   return INVALID_RESPONSE;
         // getIntOrExit() reads an integer from the console and returns it.
         // If the user types in "Q", the program exits. If an integer is entered,
         // it is returned. If something that is not an integer (e.g. "Alex"), the
         // program returns INVALID_INT
         // Do not modify this code!
         private int getIntOrExit()
              String usersInput = "";
              int theInteger = 0;
              try
                   usersInput = console.readLine();
              catch (IOException e)
                   // never happens with the keyboard...
              // if the user wants to quit, bail out now!
              if(usersInput.toUpperCase().equals(EXIT_PROGRAM))
                   System.out.println("Program halting at your request.");
                   System.exit(0);
              // see if we have an integer
              try
                   theInteger = Integer.parseInt(usersInput);
              catch (NumberFormatException e)
                   // user's input was not an integer
                   return INVALID_INT;
              return theInteger;
         //                    -------------------- User output methods --------------------
         // printWelcomeMessage() prints a welcome message to the user explaining
         // what the program does and what it expects the user to do. In
         // particular, it needs to tell the user the absolute lowest and
         // highest acceptable exam scores
         private void printWelcomeMessage()
              // *** YOUR CODE GOES HERE ***
              System.out.println("Welcome!");
              System.out.println("This program computes the average, the variance, and the standard deviation of 5 exams");
              System.out.println("The lowest acceptable score is 0 and the highest is 1000");
         // printResults() prints all of the scores present, then prints the
         // statistics about them. The statistics that can have factional parts
         // -- average, variance and standard deviation -- should be printed with
         // exactly three digits after the decimal point. If a statistic could not be
         // computed, a message to that effect should print (NOT the "phony" value stored
         // in the statistic to tell the program that the statistic could not be computed).
         public void printResults()
              // These statements create a NumberFormat object, which is part
              // of the Java library. NumberFormat objects know how to take
              // doubles and turn them into Strings, formatted in a particular
              // way. First, you tell the NumberFormat object (nf) how you'd like
              // the doubles to be formatted (in this case, with exactly 3
              // digits after the decimal point). When printing a double you call
              // format to format it -- e.g. nf.format(the-number-to-format)
              NumberFormat nf = NumberFormat.getInstance();
              nf.setMinimumFractionDigits(3);
              nf.setMaximumFractionDigits(3);
              // *** YOUR CODE GOES HERE ***
              System.out.println("Score for Exam1 is:" + thisWork.getExam1().getScore());
              System.out.println("Score for Exam2 is:" + thisWork.getExam2().getScore());
              System.out.println("Score for Exam3 is:" + thisWork.getExam3().getScore());
              System.out.println("Score for Exam4 is:" + thisWork.getExam4().getScore());
              System.out.println("Score for Exam5 is:" + thisWork.getExam5().getScore());
              if (thisWork.getStatistics().getMinimum() == Statistics.CANT_COMPUTE_STATISTIC)
                   System.out.println("Can't compute the Minimum");
              else
                   System.out.println("the Minimum is:" + thisWork.getStatistics().getMinimum());
              if (thisWork.getStatistics().getMaximum() == Statistics.CANT_COMPUTE_STATISTIC)
                   System.out.println("Can't compute the Minimum");
              else
                   System.out.println("the Maximum is:" + thisWork.getStatistics().getMaximum());
              if (thisWork.getStatistics().getAverage() == Statistics.CANT_COMPUTE_STATISTIC)
                   System.out.println("Can't compute the Average");
              else
                   System.out.println("the Average is:" + thisWork.getStatistics().getAverage());
              if (thisWork.getStatistics().getVariance() == Statistics.CANT_COMPUTE_STATISTIC)
                   System.out.println("Can't compute the Variance");
              else
                   System.out.println("the Variance is:" + thisWork.getStatistics().getVariance());
              if (thisWork.getStatistics().getStandardDeviation() == Statistics.CANT_COMPUTE_STATISTIC)
                   System.out.println("Can't compute the Standard Deviation");
              else
                   System.out.println("the Standard Deviation is:" + thisWork.getStatistics().getStandardDeviation());
    // OneStudentsExams.java for Lab 2
    // ICS 21 Fall 2002
    // OneStudentsWork is the exams and the statistics computed from
    // them that comprise one student's work
    class OneStudentsWork
         public static final int NUMBER_OF_EXAMS = 5;
         // The student is offered five exams...
         private Exam exam1;
         private Exam exam2;
         private Exam exam3;
         private Exam exam4;
         private Exam exam5;
         // The statistics on those exams
         Statistics studentStats;
         //                    -------------------- Constructor --------------------
         // Takes five constructed exam objects and store them for this student.
         // Constructs a statistics object that holds the stats for these exams and
         // store it in studentStats.
         public OneStudentsWork(Exam test1, Exam test2, Exam test3, Exam test4, Exam test5)
              // *** YOUR CODE GOES HERE ***
              exam1 = test1;
              exam2 = test2;
              exam3 = test2;
              exam4 = test4;
              exam5 = test5;
              studentStats = new Statistics(test1, test2, test3, test4, test5);
         //                    -------------------- Accessor methods --------------------
         // getExamX() methods make available ExamX
         public Exam getExam1()
              return exam1;
         public Exam getExam2()
              return exam2;
         public Exam getExam3()
              return exam3;
         public Exam getExam4()
              return exam4;
         public Exam getExam5()
              return exam5;
         // getStatistics() makes available the Statistics object that is part of this student's work
         public Statistics getStatistics()
              return studentStats;
    // Statistics.java for Lab 2
    // ICS 21 Fall 2002
    // A Statistics object stores the statistics for a group of Exams.
    class Statistics
         // This constant denotes a statistic that cannot be
         // computed, such as an average of zero scores or a variance
         // of one score.
         public static final int CANT_COMPUTE_STATISTIC = -9999;
         // The stats
         private int minimum;
         private int maximum;
         private int numberOfExamsTaken;
         private double average;
         private double variance;
         private double standardDeviation;
         //                    -------------------- Constructor --------------------
         // Calculates (initializes) the statistics, using passed-in exams.
         // Note that the order of computing thst stats matters, as some
         // stats use others; for instance, variance must be computed before
         // standard deviation.
         public Statistics(Exam exam1, Exam exam2, Exam exam3, Exam exam4, Exam exam5)
              // *** YOUR CODE GOES HERE ***
              calculateAverage(exam1,exam2,exam3,exam4,exam5);
              calculateVariance(exam1,exam2,exam3,exam4,exam5);
              calculateStandardDeviation(exam1,exam2,exam3,exam4,exam5);
         //                    -------------------- Accessor methods --------------------
         // getNumberOfExamsTaken() makes available the number of exams this student undertook
         public int getNumberOfExamsTaken()
              return numberOfExamsTaken;
         // getMinimum() makes the minimum available
         public int getMinimum()
              return minimum;
         // getMaximum() makes the maximum available
         public int getMaximum()
              return maximum;
         // getAverage() makes the average available
         public double getAverage()
              return average;
         // getVariance() make the variance available
         public double getVariance()
              return variance;
         // getStandardDeviation() make the standard deviation available
         public double getStandardDeviation()
              return standardDeviation;
         //                    -------------------- Statistics methods --------------------
         //     ---> Note: all statistics are to be computed using the number of exams taken
         // calculateNumberOfExamsTaken() computes the number of tests the student took
         // and stores the result in 'numberOfExamsTaken'
         // (Note this statistic can always be computed.)
         private void calculateNumberOfExamsTaken(Exam exam1, Exam exam2, Exam exam3, Exam exam4, Exam exam5)
              // *** YOUR CODE GOES HERE ***
              numberOfExamsTaken = OneStudentsWork.NUMBER_OF_EXAMS;
         // calculateMinimum() sets 'minimum' to the minimum score of exams taken, or
         // to CANT_COMPUTE_STATISTIC if a minimum can't be computed.
         private void calculateMinimum(Exam exam1, Exam exam2, Exam exam3, Exam exam4, Exam exam5)
              // *** YOUR CODE GOES HERE ***
              /*min = exam1.getScore();
              if (min > exam2.getScore())
                   min = exam2.getScore();
              if (min > exam3.getScore())
                   min = exam3.getScore();
              if (min > exam4.getScore())
                   min = exam4.getScore();
              if (min > exam5.getScore())
                   min = exam5.getScore();
              if(numberOfExamsTaken == 0)
                   minimum = CANT_COMPUTE_STATISTIC;
              else if(numberOfExamsTaken == 1)
                   minimum = exam1.getScore();
              else
                   minimum = exam1.getScore();
                   if(numberOfExamsTaken >= 2 && numberOfExamsTaken <= minimum)
                        minimum = exam2.getScore();
                   if(numberOfExamsTaken >= 3 && numberOfExamsTaken <= minimum)
                        minimum = exam3.getScore();
                   if(numberOfExamsTaken >= 4 && numberOfExamsTaken <= minimum)
                        minimum = exam4.getScore();
                   if(numberOfExamsTaken >= 5 && numberOfExamsTaken <= minimum)
                        minimum = exam5.getScore();
              if (getMinimum() == ExamsManager.ABSOLUTE_MIN_SCORE)
                   minimum = exam1.getScore();
                   //exam1.getScore() = getMinimum();
              else
                   exam1.getScore() = CANT_COMPUTE_STATISTIC;
         // calculateMaximum() sets 'maximum' to the maximum score of exams taken, or
         // to CANT_COMPUTE_STATISTIC if a maximum can't be computed.
         private void calculateMaximum(Exam exam1, Exam exam2, Exam exam3, Exam exam4, Exam exam5)
              // *** YOUR CODE GOES HERE ***
              /*if (maximum == ExamsManager.ABSOLUTE_MAX_SCORE)
              return true;
              else
              return CANT_COMPUTE_STATISTIC;*/
              max = exam1.getScore();
              if (max < exam2.getScore())
                   max = exam2.getScore();
              if (max < exam3.getScore())
                   max = exam3.getScore();
              if (max < exam4.getScore())
                   max = exam4.getScore();
              if (max < exam5.getScore())
                   max = exam5.getScore();
              if(numberOfExamsTaken == 0)
                   maximum = CANT_COMPUTE_STATISTIC;
              else if(numberOfExamsTaken == 1)
                   maximum = exam1.getScore();
              else
                   maximum = exam1.getScore();
                   if(numberOfExamsTaken >= 2 && numberOfExamsTaken >= maximum)
                        maximum = exam2.getScore();
                   if(numberOfExamsTaken >= 3 && numberOfExamsTaken >= maximum)
                        maximum = exam3.getScore();
                   if(numberOfExamsTaken >= 4 && numberOfExamsTaken >= maximum)
                        maximum = exam4.getScore();
                   if(numberOfExamsTaken >= 5 && numberOfExamsTaken >= maximum)
                        maximum = exam5.getScore();
         // calculateAverage() computes the average of the scores for exams taken and
         // stores the result in 'average'. Set to CANT_COMPUTE_STATISTIC if there
         // are no tests taken.
         private void calculateAverage(Exam exam1, Exam exam2, Exam exam3, Exam exam4, Exam exam5)
              // *** YOUR CODE GOES HERE ***
              if (numberOfExamsTaken == 5)
                   average = (exam1.getScore()+exam2.getScore()+exam3.getScore()+exam4.getScore()+exam5.getScore()/OneStudentsWork.NUMBER_OF_EXAMS);
              else if (numberOfExamsTaken == 4)
                   average = (exam1.getScore()+exam2.getScore()+exam3.getScore()+exam4.getScore()/OneStudentsWork.NUMBER_OF_EXAMS);
              else if (numberOfExamsTaken == 3)
                   average = (exam1.getScore()+exam2.getScore()+exam3.getScore()/OneStudentsWork.NUMBER_OF_EXAMS);
              else if (numberOfExamsTaken == 2)
                   average = (exam1.getScore()+exam2.getScore()/OneStudentsWork.NUMBER_OF_EXAMS);
              else if (numberOfExamsTaken == 1)
                   average = (exam1.getScore()/OneStudentsWork.NUMBER_OF_EXAMS);
              else if (numberOfExamsTaken == 0)
                   average = CANT_COMPUTE_STATISTIC;
         // calculateVariance() calculates the returns the variance of the
         // scores for exams taken and stores it in 'variance'
         // For a small set of data (such as this one), the formula for calculating variance is
         // the sum of ((exam score - average) squared) for scores of exams taken
         // divided by (the number of scores - 1)
         // Set to CANT_COMPUTE_STATISTIC if there are fewer than two tests taken.
         private void calculateVariance(Exam exam1, Exam exam2, Exam exam3, Exam exam4, Exam exam5)
              // *** YOUR CODE GOES HERE ***
              if (numberOfExamsTaken == 5)
                   variance = ((exam1.getScore()-average)*(exam1.getScore()-average)+(exam2.getScore()-average)*(exam2.getScore()-average)+(exam3.getScore()-average)*(exam3.getScore()-average)+(exam4.getScore()-average)*(exam4.getScore()-average)+(exam5.getScore()-average)*(exam5.getScore()-average))/4;
              else if (numberOfExamsTaken == 4)
                   variance = ((exam1.getScore()-average)*(exam1.getScore()-average)+(exam2.getScore()-average)*(exam2.getScore()-average)+(exam3.getScore()-average)*(exam3.getScore()-average)+(exam4.getScore()-average)*(exam4.getScore()-average))/4;
              else if (numberOfExamsTaken == 3)
                   variance = ((exam1.getScore()-average)*(exam1.getScore()-average)+(exam2.getScore()-average)*(exam2.getScore()-average)+(exam3.getScore()-average)*(exam3.getScore()-average))/4;
              else if (numberOfExamsTaken == 2)
                   variance = ((exam1.getScore()-average)*(exam1.getScore()-average)+(exam2.getScore()-average)*(exam2.getScore()-average))/4;
              else if (numberOfExamsTaken < 2)
                   variance = CANT_COMPUTE_STATISTIC;
         // calculateStandardDeviation() calculates the standard
         // deviation of the scores of taken exams and stores
         // it in 'standardDeviation'
         // The formula for calculating standard deviation is just
         // the square root of the variance
         private void calculateStandardDeviation(Exam exam1, Exam exam2, Exam exam3, Exam exam4, Exam exam5)
              // *** YOUR CODE GOES HERE ***
              if (variance == CANT_COMPUTE_STATISTIC)
                   standardDeviation = CANT_COMPUTE_STATISTIC;
              else
                   standardDeviation = (Math.sqrt(variance));
    // Exam.java for Lab 2
    // ICS 21 Fall 2002
    // An Exam object stores information about one exam
    class Exam
         private boolean examTaken;     //was the exam taken? true for yes, false for no
         private int score;               //the exam's score; = 0 if test not taken
         //                    -------------------- Constructors --------------------
         // Construct a taken exam; it has score 's'
         public Exam(int s)
              score = s;
              examTaken = true;
         // Construct an exam not taken; it has a score of 0
         public Exam()
              score = 0;
              examTaken = false;
         //                    -------------------- Accessor methods --------------------
         // Make the score of an exam available
         public int getScore()
              return score;
         // Make available whether an exam was taken
         public boolean wasTaken()
              return examTaken;

    Your code is absolutely unreadable - even if someone was willing to
    help, it's simply impossible. I do give you a few tips, though: If you
    understand your code (i.e. if it really is YOUR code), you should be
    able to realize that your minimum and maximum never get set (thus they
    are both 0) and your exam 3 is set with the wrong value. SEE where
    those should get set and figure out why they're not. Chances are you
    are doing something to them that makes one 'if' fail or you just
    erroneously assign a wrong variable!

  • Hi, updated my iphone where in the middle of updated the screen showed i must connect to itunes. after connecting iphone was updated but everything was deleted. was first time on itunes , so have no backup. can i recover my pics and contacts? please help

    hi, updated my iphone where in the middle of updated the screen showed i must connect to itunes. after connecting to itunes my  iphone was updated but everything was deleted. was first time on itunes , so have no backup. can i recover my pics and contacts? please help

    If this has happened more than once the problem is likely on your PC.
    See here: http://www.apple.com/support/iphone/assistant/itunes/

  • Iphone 4 Stuck in Recovery, Please help

    Hey guys, I keep trying to restore my iphone 4 but it never completes, it just keeps flashing up:
    the iphone "iphone" could not be restored. An unknown error occurred (9).
    And i cannot get out of recovery mode now!
    Please help i don't know how i can get out of it, I have made a genius bar appointment but the first available time is Sunday
    I have tried all sorts of things, putting it into dfu mode, general recovery mode, uninstalled itunes, reinstalled itunes, tried it on my mac and pc.
    Everything i can think of but it just wont start
    Thanks
    Craig

    Ok lets try this on your Mac:
    Find and delete any and all .ipsw files on your Mac, there should only be one, but delete ALL that you find. It should be located here:
    ~/Library/iTunes/iPhone Software Updates
    Once that's done, reboot your Mac & launch itunes then, see if you can force the phone into recovery mode, reset first as I described earlier:
    Turn your phone off(if you can), if not try to reset: Press the sleep/wake button & home button at the same time, keep pressing until you see the Apple logo, then release. Then, leave the USB cable connected to your computer, but NOT your phone, itunes running, press & hold the home button while connecting the USB cable to your dock connector, continue holding the home button until you see “Connect to iTunes” on the screen. You may now release the home button. iTunes should now display that it has detected your phone in recovery mode, if not quit and reopen iTunes. If you still don’t see the recovery message repeat these steps again. iTunes will give you the option to restore from a backup or set up as new. In your case, select "new".

  • IOS 8 stuck on download PLEASE HELP HELP

    HEy guys today from couple of hours i tried to download iOS 8 said to me failed like 5times but it worked this time than i noticed that its not getting up how can i stop it from downloading?i have nothing shown in usage like "iOS  8" i want to stop installing its letting my iPad freeze please help its air version tried to turn off wi fi ipad told me when connected to wi fi again i will continu please help me how to like delete it or stop it at all ill download it soon plz tell me guys,thanks

    Hi ipod 4g user,
    I apologize, I'm a bit unclear on the exact nature of the issue you are describing. Based on your description, you may want to see if you can back up your data to iTunes (if you don't already have a recent backup), then try restoring your iPad to factory settings and seeing if the issues persist. You may find the following articles helpful:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    Use iTunes to restore your iOS device to factory settings
    Regards,
    - Brenden

  • My ipod is stuck turning on please help. I have all ready tried reseting it many times but its still stuck turning on.

    please help quick

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • All iPhoto pics are gone! Please help!

    Today I emptied my trash, which I have done in the past with no problems. But now I see that I have NO photos in iPhoto, which had about 1,200 2 hours ago.
    Could someone please tell me simply what happened---I am not a techie---and if there is a way to restore the pictures? Where did they go? they weren't in my trash!!
    Thanks SO much....Beth

    Beth,
    If you didn't empty a trash can full of hundreds of files, then it's possible you moved the Pictures folder and it was dropped inside another folder. (Drag and drop makes that easy, and it would only have taken a split second.) Did you try the Finder Search for jpegs? Or search for all folders with the name Pictures. Or search for a file named "Library.iPhoto" which will point you to your iPhoto Library.
    To create a Pictures folder, navigate to Macintosh HD/ Users/ (your user name) or simply select the Home folder in the Finder sidebar. Do File > New Folder, then name the new folder "Pictures" exactly - with a capital P (but no quotation marks). The list of folders in your Home folder should look something like this: Desktop, Documents, Library, Movies, Music, Pictures (and perhaps a few others). To place the Pictures folder in the sidebar, simply drag it from the Home folder and place it where you want in the sidebar. This creates the alias.
    If you get a message as you are trying to create the Pictures folder that one already exists in that location with the same name, do NOT allow it to be overwritten. You don't want to overwrite your files with an empty folder, because then it really will be gone. This is why I strongly recommend that you do those Finder Searches before creating a new folder.
    I have more pictures in iPhoto now from this vacation!
    Have you already imported them? Where is your iPhoto Library folder? iPhoto places a new library into the Pictures folder by default. You can locate any file in your iPhoto library by right-clicking (control-clicking) its thumbnail in the iPhoto Window. Choose "Show File" or "Reveal in Finder" (different versions phrase it differently) from the contextual menu. A Finder window should then open with the file already selected. Use that window to trace the path of the file and locate your iPhoto Library folder. Is there a Pictures folder?
    Thank you for your kind words. My ability is somewhat limited by the fact that I use iPhoto 6 on Tiger, and have little recollection of the specifics of iPhoto 5 on Panther. There are some differences. If you need help with performing a Finder Search, you would get better advice in the Panther forum. (See, I'm still assuming that Pictures folder is still there somewhere. Things don't just disappear by themselves.) Of course, I'll do my best if you have any more questions for me.
    Let me know how it goes.
    Regards.

Maybe you are looking for