Batch File Creation Problem CS5.5

I am having an issue creating aep files on our farm using aerender in CS5.5.  We have a script that uses a template aep to generate a new file for various shots.  It works fine in CS4.  When I use the same script in CS5.5 it creates a file, but when you try to open it, it gives the following messages:
After Effects warning: Reading past end of file
After Effects error: strange situation [0/2].  (26 :: 84)
At which point AE either crashes or leaves a blank file.
However, if you try to import the same file, it works fine and everything appears as desired.
If I run the same script through the CS5.5 UI (AfterFX.exe as opposed to aerender.exe) the file generated opens without issue.
I also tried stripping out parts of the script to see if removing elements fixed the issue.  It did not - in fact I made a new script to try in batch mode that only saves a file.  This results in the the same
After Effects warning: Reading past end of file
but no errors, though I imagine that's because it's a blank project to begin with. 
Here is the code for that script:
function testBuild() {
    var saveMe = new File("//server/job/comp/dev/work/test/shot/file_test.aep");
    app.project.save(saveMe);
We are using a slightly modified version of commandLineRenderer.jsx that allows extra flags to run pre-render scripts and submit without rendering.  I merged our custom edits with the version that ships with CS5.5 to ensure continuity.  Again, the script works in CS4 (even w/ the updated custom CS5.5 version of the commandLineRenderer.jsx).
Here's the command that runs on the farm:
aerender -s 1 -e 1  -norender -script //server/job/bin/dev/testBuild.jsx -command "testBuild()"  2>&1
the -norender -script and -command flags were things we added to commandLineRenderer.jsx, -norender indicates not to render the project, -script gives the script to load and -command the command to run.
The issue seems directly related to saving using aerender.exe in CS5.5 since everyting works correctly in CS4 and in the CS5.5 UI
We are running Windows 7 64-bit.
Thanks for any help you can provide!

Hi Johny,
I forgot to come back to this thread, sorry.
So it seems that the save file in noui batch do not complete his job, in fact, when you save your file in aepx (xml file) you could see the change between a NOUI file and an UI file, there is 3 lines missing, near the end :
</Fold>
<wsns bdata="XXXX"/>
<wsnm bdata="XXXXXXXX"/>
<string>Standard</string>
<fcid bdata="XXXXX"/>
<LSIf>
If you add those three line in your .aepx (at the right place) you can open your file in Ae without any problem (I do not know what it refers too and you should get your own figures, in place of XXX).
Moreover, I tried too to contact adobe support, but even if you suceed to reach them, they will tell you that the problem come from your script, even if it's quite obvious that the save option for noui do not complete his job.
Hope it will help you and other members,
Best Regards.

Similar Messages

  • Batch file creation for Sap Instance

    Hi Experts,
    We have migrated  some of our Sap Instances from Hyper-v to new Servers... Our Hyper-v System  contains six Instances with 00 Instance numbers. At the time we moved it to the newly installed server the Instance numbers got changed. As we have lot of users present in our system we dont want them to intimate about the changing of instance numbers.
    So could anyone help me how to process further inorder that the newly installed server should work as a hyper v system with that instance numbers. We are thinking to create a batch file, so help me what commands we have to add in that batch file. And also tell me how that batch file runs.
    Note : Db - Ms Sql
    Thanks in Advance,
    Krishna.M

    You cannot have multiple systems on a server with the same system number.
    System number is present in the profile, instance directory and also entries in the services file.
    If you want to change the system number then you need to modify all these with the new system number.
    If the users are connecting to the SAP system with the IP and system number then you need to inform them about the change in the system number and IP
    Regards
    RB

  • Ff67 batch file creation issue in ECC6

    hi guru,
    Recently our system has been updated from version ECC 5 to ECC6 7.4
    we are using z program to upload data in  FF67 to create manual bank statement after uploading data
    system create batch session in sm35 , program is working fine in ECC5 ,but in ECC6  program is not able to
    create batch session ,we are not getting any error after running BDC program,we have check the setting in
    specification tab it is set to 2. we have also check the authorization ,there is no authorization problem.

    Hi,
    Were you able to solve your problem. If so please could you post your solution here as this may assist others who have the same error.

  • BCM , batch ID creation Problem,

    Hi ,
    I have a problem in creating the batch ID for payment run for a particular company code:
    Scenario is as follows:
    1. F110 and payment run- success
    2.FBPM1, creating the merge date and merge ID but its not creating the Batch ID.
    3.After FBPM1 , batch job created through program RBNK_PAYM_GRP_N_BATCH is showing status as success.
    please advise how to solve the above the problem, here what I want  is to see the Batch ID in BNK_MONI or BNK_APP
    Thanks in Advance,
    Madhav

    Hi
    Whether all the configuration for BCM is in place?
    If yes, check in BNK_MONIP for the status of the F110 run date and ID... Check if Merge Date and Merge ID is displayed.
    Also check in SLG1 and SM37 for any error logs.
    Let me know based on the above issues.
    Regards
    Srini

  • File creation problems

    Hi,
    I'm pretty new at writing extensions so I'm quite certain my
    problem is a mistake on my part.
    I've written a piece of code that takes a data file and
    formats it into a table and writes the table to a new file (the
    client doesn't want to use templates, that's why it's done this
    way).
    The data file is formatted with the first line as the page
    title, the second line has the column names and the rest is the
    data. The data if formatted with ";"
    The function doStuff calls the fixTag function.
    Whenever I run this, the contents of the data file (opened
    with fh = dreamweaver.openDocument(theFile); in the fixTag
    function) receives the data I try to write to the new file (created
    with var newTableDoc = dreamweaver.createXHTMLDocument(); in the
    doStuff function).
    What am I doing wrong here. I've tried using
    dreamweaver.releaseDocument to release the data file, but it
    doesn't help. I've tried creating the new file with
    dreamweaver.getNewDocumentDOM but can't figure out how to then save
    that without running into the same overwrite problem.
    Any help, tips, and the like is greatly appreciated.
    Problem code is attached.

    Found the solution. Was my poor coding.
    I just need to have
    dreamweaver.createXHTMLDocument();
    newTableDoc=dreamweaver.getActiveWindow();
    newTableDoc.getElementsByTagName("body")[0].innerHTML =
    rString;
    hope this helps someone else.
    Cheers.

  • Batch File Info problem: (CS3)

    As was the case with CS2, when in bridge adding file info. to multiple files, the data entered within Copyright Notice, Copyright Status and Copyright Info URL is shown as entered and correct when checking back the file info. within Bridge - However, if one of those files is then opened in Photoshop and the file info. is checked, the data entered is either incomplete or simply not being shown.
    This occurs when working working on TIFFS. When working with JPEG it does not.
    Process:
    1) Bridge - Adding file info.
    - Select multiple files.
    - Right click > File info
    - Enter file info. data.
    - Click ok.
    2) Bridge - Checking file info.
    - Select one of the files file info. has been applied to.
    - Right click > File info.
    - Check info. panels for correct data.
    - All appears correct and as entered.
    3) Photoshop - Checking file info.
    - Open one of the files file info. has been applied to.
    - Check file info:
    i) Having chosen Copyrighted as the option within Copyright Status, now appears untouched and defaults to Unknown!!
    ii)Data entered within Copyright Notice appears incomplete, showing only the first sentence and a half. (i.e 22 words, 107 characters (no spaces) 128 characters (with spaces))
    iii)Data entered within Copyright Info URL does not appear.
    I figured this would have been sorted for CS3?!
    For me this is a really major issue, your assistance and a fix are desperately, desperately needed.
    Kind regards
    Will

    I am using Vista, but have no problems with opening File Info on multiple files.

  • Jar file creation problem

    I have create the jar file, but it show the following error mesage since i start to run it.
    Java Virtual Machine Laugcher
    Failed to load the main class manifest attribute from
    E:\j2sdk1.4.2\bin\test.jar
    What the problem for this?
    my manifest.mf file contain the information
    Manifest-Version: 1.0
    Main-Class: mysystem.MainFrame
    note, my directory is javac mysystem/MainFrame.java to run

    Open the jar in WinZip (or any other).
    the mysystem directory should be in the root..

  • Batch file conversion problem

    I'm trying to batch convert a folder of tif files into jpg files using the file>process mulitple dialogue.
    I select the folder and the select convert to jpeg hi quality
    The process starts but stops at each image with the default file type as .psd I change it and continue and it stops at each image in turn.
    What am I doing wrong?
    Cheers
    Garin

    Are your tif files 16 bits/channel? Open one of the tif files and look at the top
    of the tab.
    MTSTUNER

  • XML File Creation Problem in FTP Server

    Hi.. Experts
    My Internal Table is as follows
    Types: Begin of ty_xmlfile,
             xmlline(60000)        type C,
           End of ty_xmlfile.
    Data: it_xmlfile type standard table of ty_xmlfile,
            wa_xmlfile type ty_xmlfile.
    When I download the file to my desktop using  GUI_DOWNLOAD. It works fine
    CALL FUNCTION 'GUI_DOWNLOAD'
              EXPORTING
                BIN_FILESIZE = lv_size
                FILENAME     = lv_file_name
                FILETYPE     = 'ASC'
              TABLES
                DATA_TAB     = it_xmlfile
              EXCEPTIONS
                OTHERS       = 10.
            IF SY-SUBRC <> 0.
              MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
    In the debug mode when I download the internal table(IT_XMLFILE) into an excel file it doesn't open and it says tag is missinig(/basic_material_text) and also when I create the file in Application Server and transfer it to FTP Server it doesn't open there..and also in debug mode I find the length until  DIMENSION AN.. for that row when I double click on that line in debug mode it shows all the text until </baisc_material_Text>
    <basic_material_text>4.500 +.000/-.010 O.D. X 213.0&quot; LG.(F)                      (A)ASTM A276 CONDITION &quot;A&quot; 317LTYPICAL MILL CERTS REQ&apos;D.DIMENSION REFERENCE:(A) = ALLOWANCE IS INCLUDED FOR MACHINING(F) = THIS IS A FINISHED DIMENSION AN*
    The above statement is incomplete when the file is open in FTP Server.
    But when the file is created on to my desktop. It displays all the text....
    <basic_material_text>4.500 +.000/-.010 O.D. X 213.0" LG.(F) (A)ASTM A276 CONDITION "A" 317LTYPICAL MILL CERTS REQ'D.DIMENSION REFERENCE:(A) = ALLOWANCE IS INCLUDED FOR MACHINING(F) = THIS IS A FINISHED DIMENSION AND WILL BE USED AS RECEIVED(T) = TO FINISH TO THIS DIMENSION FOR FORGING AND BILLET MATERIAL ONLYVENDOR TO SUPPLY THE FOLLOWING ENGINEERING/QUALITY ASSURANCE DATATYPICAL MILL TEST CERTIFICATES/CERTIFICATES MUST ACCOMPANY THE MATERIAL.* COPIES REQUIRED:(2)ALL CERTIFICATES MUST HAVE LIGHTNIN PART NO.CLEARLY MARKED ON THEM.* COPIES REQUIRED:(2)</basic_material_text> *
    I could not understand why it takes only until DIMENSION AN
    Any suggestions would be very helpful...
    Thanks,
    Chaitanya
    -Points will be awarded for helpful answers.

    Hi...
    I think each XML Line will be of length 256. So I have to split the String into 256 of each Line.
    XML DOM Processing in ABAP part I -  Convert an ABAP table into XML file using SAP DOM Approach.
    Hope  it works out....I will try for that and Close the Post...
    Thanks,
    chaitanya K

  • Change default location for file creation in CS5

    Our Users do not have permission to write tio th local hard disk by default some of the application are trying to create folders in user\user Profile\Adobe\....... How cam ye change this defauly location to the users home drive where they can create folders

    Adjust your group policies and rewire your folders properly using this stuff rather than just mindlesssly blocking access to folders on the file system level.
    Mylenium

  • Pass tablespace(s) as a parameter to RMAN using batch file (windows2000)

    I want to make a backup of one or more than one tablespaces.
    For Example:
    Backup tablespace USERS,TOOLS;
    Backup tablespace USERS;
    In this regards I am using windows batch file. Below you find the code of batch file which I am using to perform this operation (windows 2000)
    Batch file (c:\rman.cmd)
    set tbs1=%1
    set tbs2=,%2
    if exist tbs1 == goto usage
    if exist tbs2 == goto usage
    echo BACKUP tablespace %tbs1% %tbs2% ; > c:\temp\tbs.rman
    rman TARGET / @ c:\temp\tbs.rman
    Problem
    I run this batch file on command line .
    When I issue this command its ok and backed up both the tablespaces.
    Host @c:\rman.cmd USERS,TOOLS
    But when I want to backup only one tablespace and issue the command like that:
    Host @c:\rman.cmd USERS
    It gave the following error
    BACKUP tablespace users , ;
    Found comma after first tablespace.
    Point of focus
    How to get rid of the comma after first tablespace on run time, when I want to backup only one tablespace.
    BACKUP tablespace users , ;
    How to avoid that comma on run time when I only want to make a backup of single tablespace.
    Please check this matter it is only the batch file side problem.
    With Best Regards
    Fawad Ahmed

    I am not expert is DOS but I think you can fix this with
    a simple programming logic elements in the script.
    You have 2 cases:
    1 case ) When you have only one parameter
    2 case ) When you have more or equal than two parameters
    if exist tbs1 == goto mark1
    if exist tbs2 == goto mark2
    mark2:
    echo BACKUP tablespace %tbs1% %tbs2% ; > c:\temp\tbs.rman
    goto end
    mark1:
    echo BACKUP tablespace %tbs1% ; > c:\temp\tbs.rman
    goto end
    end:
    rman TARGET / @ c:\temp\tbs.rman
    This can be one the case for 1 or 2 parameters . If
    you think to pass more parameters you have to use
    another logic.
    I hope this can help you!
    Joel P�rez

  • Batch file naming in Photoshop 6.0

    I have tried every which way I can to rename photos I have scanned in using the Automate Batch process. I have used the batch to perform other tasks, but I am having no luck with renaming using the year, a 3 digit number (to keep the photos in order) and then the extension (Tiff). I downloaded the update which was supposed to take care of a problem they were having with the batch file naming problem, but I am still having no success. Please, any input will be appreciated.

    I assume you're asking about Elements. That forum is down the hall...two
    doors on the left.
    Bob

  • Execute java class from a batch file called from runtime.exec

    Hi.
    I don´t know if this question fits here.
    I wan´t to execute a batch file (on Win XP) with runtime.exec. That batch file will execute another java program.
    I have the following code:
    Resolutor.java
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    public class Resolutor {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              Runtime r = Runtime.getRuntime();
              //String[] command = { "cmd.exe", "/C",".\\lanzar.bat .\\ .\\ 001.res:001.dtt" };
              String[] command = { "cmd.exe", "/C",".\\tarea\\lanzar.bat " + args[0] + " " + args[1] + " " + args[2]};
              try {
                   //Process proceso = Runtime.getRuntime().exec("lanzar.bat");
                   Process proceso = Runtime.getRuntime().exec(command);
                   InputStream stderr = proceso.getErrorStream();
                InputStreamReader isr = new InputStreamReader(stderr);
                BufferedReader br = new BufferedReader(isr);
                String line = null;
                System.out.println("<ERROR>");
                while ( (line = br.readLine()) != null)
                    System.out.println(line);
                System.out.println("</ERROR>");
                   int exitVal = proceso.waitFor();
                   System.out.println("EXITVAL: " + exitVal);
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (InterruptedException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    }lanzar.bat
    java Lanzador %1 %2 %3Lanzador.java
    import java.util.Vector;
    public class Lanzador {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              Repetitiva rpt=new Repetitiva();
              String rutaFicheros=args[0];
              String rutaResultado=args[1];
              String[] ficheros=args[2].split(":");
              Vector<String> ficheroDatos=new Vector<String>();
              for(int i=0;i<ficheros.length;i++){
                   ficheroDatos.add(ficheros);
                   System.out.println(ficheros[i]);
              System.out.println("RUTA DE FICHEROS: " + rutaFicheros);
              System.out.println("RUTA DE RESULTADOS: " + rutaResultado);
              System.out.println("CALCULAR");
              rpt.setRepetitiva(ficheroDatos, rutaFicheros, rutaResultado);
              rpt.calcular();
    }I´ve got Resolutor.class in /res and the other two files (and the rest of the files for running) in /res/tarea.
    If I execute /res/tarea/lanzar.bat from the command line everything works fine, it calls java and runs lanzador without problem.
    The problem comes when I try to execute the batch file via Resolutor.class. It executes the batch file without problem, but it throws a *java.lang.NoClassDefFoundError: Lanzador* when launching the new java application.
    Any ideas of how can I solve that problem. (It must do it via batch file).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Well, I tried putting in the bat file java -classpath .\tarea Lanzador %1 %2 %3 and didn´t work.
    I ve tried the bat modification, and the directory in x.txt is k:\res instead of k:\res\tarea.
    I´ve tried to modifiy it to java .\tarea\Lanzador and didn´t work so I have put a cd like the following and it appears to work.
    cd tarea
    java Lanzador %1 %2 %3Thanks for the replies.

  • File Info problems in Photoshop CC & CS5.1 on OS X 10.8

    I have recently upgraded my Macs, running OS X Mountain Lion, from Photoshop CS5.1 to Photoshop CC for two reasons:
    1. Because it most the most cost efficeint way to obtain the latest Camera Raw plugins that are no longer supported in CS5.1
    2. Because I began experiencing issues on two Macs where initially only in Bridge, was I no longer able to input any File Info dialogue.
    I make extensive use of File Info templates, which are then applied to batches of files in Bridge before individual files, or groups of files requiring the identical metadata are modified.
    After a time, once the overall batch of File Info templates had been applied to files I discovered that I was unable to edit them further. Even after Repairing Permissions in Disk Utility it usually took a reboot to fix the problem, although the problem was always solved.
    However there came a point a few weeks ago when I was unable write any further metadata to File Info, in Bridge or Photoshop, no matter what I did. Again this issue happened on two Macs so I'm guessing that it is not a machine issue.
    As I needed the latest Camera RAW plugins as well I decided to upgrade to Photoshop CC, which I have to say I have been very pleased with - until now. The dreaded File Info problem has now occurred again, although currently only in Photoshop, not Bridge. When I try to add or modify any information in File Info in Photoshop CC the dialogue box just closes!
    Clearly it is not just a Photoshop CC issue although I never had the problem prior to CS5.1 and I leapfrogged CS6 and I find it hard to believe that it is a machine issue. Could it be a conflict with the OS or with Extensis Suitcase Fusion 4?
    Has anyone else encountered this problem?

    Curt, Thanks for your rapid response.
    To answer your questions. I thought that, initially, the problem might be a permissions problem but it occurs on both boot drives and also when the same files are copied to Firewire external drives - on both Macs, but different external drives in each case. I followed your link but there was nothing there that I didn't already know or hadn't already tried, thanks.
    One computer is a 24" iMac and the other is a 15" MacBook Pro. I've also tried to replicate the problem on four PowerMac G5s running OS X 10.5.8 with Photoshop/Bridge CS4, with the same drives plugged in, but have experienced no problems at all. It's quite bizarre.
    Also, looking deeper into the conundrum, I find that I can't input any numbers, only letters! Using the keyboard all numbers, whether on the main or auxiliary keypads, cause the File Info dialogue box to either jump to a new tab or close. Using Shift on the numbered keys works perfectly however!
    It just goes on getting better...

  • Copy CS5 batch files to CS6

    Hi:
    Am in the process of upgrading from CS5 Design Standard to CS6 DS. I had no problem copying my custom InDesign workspaces from the earlier version to the new version.
    What I'm having a hard time with, is how can I get the batch files I use in Photoshop CS5 to copy over to the current version? I distinctly remember doing this when I moved from CS4 to CS5, but for the life of me, I can't remember how I did it, and I've been looking all over the Internet with no success.
    I'm on OS 10.6.8 (I know it's old, but everything works beautifully, and I'm not gonna move to ML until I absolutely have to…)
    Thanks much for any insight you can give me.

    You save actions by using the flyout menu in the top right corner of the actions palette. That's the only way to migrate them safely from version to version.
    Mylenium

Maybe you are looking for

  • When I add to my iTouch playlist is doesn't show up in iTunes

    I like to manually manage my music so I dont use the sync option and never have, but for about a year now when I add a song to my playlist on my iTouch and connect it to iTunes it doesn't show up under "on this iPod". It use to bout a year ago, but a

  • Can't set parameters for embedded audio files using css

    I'm embedding numerous audio files in Dreamweaver CS3 using the <embed> tag. I'm using CSS to control the box size and other attributes relating to how the file displays on the page, but I'd also like to set the parameter "autoplay" to false, and con

  • How do I keep the Spry menu fixed to the bottom of the header div?

    I have created a horizontal Spry menu bar using Dreamweaver CS4 but the problem is, I can't figure out how to make it be in the right position at the bottom of the header div. In Design View it is too far below the header background graphic, in Live

  • Error code after itunes update -42404

    error code after itunes update -42404 cannot connect to ipad it is telling me to restore ipad, and cannot connect to store... Message was edited by: CFC.Steve

  • Asset description change

    gurus, In as02 transaction description field is having length of char50 .which will appear in f4 help of as02 asset field. here this value come from mcoa1 field having length of char30 only. so what ever i enter in this description filed is not commi