Customer Portal

Passing zip file url into data reader through a import port

Comments 6

  • Avatar
    imriskal
    0
    Comment actions Permalink
    Hi twhitney,

    The URL like the following works ok on my side.
    zip:(ftp://account:password@server/path/file.zip)#file.csv

    In UniversalDataReader, you just have to set File URL to port:$0.last_thursday_filename:source

    Please, be careful about case sensitivity of URL (file.CSV is not the same file as file.csv) and if the aforesaid does not help, please send also your graph. (without any credentials, of course)

    Regarding your idea about "last thursday" dates, I agree it would be a nice feature. Thank you for your feedback. I have started an issue in our bug tracking system, https://bug.javlin.eu/browse/CLO-1727

    Best regards,
  • Avatar
    twhitney
    0
    Comment actions Permalink
    Hi,

    Thank you for your response. The problem is that this is exactly how I have it set up and it doesn't want to work...

    Here is the debug log:

    ERROR [WatchDog] - Graph execution finished with error
    ERROR [WatchDog] - Node BTTITLE finished with status: Component has finished and input port 0 still contains some unread records.
    ERROR [WatchDog] - Node BTTITLE error details:
    INFO [WatchDog] - [Clover] Post-execute phase finalization: 0
    INFO [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
    INFO [WatchDog] - Execution of phase [0] finished with error - elapsed time(sec): 6
    ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
    INFO [WatchDog] - -----------------------** Summary of Phases execution **---------------------
    INFO [WatchDog] - Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
    INFO [WatchDog] - 0 ERROR 6 48887
    INFO [WatchDog] - 1 N/A 0 0
    INFO [WatchDog] - 2 N/A 0 0
    INFO [WatchDog] - 3 N/A 0 0
    INFO [WatchDog] - 4 N/A 0 0
    INFO [WatchDog] - 5 N/A 0 0
    INFO [WatchDog] - ------------------------------** End of Summary **---------------------------
    INFO [WatchDog] - WatchDog thread finished - total execution time: 6 (sec)
    INFO [main] - Freeing graph resources.
    ERROR [main] - Execution of graph failed !
  • Avatar
    imriskal
    0
    Comment actions Permalink
    Hello again,

    I am sorry but I can not solve this issue from the log you sent. I would like to ask you for your graph or at least the whole run log with log level set to DEBUG. You can get it by clicking on Run -> Run Configurations... and setting log level from default INFO to DEBUG. Then run your graph again please and send the log to me.

    Best regards,
  • Avatar
    twhitney
    0
    Comment actions Permalink
    I have attached a simplified version of the graph for you.
  • Avatar
    imriskal
    0
    Comment actions Permalink
    Hi twhitney,

    Your graph seems ok, I can not see anything wrong with it. However, I can not run it because I do not have access to values in your parameters. Please post also the debug log. Thank you.

    Best regards,
  • Avatar
    twhitney
    0
    Comment actions Permalink
    I appear to have found a work-around for this issue.

    As you mentioned, the graph looked fine. The problem, I think, had to do with how many components were running in the same phase. In my graph I am pulling data from about 10 different FTP locations and joining them all together and for some reason the component I was having problems with would not pull in any data. However, if I ran the graph separately without anything else running it would work fine so I changed the phases so that this particular component would run first, then it would pull in all of the others and now it seems to be working properly.

Please sign in to leave a comment.