z0808k / google-refine

Automatically exported from code.google.com/p/google-refine
Other
0 stars 0 forks source link

Refine gets FileNotFound exception on zips with subdirectories downloaded from URLs with a path #600

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Attempting to create a project from this URL 

  http://www.bl.uk/bibliographic/pdfs/basicbnbrdfxml.zip

unpacks things into 

  .import-temp/1344121115816/raw-data/bibliographic/pdfs

with a file record of :

{"location":"basicbnbrdfxml.xml",
"archiveFileName":"basicbnbrdfxml.zip",
"fileName":"basicbnbrdfxml.xml",
"origin":"download",
"format":"text/xml",
"size":21709870}

but then attemps to open .import-temp\1344121115816\basicbnbrdfxml.xml leaving 
out the URL path segments from the local path.

Original issue reported on code.google.com by tfmorris on 4 Aug 2012 at 11:00

GoogleCodeExporter commented 9 years ago

Original comment by tfmorris on 18 Sep 2012 at 3:16

GoogleCodeExporter commented 9 years ago

Original comment by tfmorris on 18 Sep 2012 at 6:34

GoogleCodeExporter commented 9 years ago

Original comment by tfmorris on 22 Sep 2012 at 5:28

GoogleCodeExporter commented 9 years ago
This is due to an incomplete fix for issue 544.  I've reverted the changes from 
r2479 (which also caused introduced the bug in issue 618) and provided a more 
complete fix in r2569.

Original comment by tfmorris on 22 Sep 2012 at 6:09