Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Unable to recognize OLE stream for reading .xls file.

I am getting this error while loading .xls file from Talend. i am able to open after convert the file using Excel.
Please any solution.
 connecting to socket on port 3778
connected
Exception in component tJava_1
jxl.read.biff.BiffException: Unable to recognize OLE stream
at jxl.read.biff.CompoundFile.<init>(CompoundFile.java:116)
at jxl.read.biff.File.<init>(File.java:127)
at jxl.Workbook.getWorkbook(Workbook.java:221)
at jxl.Workbook.getWorkbook(Workbook.java:198)
disconnected
Job Tester ended at 16:21 03/03/2013.
Labels (3)
18 Replies
Anonymous
Not applicable
Author

Hi,
It is welcome that open a JIRA issue in the Talend DI project of the JIRA bugtracker for the new required feature.
Best regards
Sabrina
_AnonymousUser
Specialist III
Specialist III

@umeshrakhe:
Even i got the same issue today. My friend told, that its not an excle file. its just named as .xls or .xlsx...
it doesn't mean its excel file. Still u will be able to open the source file with microsoft excel app.
But talend cannot open it with tfileinputexcel component.
Try opening the source file with notepad... it may be tab delimited. so u can try to open it with tinputfiledelimited component.
Alternately you can also convert the input file as excel by opening and saving it as "excel work book" instead of "unicode text" format.
THANKS,
 abhicool666@gmail.com
_AnonymousUser
Specialist III
Specialist III

Hi
I am facing this issue as well (Unable to recognize OLE stream).
i am using csv file as input and i am using the fileinputexcel whether it will work or not??
su66
Contributor
Contributor

Hi, I faced same issue today. I tried to open my .xls file in notepad and it opened as a text file with tab delimited columns. I used tfileinputdelimited instead of tfileinputexcel and it worked.

Anonymous
Not applicable
Author

Hello su66,

Thanks for sharing your solution here.

Best regards

Sabrina

nischal
Contributor II
Contributor II

Hello Talend team,

We are also getting the same issue while reading the data from .xls file. Following is the error message.

 

Exception in component tFileInputExcel_1 (tXLS2STGEMPTBL)
jxl.read.biff.BiffException: Unable to recognize OLE stream
at jxl.read.biff.CompoundFile.<init>(CompoundFile.java:116)
at jxl.read.biff.File.<init>(File.java:127)
at jxl.Workbook.getWorkbook(Workbook.java:268)
at sandbox.txls2stgemptbl_0_1.tXLS2STGEMPTBL.tFileInputExcel_1Process(tXLS2STGEMPTBL.java:1472)
at sandbox.txls2stgemptbl_0_1.tXLS2STGEMPTBL.runJobInTOS(tXLS2STGEMPTBL.java:2388)
at sandbox.txls2stgemptbl_0_1.tXLS2STGEMPTBL.main(tXLS2STGEMPTBL.java:2214)

 

we are attaching the screen shot for the job and error message.

Kindly do needful for the same.


XLS_Reading_Error_TOS.png
manodwhb
Champion II
Champion II

@nischal,can you un tick Read excel2007 file format(xlsx) in Basic settings of tFileInputExcel?

nischal
Contributor II
Contributor II

Thanks All for your reply, my issue has resolved and there is a .XLS file issue not for the properties in the tFileInputExcel.

MidLyC
Contributor
Contributor

Hola

Yo tenia el mismo problema. Era un archivo oculto.

Al borrarlo se solucionó