Export to GitHub

google-refine - issue #600

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


Posted on Aug 4, 2012 by Swift Bird

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.

Comment #1

Posted on Sep 18, 2012 by Swift Bird

(No comment was entered for this change.)

Comment #2

Posted on Sep 18, 2012 by Swift Bird

(No comment was entered for this change.)

Comment #3

Posted on Sep 22, 2012 by Swift Bird

(No comment was entered for this change.)

Comment #4

Posted on Sep 22, 2012 by Swift Bird

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.

Status: Fixed

Labels:
Priority-Medium Milestone-2.6