sooo... hello everyone, how are you all doing? After a brief time away from here, I come back with a huge problem - Excel Input, when set to use Apache POI for XLSX files, can't seem to find files in network. I'm using ${Internal.Transformation.Filename.Directory} and such other variables to set the filename on it - if I'm set on a XLSX file, I get something like this:
Code:
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Error processing row from Excel file [file:////df5008fs201/GECAP/GECAP08_INTEGRACAO_RISCOS/Dados/CAPITAL/DLO/2013/2013-10/DRG 2013-10 2041.xlsx] : org.pentaho.di.core.exception.KettleException: 2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - java.io.FileNotFoundException: file:\df5008fs201\GECAP\GECAP08_INTEGRACAO_RISCOS\Dados\CAPITAL\DLO\2013\2013-10\DRG 2013-10 2041.xlsx
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - file:\df5008fs201\GECAP\GECAP08_INTEGRACAO_RISCOS\Dados\CAPITAL\DLO\2013\2013-10\DRG 2013-10 2041.xlsx
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : org.pentaho.di.core.exception.KettleException:
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - java.io.FileNotFoundException: file:\df5008fs201\GECAP\GECAP08_INTEGRACAO_RISCOS\Dados\CAPITAL\DLO\2013\2013-10\DRG 2013-10 2041.xlsx
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - file:\df5008fs201\GECAP\GECAP08_INTEGRACAO_RISCOS\Dados\CAPITAL\DLO\2013\2013-10\DRG 2013-10 2041.xlsx
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 -
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - at org.pentaho.di.trans.steps.excelinput.poi.PoiWorkbook.<init>(PoiWorkbook.java:78)
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - at org.pentaho.di.trans.steps.excelinput.WorkbookFactory.getWorkbook(WorkbookFactory.java:38)
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - at org.pentaho.di.trans.steps.excelinput.ExcelInput.getRowFromWorkbooks(ExcelInput.java:603)
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - at org.pentaho.di.trans.steps.excelinput.ExcelInput.processRow(ExcelInput.java:471)
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60)
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - at java.lang.Thread.run(Unknown Source)
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - Caused by: java.io.FileNotFoundException: file:\df5008fs201\GECAP\GECAP08_INTEGRACAO_RISCOS\Dados\CAPITAL\DLO\2013\2013-10\DRG 2013-10 2041.xlsx
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:83)
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - at org.pentaho.di.trans.steps.excelinput.poi.PoiWorkbook.<init>(PoiWorkbook.java:70)
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - ... 5 more
2014/01/07 17:15:09 - Input: RWACPAD-DRG.0 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=1)
From the poor knowledge I have on this, it seems POI's parsing the filename's path erroneously - changing \\ to \ and making it not look at the network. I've already tried replacing PDI 5's POI 3.9 with the 3.10 Beta2 but it also didn't work. Any ideas?
Funny thing - on PDI 4.4 and POI 3.8, it works...