Giter VIP home page Giter VIP logo

Comments (6)

Ardesco avatar Ardesco commented on May 23, 2024

hmm looks like the phantomjs zip format is not being recognised by the code. I winder if the zip library I'm using is out of data...

from driver-binary-downloader-maven-plugin.

sgrillon14 avatar sgrillon14 commented on May 23, 2024

sometimes it works and sometimes it is wrong. Can we add a small delay between downloading and unzipping?

from driver-binary-downloader-maven-plugin.

Ardesco avatar Ardesco commented on May 23, 2024

After the file is downloaded a hash check is performed against it to check to see if the downloaded artefact is valid, so I don't think it's a problem of it trying to extract it before the download is complete.

I'll have to hunt around in the code and see what I can find.

from driver-binary-downloader-maven-plugin.

sgrillon14 avatar sgrillon14 commented on May 23, 2024

OK thanks,

I see

Archive file xxxxxx is valid : true

in my logs:

[INFO] Using http proxy: renn.proxy.corp.xxxxx:8080
[INFO] Downloading 'phantomjs-2.1.1-linux-x86_64.tar.bz2'...
[INFO] Archive file 'phantomjs-2.1.1-linux-x86_64.tar.bz2' is valid : true
[BFA] Scanning build for known causes...
[BFA] No failure causes found
[BFA] Done. 0s

from driver-binary-downloader-maven-plugin.

kiview avatar kiview commented on May 23, 2024

I have the same problem. It works once I use <checkFileHashes>false</checkFileHashes>.

from driver-binary-downloader-maven-plugin.

Ardesco avatar Ardesco commented on May 23, 2024

I'm unable to reproduce this, my best guess is a network connection error when trying to download the file which is resulting in a corrupt download.

In this situation we would expect the file to fail the hash check.

from driver-binary-downloader-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.