• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Unresolved Compilation Problem

#1 2008-02-19 15:57:37

cagey76
Member
Registered: 2008-02-19
Posts: 52

Unresolved Compilation Problem

Hi, my first day of trialing the Open Studio and like what I see so far.

Unfortunately though I am having a 'unresolved compilation problem'.  The standard answer seems to be to look at the generated code view,  this doesn't help too much.

The problem is with using a tFileFetch,   any ideas ?

Cheers,

---------------------------------------------------------------------------------------------------------------
Starting job PinnRead at 14:51 19/02/2008.
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
    pinn_read cannot be resolved

    at talenddemosjava.pinnread.PinnRead.tFileFetch_2Process(PinnRead.java:143)
    at talenddemosjava.pinnread.PinnRead.runJobInTOS(PinnRead.java:967)
    at talenddemosjava.pinnread.PinnRead.main(PinnRead.java:886)
Job PinnRead ended at 14:51 19/02/2008. [exit code=1]
---------------------------------------------------------------------------------------------------------------

Last edited by cagey76 (2008-02-19 15:59:11)

Offline

#2 2008-02-19 18:07:37

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

Re: Unresolved Compilation Problem

Hello,

Can you share details on your job configuration ?
and particularly the tFileFetch properties and schema ?

Regards,

Offline

#3 2008-02-22 17:11:53

cagey76
Member
Registered: 2008-02-19
Posts: 52

Re: Unresolved Compilation Problem

Hi,

I am using a  tFileFetch into tFileInputRegex into tFileOutputDelimited   as per the instruction manuals example.  I do not have any specific job configuration settings.   Ideally I am reading the xml feed and landing to a file for onward use by other graphs.

The FileFetch basic settings are;

"http://xml.pinnaclesports.com/pinnacleFeed.asp?sportType=Basketball&sportsubtype=NBA&contest=no"
"file:C:/Talend"
pinn_read

the FileInputRegex basic setting are;

"C:/Talend/pinn_read"
"\n"
"^"+
"([a-zA-Z]{3}\\s[0-9]{2}\\s[0-9]{2}:[0-9]{2}:[0-9]{2})"+
"\\s+"+
"([a-zA-Z0-9]+\\.[a-zA-Z0-9]+\\.[a-zA-Z0-9]+)"+
"\\s+logger:\\s"+
"([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3})"+
".*"

Thanks.

Offline

#4 2008-02-22 22:55:44

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

Re: Unresolved Compilation Problem

Hello

Destination FileName (i.e pinn_read) should also be sourrounded with double quotes ("pinn_read").

Regards,

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Unresolved Compilation Problem

Board footer

Powered by FluxBB