• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » tFileInputDelimited / File Not Found

#1 2008-05-16 23:41:37

SMaz
Member
Registered: 2008-04-21
Posts: 186
Website

tFileInputDelimited / File Not Found

tFileInputDelimited throws a Java exception if the filename specified does not exist.
This happens regardless of whether the Die on Error box is checked.

I thought that if the Die on Error box was unchecked, no Java exception would occur. Instead, I would think it would just follow the path for On Component Error (which in my case simply is a tWarn to log a message).

It appears to me that the Die On Error check box has no effect on the functioning of the component.

See screen shots...


LOGGED MESSAGE:
2008-05-16 16:25:53|1hu3dF|1hu3dF|1hu3dF|SJMTESTS|tst|Default|6|Java Exception|tWarn_1|\tmp\hdc_test.txt (The system cannot find the file specified)|1


Uploaded Images

Last edited by SMaz (2008-05-16 23:45:19)

Offline

#2 2008-05-17 10:04:59

cantoine
Talend team
Registered: 2006-09-19
Posts: 715
Website

Re: tFileInputDelimited / File Not Found

Hi SMaz,

What's your operating System (Windows or Linux) ?

In all cases you need to specify your filepath with / character.

For example under Windows : C:/myfolder/myfile.txt
Or under linux : /myfolder/myfile.txt

Thanks.

Best regards;

Offline

#3 2008-05-19 15:53:32

SMaz
Member
Registered: 2008-04-21
Posts: 186
Website

Re: tFileInputDelimited / File Not Found

Flows are developed in Windows and deployed to AIX. 

I always use the "/" character for paths & filenames, so it's not that.


Uploaded Images

Last edited by SMaz (2008-05-19 15:58:41)

Offline

#4 2008-05-24 14:04:30

mhirt
Talend team
Registered: 2006-09-19
Posts: 1633

Re: tFileInputDelimited / File Not Found

This questions is not about your OS

Like for all others components, the Die On Error checkbox is only about flow errors
Missing data sources (file, or db) is a big problem and is not releated to die on error.

You can use a tFileList or tWaitForFile to work only if you file s available.
Regards,

Offline

#5 2008-05-27 15:52:07

SMaz
Member
Registered: 2008-04-21
Posts: 186
Website

Re: tFileInputDelimited / File Not Found

Thanks!  I was wondering about tFileWait. It worked fine.

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » tFileInputDelimited / File Not Found

Board footer

Powered by FluxBB