locked
Exit code 1 RRS feed

  • Question

  • Hi specialists,

    Currently I met with a problem when submitting a job to run on CCS.

    This job was a python script which process an excel file using the COM interface,key codes are as follows:
    xlApp = win32com.client.Dispatch('Excel.Application')
    xlBook = xlApp.Workbooks.Open(os.path.join(os.getcwd(),filename))
    The application runs succcessfully in one node, but when submitting to run on CCS, It failed with exit code 1, and reporting that" <No COMObject> when openning the file".

    When testing other applications on CCS ,they ran well. But just this one failed.
    Is there something special when using COM interface on CCS? Who can help me with this?
    Thank you very much.
    Best Regards!
    Monday, December 14, 2009 5:53 AM

Answers

  • Hi Pingpingyyy,

    The issue may be related to that your workbook doesn't exist on the compute node, or no access to the workbook from the compute node.

    1) If it doesn't exist on compute nodes, copy your workbook there.
    2) If it already exist on all compute nodes, remotely login to any of the compute node, then run your script there.

    Hope this helps,

    Liwei
    Monday, December 14, 2009 6:45 PM