mff-uk / odcs-dpus

Repository for DPUs (Data processing units) for ETL tool for RDF data
3 stars 2 forks source link

E-HttpDownload File Name Too Long #92

Closed jakubklimek closed 9 years ago

jakubklimek commented 9 years ago

https://cuni-test2.comsode.eea.sk:10443/unifiedviews/#!PipelineEdit/199

Failed to download file from http://www.ctu.cz/ctu-online/vyhledavaci-databaze/evidence-podnikatelu-v-elektronickych-komunikacich-podle-vseobecneho-opravneni.html?orderby=&dir=&date_from=&date_to=&crisis_par141=&crisis_par99=&c_region_id=®ion=&company=&person=&street=&municipality=&ic=&c_network_id=&public_service_id=&private_service_id=&licence_code=&&csv=create-csv&limit=no attemp 8/10

Stack trace:
java.io.FileNotFoundException /opt/working/user/admin/e-HttpDownload/addon/cachedFileDownloader/http%3A%2F%2Fwww.ctu.cz%2Fctu-online%2Fvyhledavaci-databaze%2Fevidence-podnikatelu-v-elektronickych-komunikacich-podle-vseobecneho-opravneni.html%3Forderby%3D%26dir%3D%26date_from%3D%26date_to%3D%26crisis_par141%3D%26crisis_par99%3D%26c_region_id%3D%26region%3D%26company%3D%26person%3D%26street%3D%26municipality%3D%26ic%3D%26c_network_id%3D%26public_service_id%3D%26private_service_id%3D%26licence_code%3D%26%26csv%3Dcreate-csv%26limit%3Dno (File name too long)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.(FileOutputStream.java:221)
   at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:367)
   at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:326)
   at org.apache.commons.io.FileUtils.copyInputStreamToFile(FileUtils.java:1510)
   at org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1461)
   at cz.cuni.mff.xrg.uv.boost.dpu.addon.impl.CachedFileDownloader.get(CachedFileDownloader.java:356)
   at cz.cuni.mff.xrg.uv.boost.dpu.addon.impl.CachedFileDownloader.get(CachedFileDownloader.java:314)
   at cz.cuni.mff.xrg.uv.extractor.httpdownload.HttpDownload.downloadFile(HttpDownload.java:112)
   at cz.cuni.mff.xrg.uv.extractor.httpdownload.HttpDownload.innerExecute(HttpDownload.java:83)
   at cz.cuni.mff.xrg.uv.boost.dpu.advanced.DpuAdvancedBase.execute(DpuAdvancedBase.java:204)
   at cz.cuni.mff.xrg.odcs.backend.execution.dpu.DPUExecutor.executeInstance(DPUExecutor.java:231)
   at cz.cuni.mff.xrg.odcs.backend.execution.dpu.DPUExecutor.execute(DPUExecutor.java:369)
   at cz.cuni.mff.xrg.odcs.backend.execution.dpu.DPUExecutor.run(DPUExecutor.java:451)
   at java.lang.Thread.run(Thread.java:745)