Edits in iPhoto create empty files

iPhoto '08 imports photos correctly, but creates empty files (0kb) once I edit. The original is retained correctly, and I can always "revert to original" to get the files back, but about a quarter of my edited photos show up as empty files when I try to view them.  How can I fix it?  Why does it happen to some, but not others?

Have these been shot with a Nikon? I've seen occasional reports on here of this happening with Nikons.
As a Test:
Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
Import a few pics into this new, blank library. Is the Problem repeated there?

Similar Messages

  • Receiver file adapter creates empty files, Empty-Message Handling SP19

    Hello,
    We have just upgraded the system to SP19.
    One of the new features is that it should be possible to determine how XI messages with an empty main payload are to be handled in the receiver file adapter.
    If the parameter Empty-Message Handling is set to 'Ignore' no file should be created if the main payload is empty. In our case an empty file (size 0 kb) is still created even though the main payload is empty and the flag is set to 'Ignore'.
    Has anybody experienced the same problem?
    //  Best regards  Hans

    This should work:
    Use your own adapter module that parses incoming message and checks if it has any record sets in the document. If it does not have any record sets, then set the message to empty and then give this modified message to File receiver.
    For example, see the example code below:
    Module imports..
    Audit log import..
    DOM imports/SAX imports..
    public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData) throws ModuleException {
              try {
                   // get the XI message from the environment
                   Message msg = (Message) inputModuleData.getPrincipalData();
                   AuditMessageKey amk = new AuditMessageKey(msg.getMessageId(),AuditDirection.INBOUND);
                   Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"RemoveRootTag: Module called");
                   XMLPayload payLoad = msg.getDocument();
                   Document doc = parseXmlFile(payLoad.getInputStream());
                   if(doc != null){
                        if(!doc.getDocumentElement().hasChildNodes()){
                             Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "Document is empty!!");
                             payLoad.setContent("".getBytes());
                             msg.setDocument(payLoad);
                   // provide the XI message for returning
                   inputModuleData.setPrincipalData(msg);
                   } catch (Exception e) {
                   // raise exception, when an error occurred
                   ModuleException me = new ModuleException(e);
                   throw me;
                   // return XI message
              return inputModuleData;
         private Document parseXmlFile(InputStream xmlpayload) {
              try {
                   DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   factory.setValidating(false);
                   //        Create the builder and parse the file
                   Document doc = factory.newDocumentBuilder().parse(xmlpayload);
                   return doc;
              } catch (SAXException e) {
              } catch (ParserConfigurationException e) {
              } catch(IOException e){
              return null;

  • Create empty file

    Hello Experts,
    I have a requirement something like this.
    I have file to file scenario.
    I have multiple files in sender folder coming everyday. I have PI File adapter scheduled at some perticular time to process these files. For each sender file one receiving file is created.
    Now the requirement is, my client wants that once all the files from sender folder processed and create files at receiver end, they want PI to create one Empty file to indicate that all the files are processed.
    Is it possible? If yes then how?
    Thanks,
    Hetal

    Hiiiii,
    Answer for ur quesitons:
    1) Sending side is that within your organization or is it some kind of outside data?
    Ans: Its within our organization.
    2) Your sender channel is that only opened once during the day or at regular intervals?
    Ans: Its open just once in a day but if needed we can open on regular intervals.
    3) What's the aim of creating an empty file?
    Ans: Actually there are around 3000 files coming from Sender and PI is processing them and dropping it at receiver end.
    Now after PI drops the files at receiver end, another process (we have some other process on receiver side which is inside the organization) will start processing those files. But they dont want to be time dependent, what they want is once PI will process and keep all the files on receiver side then PI should drop one empty file on receiver side, so when receiver process will see this empty file, it will understand that PI has processesed all the files so they can start processing those received files.
    Hope i hv cleared your dobts.
    Thanks,
    Hetal

  • Receiver-File-Adatper creates empty files on FTP-Server

    Hi experts,
    I have a problem with my IDOC-to-File-scenario. My Mapping converts IDOCs to XML-files. Then the xml-files should be send to a ftp-server in New York. but only the filename is created on the ftp-server in New York. but without any content.
    At first I tested the scenario with a ftp-server in our company. and it works. the files and the right content were created. so the scenario and the mapping are working correctly.
    Have you any idea what the problem is?
    Thanks and best regrads
    Christopher

    Dont use anonymous login. Please provide user name and password.
    Also go to adapter engine queue. There see the details description of your message. There it will specify which file got created, on which FTP server, in which folder and also how many bytes XI has transferred. If possible let me know these details.
    Also try uploading any other file to FTP.
    For this got to Command prompt.
    1. open (o) IP ADDRESS
    2. User name
    3. Password
    4. go to specified folder
    5. Use PUT command to save the file on FTP server.
    If after all these empty files is getting created then contact your system administrator and tell him to check firewall settings. Because there are few parameters which allows data transfer.
    Because if firewall problem is there then u wont be able to put a file manually on that FTP server.
    Let me know the output.
    Warm Regards,
    Gouri

  • File receiver: Create empty file named "start.txt" at end of process

    Hello,
    When my file adapter finish the generation of file at the receiver server I want to create another empty file at the same directory named "start.txt". The use of that file if for a scheduled task of OS that only starts a process if start.txt file have been created (the process delete that file).
    How can I do that? I've tried with OS command after precessing but that's for the XI OS not the receiver system SO...
    Then I've seen that I can use ftp command but there isn't ftp command to create a file... only to transfer files.

    You can achive this using script.Write a script/bat to creat a file using ftp connection as well in the script and place in xi machine. Using OS command to call the script before the process ends.
    Unix OS
    Glimpse at OS Command: Yet Another Scenario
    Microsoft OS
    The specified item was not found.
    Regards
    Prabhakar

  • Schemagen creates empty files in tutorial II

    Hi,
    Thanks for answering my previous Qs. Im on section 3.3 of the tutorial.
    Im using java 1.4.2, winxp. schemagen -file schema.xml creates an empty
    file.
    I ran these commands before schemagen:
    set javax.jdo.option.ConnectionDriverName=org.hsqldb.jdbcDriver
    set javax.jdo.option.ConnectionURL=jdbc:hsqldb:reversetutorial_database
    set javax.jdo.option.ConnectionUserName=sa
    set javax.jdo.option.ConnectionPassword=
    my classpath=
    D:\kodo-jdo-3.1.0\lib\kodo-jdo.jar;D:\kodo-jdo-3.1.0\lib\kodo-jdo-runt
    ime.jar;D:\kodo-jdo-3.1.0\lib\jdo-1.0.1.jar;D:\kodo-jdo-3.1.0\lib\jfreechart-0.9.13.jar;D:\kodo-jdo-3.1.0\lib\jakarta-commons-collections-2.1.jar;D:\kodo-jdo-3.1.0\lib\jakarta-commons-lang-1.0.1.jar;D:\kodo-jdo-3.1.0\lib\jakarta-commons-pool-1.0.1.jar;D:\kodo-jdo-3.1.0\lib\jakarta-regexp-1.1.jar;D:\kodo-jdo-3.1.0\lib\jca1.0.jar;D:\kodo-jdo-3.1.0\lib\jdo-1.0.1.jar;D:\kodo-jdo-3.1.0\lib\jndi.jar;D:\kodo-jdo-3.1.0\lib\jta-spec1_0_1.jar;D:\kodo-jdo-3.1.0\lib\mx4j-admb.jar;D:\kodo-jdo-3.1.0\lib\mx4j-jmx.jar;D:\kodo-jdo-3.1.0\lib\mx4j-tools.jar;D:\kodo-jdo-3.1.0\;D:\kodo-jdo-3.1.0\lib\jdbc-hsql-1_7_0.jar
    thanks,
    PS how does one reply to a message using the solarmetric website to access
    this newsgroup.

    Hi,
    Thanks for answering my previous Qs. Im on section 3.3 of the tutorial.
    Im using java 1.4.2, winxp. schemagen -file schema.xml creates an empty
    file.
    I ran these commands before schemagen:
    set javax.jdo.option.ConnectionDriverName=org.hsqldb.jdbcDriver
    set javax.jdo.option.ConnectionURL=jdbc:hsqldb:reversetutorial_database
    set javax.jdo.option.ConnectionUserName=sa
    set javax.jdo.option.ConnectionPassword=
    my classpath=
    D:\kodo-jdo-3.1.0\lib\kodo-jdo.jar;D:\kodo-jdo-3.1.0\lib\kodo-jdo-runt
    ime.jar;D:\kodo-jdo-3.1.0\lib\jdo-1.0.1.jar;D:\kodo-jdo-3.1.0\lib\jfreechart-0.9.13.jar;D:\kodo-jdo-3.1.0\lib\jakarta-commons-collections-2.1.jar;D:\kodo-jdo-3.1.0\lib\jakarta-commons-lang-1.0.1.jar;D:\kodo-jdo-3.1.0\lib\jakarta-commons-pool-1.0.1.jar;D:\kodo-jdo-3.1.0\lib\jakarta-regexp-1.1.jar;D:\kodo-jdo-3.1.0\lib\jca1.0.jar;D:\kodo-jdo-3.1.0\lib\jdo-1.0.1.jar;D:\kodo-jdo-3.1.0\lib\jndi.jar;D:\kodo-jdo-3.1.0\lib\jta-spec1_0_1.jar;D:\kodo-jdo-3.1.0\lib\mx4j-admb.jar;D:\kodo-jdo-3.1.0\lib\mx4j-jmx.jar;D:\kodo-jdo-3.1.0\lib\mx4j-tools.jar;D:\kodo-jdo-3.1.0\;D:\kodo-jdo-3.1.0\lib\jdbc-hsql-1_7_0.jar
    thanks,
    PS how does one reply to a message using the solarmetric website to access
    this newsgroup.

  • Solaris 10 creates empty files on one partition

    When I use following on this partition
    echo "This is a text" > /vaults/active/.status/TEST
    the system creates a empty file
    cat /vaults/active/.status/TEST # returns nothing
    The file will be created with 0 bytes.
    When I use another partition all is correct
    echo "This is a text" > /tmp/TEST
    cat /tmp/TEST # returns: This is a text
    What can be the reason for this behaviour? There are no quotas specified for the system.

    Is the /vaults/active/.status/ containing filesystem full? Can you create a directory? Ifso, can you create content in the newly created directory?

  • Text Content Conversion - File Adapter - Creates empty file

    I am running XI 7.0.
    Mapping from abap proxy to file - text content conversion.
    The process works, generates and sends file from mySAP, maps through XI, logs onto ftp site and creates file, but doesn't write any data into the file!
    I am really confused as to what is happening!
    This is taken from the communication channel!
    Audit Log for Message: 5ccc2e46-c0f2-5349-e100-00000ddf240f
    Time Stamp Status Description
    2007-04-28 10:37:21 Success Message successfully received by messaging system. Profile: XI URL: http://host.fqdn:55000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
    2007-04-28 10:37:21 Success Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2007-04-28 10:37:21 Success Message successfully put into the queue.
    2007-04-28 10:37:21 Success The message was successfully retrieved from the receive queue.
    2007-04-28 10:37:21 Success The message status set to DLNG.
    2007-04-28 10:37:21 Success Delivering to channel: EPIW_FTP_Receiver_EmployeeRecords
    2007-04-28 10:37:21 Success File adapter receiver: processing started; QoS required: ExactlyOnce
    2007-04-28 10:37:21 Success File adapter receiver channel EPIW_FTP_Receiver_EmployeeRecords: start processing: party " ", service "XE_DEV_3RD_EPIW_001"
    2007-04-28 10:37:21 Success Connect to FTP server "ftp.ftp.ftp.ftp", directory "/ECS/Target"
    2007-04-28 10:37:21 Success Write to FTP server "ftp.ftp.ftp.ftp", directory "/ECS/Target",   file "epiw_output.dat"
    2007-04-28 10:37:21 Success Transfer: "BIN" mode, size 125 bytes, character encoding -
    2007-04-28 10:37:21 Success Start converting XML document content to plain text
    2007-04-28 10:37:21 Success File processing complete
    2007-04-28 10:37:21 Success The message was successfully delivered to the application using connection File_http://sap.com/xi/XI/System.
    2007-04-28 10:37:21 Success The message status set to DLVD.
    I can see the data before and after...  Any ideas?

    hi,
    this is starange:)
    did you refresh FTP (F5) ?
    maybe you're checking wrong ftp server? with the same folders ?
    ups - I thought I doens't create any file...
    as suggested check your mapping as per my blog:
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    just use TCODe for abap mapping tests - SXI_MAPPING_TEST
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • IPhoto creates modified file

    I'm a lightroom user for the editing part of my photos.
    Now I've created smaller versions of my pictures and set them up in a special folder so I can have an easy way to transport them over to my mobile devices.
    My issue is that sometimes when I import photos (to iphoto), it creates a modified file which is quite a bit larger then what I want in iphoto. It's about 400% larger then the photo that I have imported to iPhoto. I have not asked the program to modify anything or create any kind of copies of my pictures. I have even made sure that iphoto doesn't copy the pictures I import. I don't want more copies. I have them in my "ipod-ipad" file and that is all I need.
    It's all very strange cause it no rime or reason to when it doesn't it. There is a few picture here and there that end up changed and with a modified file that is stored on my hard drive (all my originals are on an external hard drive).
    The only reason I discovered this is cause one pictures was cut to only show 2/3 of the actual picture.
    Does anyone know why iPhoto does this and is there a way I can stop it?
    Thank you
    Sophie

    By larger I mean file size. Say the original (I use that word loosely since it's not my original but it's the only original iPhoto knows exists) is 250kb the modifies file might be 950kb.
    It looks like the portrait photos all have a modified file but it's not exclusively the portrait pictures that have that. Some of the landscape photos have them as well. When I say revert back to original the color of the photo changes slightly. It's like iphoto has done modifications in the color as well (I have done that in Lightroom and since it is a published service maybe iphoto can sense that it has been changed).
    There is no flags anywhere so not sure what you mean by that.
    When I say the picture has been cut to 2/3 I mean that the left 1/3 of the picture has been cut out. Very strange. When I press revert to original, it goes back to what it should be.
    None of the pictures I've been looking at for this (haven't gone thru all of them) is ordinary jpeg (not RAW) taken with my iPhone.
    Thanks for you help
    Sophie

  • Problems editing with iPhoto 6 - modified file has a mind of its own. Help!

    I have been working through info posted re difficulties storing edits. My modified file (once I eventually found it) appears to simply duplicate originals. Recent attempts show that edits are now being stored as ThumbJPGSegment data. Attempts to open these show 'unreadable file'. 'Could not be imported as the file is in the iPhoto library folder'. What on earth does this mean, and am I doing wrong? I have wasted a day trying to sort this out.
    eMac   Mac OS X (10.4.7)   iLife 06

    Posey:
    Welcome to the Apple Discussions. The library6.iPhoto file is just the database that keeps track of the photos, edits, books, etc. that is in the library. You edited version of that photo will be located in the Modified folder's subfolder for the roll that the photo is in. The thumbs file is the thumbnail version data base. Those are all library overhead files.
    As PhillyPhan warned: Don't tamper with files in the iPhoto Library folder from the Finder. We can emphasize that too much.
    If you're doing sharpening it's a know issues that it's nearly impossible to see the effects of sharpening unless you in the separate edit window and viewing at 100%. Otherwise the antialiasing that iPhoto does on the images will smooth out the sharpening that you've applied. If it's other types of edits, i.e. crops, red eye removal then find one of the files you've done that to in the Modified folder and open it with Preview or drag into an open Safari window to view the photo and see if the edit was actually saved.
    Do you Twango?
    G5 Dual Core 2GHz, 2G RAM, 250G HD; G4 Dual 1Ghz, 1.5G RAM, 80G HD,   Mac OS X (10.4.7)   22 LCD Display, 200G & 160G FW HDs, Canon S400, i850 & LIDE 50, Epson R200

  • Using PSE9 as editor in iPhoto - Creates duplicate file

    Am new to PSE 9.  In iPhoto 9, I have selected PSE9 as the editor.  After making any changes to a photo I am working on, it creates a duplicate thumbnail, file in iPhoto.  Following instructions from an Apple Discussion thread, it is only supposed to update the existing file in iPhoto, not create a duplicate.  Please advise.  Thanks.

    Have iPhoto 11.  Have PSE as editor in iPhoto, which takes me right into PSE9.  Am doing a Save, and not Save As.  I do get a pop up window giving me JPEG save options, which I have Standard selected.  Thanks.
    Bob
    Bob Buedding
    [email protected]
    Home:  608-825-1999
    Cell:      608-345-0929

  • How do I edit a newly created pdf file? (RE matching a format for a create space output)

    I need help with editing and formatting a newly created pdf file

    You posted this in the Captivate forum, I think you need the Acrobat one

  • Import Creates Empty Files?

    I have Sony HC42 camcorder. I connected it to a brand new 27" iMac and am using the latest version of iMovie. The import window shows up fine, I can see and control the movie, so then I try to import it. The import appears to work fine but nothing get created. The import shows up on the left but there are no clips. If I look in my Movies folder, I can see that iMovie created a bunch of .dv files for the clips, but they are all zero length. Can anybody tell me why importing seems to work fine but nothing gets imported?

    Is the /vaults/active/.status/ containing filesystem full? Can you create a directory? Ifso, can you create content in the newly created directory?

  • Syncing edited songs without creating duplicate files ... ideas?

    I'm thrilled you can now move songs via iTunes to different computers. My issue is that I want to move songs when I change info for a song (ie. star rating, comment, etc.). If the song already exist on the other computer moving the song via iTunes creates a duplicate on the receiving computer. Ideas?

    While also time consuming, the Consolidate command will do it and is automatic.
    What you would do is go into your iTunes preferences and change the iTunes Music folder location. Pick something like a spare external drive or if you have enough room on your internal to duplicate your whole library, another spot there.
    Now invoke the consolidate command. What this command does is copies any files not in the currently identified iTunes Music folder location into that location and updates the database so the song is now accessed from that location. Since you just change the location to somewhere else, ALL of your library is outside that location and will be copied into it.
    So here is the part that helps you. All those 19 gigs of orphaned files are left behind. If the file is not used by iTunes it is not copied. So the new iTunes Music folder location ends up being a clean folder with only those files actively used by iTunes.
    As that point you can either continue to use this new location and delete the old location from your computer. Or if you want everything back in the same place, clear out the old folder then change the location back to that folder and consolidate everything back. Again, will take a fair bit of time for many many gigs, but you can start it and go to bed, go to lunch, work, go watch a show as it is done automatically.
    Cheers,
    Patrick

  • Error creating backup file

    Hi,
    I'm running adobe digital editions on a Mac OS X 10.6.3 and I keep getting this error message whenever I open adobe digital editions.
    Error creating backup file: /Users/yongrufui/Documents/Digital Editions/backup_manifest.xml
    Error detail: Error #2038
    This message also appears when I go to Library view. And I can't load my new ebook either.
    Please help!

    I wish I had an answer, but I have the same problem.  My error is: Error Creating Backup File  c:windows\personal\MyDigital Editions\Backup_Manifest.xml
    Error Detail: Error #2038
    I've reported this to Adobe and someone is trying to resolve, but its been over 4 days now.  All of the suggestions provided so far haven't fix it.
    I get this error upon Launching ADE.  Always comes up on Launch, but I can move on by clicking OK.  However, all that does is remove the error message. Still cannot download books from library.

Maybe you are looking for