Error in processing

idor
2012-03-21
2013-05-01
  • idor
    idor
    2012-03-21

    Thanks for the amazing script!
    I use csx 1_4_5 with photoshop cs4  and windows 7. It has been running for a long time  without any issues. recently It is stuck . i am getting a window in photoshop saying Error in processing: required value is missing. look in the csx logfile for more details: appData/roaming/xtools/contact sheet x.log Report failures (with the log file here: http/sourceforge.net/tracker/?func=add&group_id=173281 sat id 864854
    Any idea how to proceed?
    this script for me is a life saver! I am a photographer and use it to create a proof sheet. It would take me forever to do myself
    what this script used to do for me in 5 minutes!
    Thank you!

     
  • xbytor
    xbytor
    2012-03-21

    I can't locate the log file. Can you send me a direct link or the file itself?

     
  • idor
    idor
    2012-03-22

    Thank you!!!

    I did try to unistall and install photoshop again. i also tried the latest version 1_5  but it has'nt solved the problem

    2012-03-22T16:02:08 - Begin Processing
    2012-03-22T16:02:08 - _version: v1.4.5
    _revision: $Revision: 1.125 $
    _appName: Adobe Photoshop
    _appVersion: 11.0.2
    _os: Windows Vista 6.1 Service Pack 1
    imageSource: Folder
    folder: D:\work\alloete-eastlake\test
    recurse: true
    spanFolders: false
    background: Foreground
    templateFile: CSXTemplate-Default.psd
    docUnits: Inch
    docWidth: 7
    docHeight: 5
    resolution: 300
    resUnits: PpIn
    mode: RGB
    colorProfile: Default
    marginsEnabled: false
    leftMargin: 0
    rightMargin: 0
    topMargin: 0
    bottomMargin: 0
    alternateMargins: true
    acrossFirst: true
    bestFit: false
    rotate: CW
    autoFill: false
    valign: Bottom
    halign: Center
    rowCount: 2
    columnCount: 3
    useAutoSpacing: true
    spacingUnits: px
    vertical: 5
    horizontal: 5
    thumbStyle: None
    squareCell: false
    caption: true
    captionFilename: true
    captionFormat: %f.%e
    noExtensions: true
    font: ArialNarrow
    fontSize: 14
    fontColor: Background
    captionStyle: None
    overlayCaption: true
    capAlignment: Center
    capVAlignment: Bottom
    keepOpen: false
    saveSheet: true
    outputFolder: D:\work\alloete-eastlake\test2
    flatten: true
    flattenCells: true
    nextPage: true
    nextFile: true
    _pageStart: 1
    _pagePad: 2
    _outputStart: 1
    _outputPad: 4
    outputPrefix: sheet_
    fileNameFormat: sheet-#
    outputFormat: jpg
    fileSaveType: jpg
    accumulateKeywords: true
    enableTextSubstitution: true
    autospaceFactor: 1
    hiperfMode: 1
    hp2submode: thumbnail
    hp3submode: PreviewImage
    exiftool: exiftool
    dateFormat: %Y-%m-%d
    gpsFormat: %d° %d' %.2f"
    metadataSubstitution: true
    forceRecording: true
    alphaLayerPinRegister: false
    splitCSXLayerOnFlatten: false
    xpSort: false
    embedSmartObjects: false
    postProcessAction:
    fixMaskPhantomPixels: true
    tabbed: false
    watermarkMode: false
    bridgeEnabled: true
    uiX: 322
    uiY: 145
    uiConfirmBridgeForMetadata: uiModeOnly
    _formatPanel: true
    _fileNamingFormat: true
    autoscaleCaptions: true
    logEnabled: true
    lastPanel: Source
    Message: Settings for CSX
    noUI: false
    _saveDocumentType: SaveDocumentType.JPEG
    jpgQuality: 12
    jpgEmbedColorProfile: false
    jpgFormat: Standard
    jpgConvertToSRGB: true
    _saveOpts:
    toString:
    typename: ContactSheetConfig
    rationalize:
    toDescriptor:
    fromDescriptor:

    2012-03-22T16:02:08 - Rationalizing options
    2012-03-22T16:02:08 - Options:
    _version: v1.4.5
    _revision: $Revision: 1.125 $
    _appName: Adobe Photoshop
    _appVersion: 11.0.2
    _os: Windows Vista 6.1 Service Pack 1
    imageSource: Folder
    folder: /d/work/alloete-eastlake/test
    recurse: true
    spanFolders: false
    background: Foreground
    templateFile: /d/contact-sheet-last/Contact%20Sheet/csx/templates/CSXTemplate-Default.psd
    docUnits: Inch
    docWidth: 2100
    docHeight: 1500
    resolution: 300
    resUnits: PpIn
    mode: NewDocumentMode.RGB
    colorProfile: Default
    marginsEnabled: false
    leftMargin: 0
    rightMargin: 0
    topMargin: 0
    bottomMargin: 0
    alternateMargins: true
    acrossFirst: true
    bestFit: false
    rotate: CW
    autoFill: false
    valign: Bottom
    halign: Center
    rowCount: 2
    columnCount: 3
    useAutoSpacing: true
    spacingUnits: px
    vertical: 7
    horizontal: 7
    thumbStyle: None
    squareCell: false
    caption: true
    captionFilename: true
    captionFormat: %f
    noExtensions: true
    font: ArialNarrow
    fontSize: 14
    fontColor: Background
    captionStyle: None
    overlayCaption: true
    capAlignment: Center
    capVAlignment: Bottom
    keepOpen: false
    saveSheet: true
    outputFolder: /d/work/alloete-eastlake/test2
    flatten: true
    flattenCells: true
    nextPage: true
    nextFile: true
    _pageStart: 1
    _pagePad: 2
    _outputStart: 1
    _outputPad: 4
    outputPrefix: sheet_
    fileNameFormat: sheet-#
    outputFormat: jpg
    fileSaveType: jpg
    accumulateKeywords: true
    enableTextSubstitution: true
    autospaceFactor: 1
    hiperfMode: 1
    hp2submode: thumbnail
    hp3submode: PreviewImage
    exiftool: exiftool
    dateFormat: %Y-%m-%d
    gpsFormat: %d° %d' %.2f"
    metadataSubstitution: true
    forceRecording: true
    alphaLayerPinRegister: false
    splitCSXLayerOnFlatten: false
    xpSort: false
    embedSmartObjects: false
    postProcessAction:
    fixMaskPhantomPixels: true
    tabbed: false
    watermarkMode: 0
    bridgeEnabled: true
    uiX: 322
    uiY: 145
    uiConfirmBridgeForMetadata: uiModeOnly
    _formatPanel: true
    _fileNamingFormat: true
    autoscaleCaptions: true
    logEnabled: true
    lastPanel: Source
    Message: Settings for CSX
    noUI: false
    _saveDocumentType: SaveDocumentType.JPEG
    jpgQuality: 12
    jpgEmbedColorProfile: false
    jpgFormat: FormatOptions.STANDARDBASELINE
    jpgConvertToSRGB: true
    _saveOpts:
    _colorProfileName: undefined
    loadMetadataFromBridge: true
    _width: 7
    _height: 5
    frameWidth: 2100
    frameHeight: 1500
    fontSizePX: 58
    toString:
    typename: ContactSheetConfig
    rationalize:
    toDescriptor:
    fromDescriptor:

    2012-03-22T16:02:08 - Creating sheet 1 with files:
    /d/work/alloete-eastlake/test/aasikum%20babies/archarjee%20dhrubo/_MG_0791.JPG
    /d/work/alloete-eastlake/test/aasikum%20babies/archarjee%20dhrubo/_MG_0795.JPG
    /d/work/alloete-eastlake/test/aasikum%20babies/archarjee%20dhrubo/_MG_0799.JPG
    /d/work/alloete-eastlake/test/aasikum%20babies/archarjee%20dhrubo/_MG_0807.JPG
    /d/work/alloete-eastlake/test/aasikum%20babies/archarjee%20dhrubo/_MG_0809.JPG
    /d/work/alloete-eastlake/test/aasikum%20babies/archarjee%20dhrubo/_MG_0816.JPG
    2012-03-22T16:02:09 - Processing: D:\work\alloete-eastlake\test\aasikum babies\archarjee dhrubo\_MG_0791.JPG
    2012-03-22T16:02:09 - Inserting image _MG_0791.JPG at 7,7,693,681.5
    2012-03-22T16:02:12 - Inserting caption _MG_0791 at 0,623.5,700,681.5
    2012-03-22T16:02:13 -
    ==============Exception==============
       Message: Required value is missing
       File: /d/contact-sheet-last/Contact Sheet/CSX-1_4_5.jsx
       Line: 23931
       Error Name: Error
       Error Number: 1238
       Line: (23922)      layer.kind = LayerKind.TEXT;
       Line: (23923)      layer.name = decodeURI(file.name);
       Line: (23924)   
       Line: (23925)      var titem = layer.textItem;
       Line: (23926)      if (csOpts.autoscaleCaptions) {
       Line: (23927)        titem.minimumGlyphScaling = 50;
       Line: (23928)        titem.desiredGlyphScaling = 100;
       Line: (23929)      }
       Line: (23930)      titem.contents = caption;
       Line: (23931) >>   titem.color = self.getSymbolicColor(csOpts.fontColor);
       Line: (23932)      titem.size = csOpts.fontSizePX;
       Line: (23933)      titem.font = csOpts.font;
       Line: (23934)      titem.kind = TextType.PARAGRAPHTEXT;  // XXX ???
       Line: (23935)   
       Line: (23936)      if (csOpts.autoscaleCaptions) {
       Line: (23937)        var twidth = Math.round(titem.width);
       Line: (23938)        if (twidth > (bnds-bnds)) { // Make text fit in box
       Line: (23939)          if (((bnds-bnds) / twidth) > 0.5) {
       Line: (23940)            titem.desiredGlyphScaling = (100 * (bnds-bnds)) / twidth;
       Line: (23941)          } else {

    main()
    _main()
    runProcess()
    process(,undefined)
    process()
    handleError(,"Error in processing:"…)
    logException()
    exceptionMessage()

    Log File:C:\Users\USER\AppData\Roaming\xtools\ContactSheetX.log
    ==============End Exception==============

    2012-03-22T16:02:15 - Error in saving settings: TypeError: undefined is not an object@24913
    2012-03-22T16:02:15 - CSX Shutting down.

     
  • xbytor
    xbytor
    2012-03-23

    It is failing because you have 'Background' selected for the caption font color. I have been able to reproduce it on my machine and will try to get a fix to you in a couple of days.

     
  • idor
    idor
    2012-03-23

    THANK YOU SO MUCH!!!

    Please dont bother with the color of the caption as I dont care about that. I was not aware that a 'background 'color was selected. As long as i can select a background color for the document then all is good. I run a test here and it is working perfectly. Thank you again. your script and work is highly appreciated.

    Idor -Australia