Data360 Analyze

Welcome to the Data360 Analyze community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Here are some useful links where you can find more information:

Product Announcements  Product Documentation  Ideas Portal

Discussions

Members

Resources

Events

 View Only
  • 1.  Exporting all Dataflows

    Posted 10-19-2022 10:51
    Recently one of our servers we have Data3Sixty Analyze installed in started erroring out on one of our daily runs. The dataflow was provided by Infogix developers. It is working fine in several other servers but on this server we keep getting the following error:

     Execution ErrorOSError: (0, "Couldn't rename file") Error executing "ProcessRecords" at line "11"
     
    Code on Process Records: (erroring out on os.rename(old,new) )

    out1 += in1

    folder="{{^OutputFolder^}}"+in1.DataflowPath
    try:
    os.makedirs(folder)
    except:
    pass

    old=in1.FileName
    new=folder+"/"+in1.LNA_FileName
    os.rename(old,new)
    os.rena

    out1.Status="Updated"
    try:
    r=os.stat(new)
    except:
    out1.Status="New"

    filetime=(in1.DataflowModified-datetime.datetime(1970,1,1)).total_seconds()
    os.utime(new, (filetime,filetime))
    out1.LNA_Filename = new

    I have uploaded .lna file into our folder in sftp.infogix.com/sftp.infogix.com under Phillip Guardiola / Temp / D3SA_Export_All_Dataflows - 19 Oct 2022 (1).lna

    Note: I exported .lna from another server that dataflow is running successfully and imported into server throwing error and configuring correctly but it still throws error.

    Phillip Guardiola

    ------------------------------
    Felipe Guardiola
    Qwest Services Corporation
    Denver CO
    ------------------------------


  • 2.  RE: Exporting all Dataflows

    Employee
    Posted 01-04-2023 05:33
    This issue was handled as a support case. For the benefit of other users:

    The underlying issue was that one of the sub-folders in the output directory had been deleted, which caused the rename operation to fail. Wrapping the rename operation in a try - except operation will enable you to track down the missing folder(s).

    ------------------------------
    Adrian Williams
    Precisely Software Inc.
    ------------------------------