FCP rendering file "not found" after rendering

hello,
It is very strange... It has never been happen to me before. After I render projects 30 mins HD project (it took me a few hrs) and right after the rendering, this message pops up... "Not Found" then all the supposed to be rendered region is still in red..... I have no idea what to do.. I trashed preferences and al... but I had no luck...

Yes,
I solve the problem after I created a new sequence and saved the project as different setting.
thanx;)

Similar Messages

  • File Not Found when rendering motion menus

    I'm rendering motion menus in CS4. Most of them are successfully rendered but two haven't rendered yet: "FAQ A 13" and "FAQ A 14". When the rendering process gets about 3/4 of the way through FAQ A 13, I get "File Not Found" error.
    There is no indication in the error box of WHICH file was not found (thanks Adobe). It doesn't seem like it can be 13, since it already successfully found 3/4 of the file. But I'd be surprised if it was 14 because 13 should have taken another 15-20 seconds of rendering before 14 was attempted.
    Anyone experienced something like this and have some insight?
    Thanks

    Solved it (sort of): I chose a different transcode preset to force a re-transcode of the video background. Re-rendering motion menus was successful after that.
    Strange though that the transcoded file was corrupted/missing (it was fresh as I had imported the asset this session).
    Also strange that Encore would transcode background assets to mpeg2 before rendering the motion menu; wouldn't it have to recompress to mpeg2 after compositing the additional elements, and lose quality?

  • Why does FCP error "File Not Found" when I try to open my sequences????

    I recently updated all of my software and the following day I started getting errors "file not found" when I would try to open a sequence. Now all of my sequences are being lost and I am losing time and money because I can't meet deadlines! This *****!!! With one sequence I had to reedit the entire thing from scratch and when I did for some reason the old one would then open. But the next time I opened FCP both sequences would error out. Following the "file not found" the computer responds with another error "error: out of memory" What the devil is going on with this crap?

    I seem to have figured out what my problem was. After trying to build the same project (that failed on the Mac Pro) on my laptop and encountering the same errors, I realized that the problem had to be with one or more of my assets and not my new version of FCP, since my PowerBook is running FCP 5.0.4 and my Mac Pro is running FCP 5.1.2.
    In my case the "corrupt" file was a Photoshop PSD file. In the past (FCP 4.5) I was able to use PSD files with hidden layers. I would merge the visible layers into one layer, keep the hidden layers and save the file. Once in FCP, I imported the PSD file and kept right on truckin'. I've done this for years. For some reason now with FCP 5.1.2 (and 5.0.4), that's not flying anymore. Once I "Flattened" the PSD file in Photoshop (deleting all of the hidden layers) I was able to build the project without any errors.
    Interestingly, the technique I used to figure out which file was "corrupt" also allowed me to salvage parts of some of my "lost" sequences. I saw this posted in a forum at Creative Cow (creativecow.net). Basically, I opened up the project, clicked the OK button after the File Not Found error, went into the Browser, right clicked on the offending sequence, selected "Make Offline". When I double clicked the sequence it opened in the timeline with all of my assets offline. Then in the timeline, one by one, I right clicked on each clip and selected "Reconnect Media". Once I linked up the media, if I didn't get an error message, I would save as a new project (to salvage what WAS working), and go to the next clip. I did this until I found the offending PSD files.
    I hope this helps. Now it's time to play "catch-up"
    Mac Pro 3Ghz, 1GB RAM, ATI Radeon X1900 XT   Mac OS X (10.4.8)  

  • File not found after restart

    Hello,
    We have a web application that reads in a .ini file. This works great. But, when we have to restart tomcat (for example after the database has been restarted) sometimes tomcat throws a file not found exception for that file. The only way to get rid of that exception is removing the deployed diurectory of the web application and start tomcat again so it deploys the the application again. The .ini file doesn't leave its place and is always there.
    Kind regards,
    Martijn

    Hi,
    MPRyan1173 wrote:
    Wouldn't it have timeout reset with a server restart and computer restart? 
    yes, Application scope resets on coldfusion server or computer restart.

  • [SOLVED] GRUB 2 - "error: file not found" after Clonezilla Restore

    Hello,
    I backed up my Arch Install which is one root partition covering the entire SDD with Clonezilla, to play around with Gentoo and FreeBSD on my Laptop.
    Now I restored the image and when GRUB 2 loads I see "error: file not found" three times for a short momemt before I'm in the GRUB 2 menu.
    When I boot my I also see these 3 messages (probably the once from the early loading process) and "Loading Linux ck kernel...." "Loading initrafms...." "Press any key to continue..." When I wait for a short time or press enter it boots like expected (fsck message appears for a short time since I'm using quite boot and I'm in KDM after that).
    Grub loading...
    error: file not found
    error: file not found
    error: file not found
    Loading Linux ck kernel...
    Loading initramfs...
    Press any key to continue...
    I did not have this when I  backed it up. It booted into the menu and when I booted the menu entry it would go black to show me the fsck message and seconds later I was in KDM.
    I tried $ sudo grub-mkconfig but it did not change anything.
    This is my current /boot/grub/grub.cfg
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="0"
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    set timeout=5
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch GNU/Linux, with Linux ck kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ck kernel-true-a93fa938-f74f-477d-9573-678340bb2940' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    echo 'Loading Linux ck kernel ...'
    linux /boot/vmlinuz-linux-ck root=/dev/sda1 elevator=noop ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-ck.img
    menuentry 'Arch GNU/Linux, with Linux ck kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ck kernel-fallback-a93fa938-f74f-477d-9573-678340bb2940' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    echo 'Loading Linux ck kernel ...'
    linux /boot/vmlinuz-linux-ck root=/dev/sda1 elevator=noop ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-ck-fallback.img
    menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-a93fa938-f74f-477d-9573-678340bb2940' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /boot/vmlinuz-linux root=/dev/sda1 elevator=noop ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-a93fa938-f74f-477d-9573-678340bb2940' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /boot/vmlinuz-linux root=/dev/sda1 elevator=noop ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-fallback.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    Anyone has a clue what files it is looking for? And why it doesn't boot straight away, when there is nothing that keeps it from booting up normal anyway?
    Last edited by blackout23 (2013-03-21 16:16:59)

    the.ridikulus.rat wrote:Upgrade to grub 2.00, that will give info on which file is actually missing. And then recreate /boot/grub/grub.cfg and check whether that error is gone.
    I think I'm already on Grub 2.0.0 otherwise I wouldn't have this cryptic menu configuration file.
    local/grub-bios 2.00-1
    GNU GRand Unified Bootloader - i386 PC BIOS Modules
    local/grub-common 2.00-1
    GNU GRand Unified Bootloader - Utilities and Common Files

  • Error 15: file not found after comp tune X install

    downloaded comptuneX on mid 2010 27in imac to enlarge my bootcamp partition with windows 7.  Now when trying to boot into windows I get,
    Error: file not found...then pressing any key takes me to a RED SCREEN labeled at the top grub4dos, with a menu of options which don't work to do anything I understand.  Can someone please help?
    Thanks

    downloaded comptuneX on mid 2010 27in imac to enlarge my bootcamp partition with windows 7.  Now when trying to boot into windows I get,
    Error: file not found...then pressing any key takes me to a RED SCREEN labeled at the top grub4dos, with a menu of options which don't work to do anything I understand.  Can someone please help?
    Thanks

  • File not found after importing from external hard drive

    I have been importing music from an external hard drive into my Itunes account.  Some of the songs transfer fine, but some of them show up in Itunes as being imported, but when I go to listen to them I get a file not found message because the original file cannot be found.  If I have the hard drive plugged in there is no problem, but without it I get that message. 
    Any advice?  I"d really like to get all music set up in Itunes.

    Search Amazon - Davie Pogue I believe has released the missing manual for Leopard - it is a good general reference Liz Castro did a great book on iPhoto 05 but has not done one for '08 as of now
    The iPhoto Help section is very helpful
    Reading this forum will teach you a lot about iPhoto
    If you have not taken the iPhoto tutorials yet you should - http://www.apple.com/support/iphoto/
    Make mistakes and fix them - that's the way I do it
    LN

  • Files not found after migration to new Mac

    Hi,
    On my old Mac, under Snow Leopard, my installation was complete and everything worked fine.
    Then, when I bought a new Mac (with Mountain Lion installed) I had to use Migration Assistant to restore my Time Machine Backup, which included my Logic Pro installation.
    Now when I try to use Logic Pro I often get these "Audio file ... not found!" messages (see example).
    How can I fix this?
    Many thanks!

    Thanks for the link! Instead of un-installing and re-installing everything, I noticed that in GarageBand (which I normally don't use) there was an update/additional download available. After doing it I noticed that this had fixed nearly all missing-audio-file-problems in Logic Pro: when checking for missing instruments by creating a new instruments project everything was complete again on 2 of our 4 Macs (pre 2012 models) -- on the other 2 Macs (late 2012 models) only the following 3 ( ! ) files are missing:
    /Library/Application Support/GarageBand/Instrument Library/Sampler/Sampler Files/...
    .../Seventies Kit/DC Tit Hat 08.aif
          (of EXS24 Instrument "Seventies Kit.exs")
    .../Liverpool Bass/IL Btl Bass bomb 08.aif
          (of EXS24 Instrument "Liverpool Bass.exs")
    .../Steinway Grand Piano/Steinway Pedal V1/Stw ped v1 024.AIF
          (of EXS24 Instrument "Steinway Piano.exs")
    So we copied the 3 missing files into the same directories on the 2 newer Macs, but it seems Logic doesn't "see" them and therefore still says that they are missing:
    How can I help Logic to find these files?

  • "ipod cannot update - file not found" after getting new ipod

    i had my ipod replaced today at the apple store because of a bad HD. Seems like the one they gave me was brand new...anyway after following the restore/charge directions, i went to go plug it into my dock and Itunes is telling me it can't update the ipod because the file is missing. i definitely have the latest update installer, and i even tested playlist syncs with the new ipod and it definitely updates songs/playlists, but after that it gives me the error message about not being able to update.
    i ran the last updater, and it says my ipod is up to date.
    what's going wrong? i must have done something wrong.

    or not....i spoke too soon!
    it's doing it AGAIN. after it started updating after restoring all was well, it tried to add my whole library which won't fit.
    when it add's a "library selection" instead automatically, it fills up my ipod so that the photos won't update.
    then when i re-mount the ipod, it gives me the same old error message again about missing the file required for updating!?!?!?
    i wish my preference to "manually add songs" instead of syncing the library would save in Itunes when i restore my Ipod. it's making it impossible for me to get things working properly after restoring....

  • Process.conf file not found after installing Sun One Portal Server 6.0

    This extract is from the Sun One Portal Server development guide for logging error or logs in log file. This says that to generate the log, entry should be done to enable logging in process.conf file. I could not find any such file after installing Sun One Portal Server 6.0.
    Any help will be appreciated...
    Reporting Errors to the Robot Log File
    When problems occur, robot application functions should return an appropriate response status code (such as REQ_ABORTED), and they should also log an error inthe error log file.
    To use the error-logging functionality, you must include the file log.h in thesdk/robot/include/libcs directory. After you have ensured that log.h exists in the correct place, you can use the cslog_error macro to report errors. The prototype is in the following format:
    cslog_error(int n, int loglevel, char* errorMessage)
    The first parameter is not currently used (may be used in the future) You can pass
    this as any integer.
    The second parameter is the log level. When the log level is less than or equal to the log level setting in the file process.conf, the error message is written in the robot.log.

    Since removing the log settings from magnus.conf failed to fix the problem, the log settings are probably not the source of the problem.
    Did anything else - e.g. ColdFusion configuration changes - occur at about the same time you changed the log settings?

  • Imported files not found after re-configuring pc drive partitions !

    I had alot of files I imported into ITunes which were in the following folder location c:\myfiles.
    I have now moved these to a new drive partition d:\myfiles because there was no more space on C: drive.
    Now when I play these songs I get an ! (Excalamtion mark) against all the songs I imported and also a 'Cannot play song ..... original file cannot be found' message.
    I can browse to the new location and select the song which fixes it but I have alot of these to manually select.
    Is there a simple way of making all the imported songs point to the new location ?
    Thanks.

    The simplest thing to do is to start a new library and reimport the files, but you loose all metadata.
    Close iTunes, drag iTunes library.itl out of the iTunes folder to the desktop. When you start iTunes an empty library will be created. Use File>>Add folder to library to add your music.
    If you really want your metadata and you don't mind a bit of editing, there is a way of rebuilding your library from the xml file.
    Close iTunes and drag iTunes library.itl and iTunes Library.xml out of the iTunes folder to the desktop.
    oPen iTunes Library.xml with WordPad.
    Look for lines starting:
    <key>Location</key>
    You will see the paths to files. Note that the space character is replaced by %20.
    If there is a simple find/replace you can do to correct the path e.g. change the drive letter, then you should be able to recreate you library from the edited xml file.
    It would be a good idea to make a copy of the original xml file in case you don't get it right first time.
    Article on rebuilding library:
    http://support.apple.com/kb/HT1451

  • File not found after socket transfer

    I have code written to upload a file to the server. the file uploads fine when i dont specify the dir. It uploads to the server current dir, but when i try to upload it to directory "tmp/uniqueDir/filename" that i create in my code i get filnotfound exception. can someone please help me figure out why?
    import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.net.Socket;
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    public class ServerUtil {
         String tmpDir;
         String fileName;
         Process proc;
         Runtime runtime = Runtime.getRuntime();
         public static final int BUFFER_SIZE = 1024 * 50;
         private byte[] buffer;
         public ServerUtil() {
              // TODO Auto-generated constructor stub
         public void generateTmpDir(){
              java.util.Date d = new java.util.Date();
              long off = (long) Math.random();
              GregorianCalendar todaysDate=new GregorianCalendar();
              int hour,mins,secs;
              hour=todaysDate.get(Calendar.HOUR);
              mins = todaysDate.get(Calendar.MINUTE);
              secs = todaysDate.get(Calendar.SECOND);
              String SECS = java.lang.Integer.toString(secs);
              String HOUR = java.lang.Integer.toString(hour);
              String MINS = java.lang.Integer.toString(mins);
              String time = HOUR + MINS + SECS;
              /** Unique String Name **/
              String RANDOM_OFFSET = new String ();
              RANDOM_OFFSET =time + d.hashCode() + RANDOM_OFFSET.hashCode()+ off;
              setTmpDir(RANDOM_OFFSET);
              try {
                   proc = runtime.exec("mkdir tmp/" + getTmpDir() );
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public void uploadFile(Socket socket, BufferedReader rd){
              buffer = new byte[BUFFER_SIZE];
              System.out.println("accepted Socket");
              try {
              BufferedInputStream in =
                   new BufferedInputStream(socket.getInputStream());
              setFileName(rd.readLine());
              System.out.println(fileName);
              BufferedOutputStream out =
                   new BufferedOutputStream(new FileOutputStream("tmp/" + getTmpDir() +"/" + getFileName()));
              int len = 0;
              while ((len = in.read(buffer)) > 0) {
                   out.write(buffer, 0, len);
                   System.out.print("#");
              in.close();
              out.flush();
              out.close();
              socket.close();
              System.out.println("\nDone!");
              catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
          * @return the tmpDir
         public String getTmpDir() {
              return tmpDir;
          * @param tmpDir the tmpDir to set
         public void setTmpDir(String tmpDir) {
              this.tmpDir = tmpDir;
          * @return the fileName
         public String getFileName() {
              return fileName;
          * @param fileName the fileName to set
         public void setFileName(String fileName) {
              this.fileName = fileName;
    }this is the error im getting:
    java.io.FileNotFoundException: tmp/0859124333356700/fileName (A file or directory in the path name does not exist.)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:201)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:153)
    at EpkgArchiveServerUtil.uploadFile(ServerUtil.java:93)
    at ServerThreads.run(ServerThreads.java:38)

    You mean this code?proc = runtime.exec("mkdir tmp/" + getTmpDir() );Does it run with the same working directory as your Java code? And why don't you wait until it finishes? And more to the point, why don't you just use the java.io.File method that will make a directory for you instead of doing a clumsy thing like that?

  • File Not Found after soket transfer

    I have code written to upload a file to the server. the file uploads fine when i dont specify the dir. It uploads to the server current dir, but when i try to upload it to directory "tmp/uniqueDir/filename" that i create in my code i get filnotfound exception. can someone please help me figure out why?
    import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.net.Socket;
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    public class ServerUtil {
         String tmpDir;
         String fileName;
         Process proc;
         Runtime runtime = Runtime.getRuntime();
         public static final int BUFFER_SIZE = 1024 * 50;
         private byte[] buffer;
         public ServerUtil() {
              // TODO Auto-generated constructor stub
         public void generateTmpDir(){
              java.util.Date d = new java.util.Date();
              long off = (long) Math.random();
              GregorianCalendar todaysDate=new GregorianCalendar();
              int hour,mins,secs;
              hour=todaysDate.get(Calendar.HOUR);
              mins = todaysDate.get(Calendar.MINUTE);
              secs = todaysDate.get(Calendar.SECOND);
              String SECS = java.lang.Integer.toString(secs);
              String HOUR = java.lang.Integer.toString(hour);
              String MINS = java.lang.Integer.toString(mins);
              String time = HOUR + MINS + SECS;
              /** Unique String Name **/
              String RANDOM_OFFSET = new String ();
              RANDOM_OFFSET =time + d.hashCode() + RANDOM_OFFSET.hashCode()+ off;
              setTmpDir(RANDOM_OFFSET);
              try {
                   proc = runtime.exec("mkdir tmp/" + getTmpDir() );
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public void uploadFile(Socket socket, BufferedReader rd){
              buffer = new byte[BUFFER_SIZE];
              System.out.println("accepted Socket");
              try {
              BufferedInputStream in =
                   new BufferedInputStream(socket.getInputStream());
              setFileName(rd.readLine());
              System.out.println(fileName);
              BufferedOutputStream out =
                   new BufferedOutputStream(new FileOutputStream("tmp/" + getTmpDir() +"/" + getFileName()));
              int len = 0;
              while ((len = in.read(buffer)) > 0) {
                   out.write(buffer, 0, len);
                   System.out.print("#");
              in.close();
              out.flush();
              out.close();
              socket.close();
              System.out.println("\nDone!");
              catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
          * @return the tmpDir
         public String getTmpDir() {
              return tmpDir;
          * @param tmpDir the tmpDir to set
         public void setTmpDir(String tmpDir) {
              this.tmpDir = tmpDir;
          * @return the fileName
         public String getFileName() {
              return fileName;
          * @param fileName the fileName to set
         public void setFileName(String fileName) {
              this.fileName = fileName;
    }this is the error im getting:
    java.io.FileNotFoundException: tmp/0859124333356700/fileName (A file or directory in the path name does not exist.)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:201)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:153)
    at EpkgArchiveServerUtil.uploadFile(ServerUtil.java:93)
    at ServerThreads.run(ServerThreads.java:38)

    You need to create the directory, not just calculate its name.
    Don't use BufferedReader for this: either use DataInputStream.readLine() or use a protocol that doesn't require newlines. Using a buffer when you also use another input from the same socket will cause the buffer to 'steal' data from the other input.

  • Acrobat File Not Found After Printing Web Page

    Here is my problem:
    I am trying to print a web page from our intranet but once the process is complete, a log file opens saying:
    "The system cannot find the file" and then it lists the file I just tried to create.
    The page is basic HTML with a small amount of Javascript.  Disabling the Javascript had the same problem.
    The page is about 30 pages long.  Only printing the first page had the same problem.
    Printing to PDF on an external site had the same problem.
    I tried the same process in Office and ran into the same problem.
    Here is what I am doing:
    I am opening the web page in the browser.  I go to File > Print.  I select "Adobe PDF" as my printer.  I do not make any edits to the settings.
    Here is my environment:
    Adobe Acrobat 9 Standard
    Windows XP SP3.
    Tried it both in Firefox 3.6 & IE 7.
    "Acrotray.exe" is running in the background.
    Acrobat is completely updated.
    Is it a setting issue?  Possibly a software conflict issue?
    Thanks,
    -B

    Thanks for the reply!
    Here are answers to your questions:
    No, I cannot print to PDF from other applications.
    I do have have the checkboxes to request filename and open in Acrobat selected.
    I do not get an error from Distiller during the process of creating a PDF.  It isn't until it is completely done that the log file pops up that simply says, "The system cannot find the file" and lists the file location (i.e. c:\users and settings\desktop...).
    Beyond that log file, it looks like everything is running fine.
    Let me know if any other information that will help.

  • Files not found after executable is created

    I have created a simple data base tool for writing and reading information from excel. When run in project explorer everything runs fine. But no matter how I build it as a stand alone application I run into a issue of missing files. The intitial star Vi opens fine but when I click to open one of the interfaces lab view starts searching for files that should be part of the install all over the hard drive and eventually gives me the following error. " LabView: An input paramater is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @. The file 'SubDisplayMessage.vi' could not be loaded.
    Please help,
    Scott

    As referenced in Document ID:22H8MDUZ Error 1 or 15 Opening Dynamic VI from LabVIEW Application the remove front pannel was not selected and the Application still does not work. Here is a copy of my build app. Every time and every thing I try as I access a VI other then the start up VI Labview goes looking for files that are part of the build and never finds them.
    Attachments:
    App build.gif ‏58 KB

Maybe you are looking for