Open xuanngo2001 opened 8 years ago
It looks like the movies
list is empty. Might need to try re-downloading it.
How to re-downloading it.
?
I re-ran the same command and it showed the same error.
I tried the following:
goim load -db goim.sqlite -download .
Downloading movies to movies.list.gz...
Could not close FTP download: exit status 1
Filesize of movies.list.gz is 0.
For other that same the same issue as me. Here is a way that work for me:
# Download movies.list.gz from IMDB and put in a directory(.e.g tarball)
goim load -db goim.sqlite tarball/
# Movies are processed but will show some errors as stated in issue#4.
Read the documentation? See goim help load
. load
can either download data for you (which is apparently failing) or you can download it manually and point goim
to it. e.g.,
mkdir tmp-goim
goim load -download ./tmp-goim
ls -l ./tmp-goim/
Did it download a non-empty file? If so, try doing the download manually:
mkdir tmp-goim
goim load -urls
curl what-you-see-above.list.gz > tmp-goim/movies.list.gz
goim load ./tmp-goim
You can try different sources too, e.g., goim load -urls digital
.
My system has gzip 1.6.