-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest version of phantomjs not available for OS... #25
Comments
Hey David, yes, its a know issue, see #12. Your solution of automatically re-trying the download while lowering the version number Ok, lets see how we could implement that:
Did i mess up? Suggestions welcome.. |
Follow up: if i extend that idea a bit, we could re-try the same version, but use a fallback URL, right?
And then we get into trouble, because it seems that the custom releases have a different folder structure... binary in |
Ok, i checked the Composer Downloader API. |
Personally, I would not depend on the custom releases for a production system. IE if your goal for phantom is to be at the level of, for example, Selenium go with the source teams releases. Try for current version, if failed step back 0.1.0 and try for the next oldest version. This is my personal opinion of course. |
Any movement on this? |
Ok, i've implemented download retrying with lowering the version numbers. The call to Not sure, if that will work out :) But its alive on dev-master and needs testing and feedback.
I'm trying to avoid adding custom release URLs and would love to see official releases getting back on track. Best, Jens |
Almost... [163.0MB/87.10s] Downloading: Connecting...[163.1MB/87.41s] Script PhantomInstaller\Installer::installPhantomJS handling the post-update-cmd event terminated with an exception
[Composer\Downloader\TransportException]
The "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.0.0-linux-x86_64.tar.bz2" file could not be downloaded (HTTP/1.1 404 NOT FOUND)
|
The alias wasn't properly detected, when using You may find an example Referencing the version lowering on the PHP7 branch from this build matrix. Please give me a little feedback, if its also working on your side. |
CentOS release 6.7 (Final) x64
Logic does a good job of detecting the OS and the most recent stable release of phantomjs. However, there is no stable release at the current version for the OS detected.
...per https://bitbucket.org/ariya/phantomjs/downloads/
Solution: if the request returns anything other than status 200, tick down one version and try again but no go below the lowest supported version.
The text was updated successfully, but these errors were encountered: