in reply to Installation error; INSTALL.pl program is unable to unzip downloaded file

Hi cookersjs,

I seem to be unable to reproduce this; downloading the file from the URL https://github.com/bioperl/bioperl-live/archive/release-1-6-924.zip, even when I use LWP::Simple in the same way that INSTALL.pl does, I get a file that unzips without errors. Perhaps it was just a temporary error, and you could try downloading the file again. You might also try looking at what the file you downloaded actually contains, for example with hexdump -C file.zip | head -50. Or, perhaps you could try upgrading your LWP::Simple, LWP::Protocol::https and Archive::Zip.

Hope this helps,
-- Hauke D

Replies are listed 'Best First'.
Re^2: Installation error; INSTALL.pl program is unable to unzip downloaded file
by cookersjs (Acolyte) on Nov 04, 2016 at 18:19 UTC
    Thanks for the reply Hauke D.

    I have tried a lot of different things, including your suggestions but to no avail. Given that I know I can download an unzippable file from my browser, I am just going to enter the INSTALL.pl file and try to create my own work around. Its not a terribly large file so I dont think it will be to bad.


    Thanks again
    -cookersjs
      Hi cookersjs. I get the same error log with you. But the reason I faild is the server I work on is network-unavailable. So curl can not download the "release-1-6-924.zip" file(the log is : curl: (6) Couldn't resolve host 'github.com'). Ok! I download the file manually. then run "perl INSTALL.pl", when it goes to :
      Setting up directories Destination directory ./Bio already exists. Do you want to overwrite it (if updating VEP this is probably OK) (y/n +)?
      if I type n, it will exit:
      Setting up directories Destination directory ./Bio already exists. Do you want to overwrite it (if updating VEP this is probably OK) (y/n +)? n Exiting
      but if I type y, the zip file I download and copy to ./Bio disappear because it will overwrite the ./Bio directory.

      I am crazy by this. Could you tell me how to fix this problem? Thanks in advance!

        BioPerl has dependencies. If you're working 'off line' use a computer that does have internet access to create a minicpan. Transfer this to your server the configure the cpan tool to use this local mirror. It sounds like a lot of work, but it really isn't and will make your life easier in the long run.