The openlayers.make file contains a broken URL. This prevents using Drush make at the moment.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sneyerst’s picture

Status: Active » Closed (won't fix)

Seems I was a bit too quick posting this issue. I see this has been fixed already.

joseph_leon’s picture

Status: Closed (won't fix) » Needs review

If you download 7.x-2.0-beta9 and go to the makefile the link is:

https://github.com/openlayers/openlayers/archive/v2.13.1.zip

Going to this link throws a "Not found" on the page. It appears this issue isn't solved. I was able to still run a drush make but got a warning:

http---openlayers.org-download-OpenLayers-2.12.tar.gz retrieved from an expired cache since refresh failed.
openlayers downloaded from http://openlayers.org/download/OpenLayers-2.12.tar.gz.

The link (http://openlayers.org/download/OpenLayers-2.12.tar.gz) goes to a 404.

PatrickScheffer’s picture

FileSize
518 bytes

I encountered this error too. I included a patch to fix the URL.

dnotes’s picture

Status: Needs review » Needs work

Does this corrected url actually give you the javascript files? I don't see them in there. To get them, you have to use http://github.com/openlayers/openlayers/releases/download/release-2.13.1..., which redirects to a download from an s3 bucket, which in turn makes Drush make unhappy all over again.

Edit: I'm not actually sure that's why Drush make is unhappy, I know only that when I use that url in my distribution make file, d.o won't build it.

dnotes’s picture

Actually, that distribution build might just be failing because of the openlayers.make file. Let's try this patch.

dnotes’s picture

Status: Needs work » Needs review

Ok, patch 5 builds for me, and also includes all of the js files in the places I expect.

Pol’s picture

Can you reroll the patch with the right filename ?

openlayers.make has been renamed in openlayers.make.examples.

Thanks.

Pol’s picture

Status: Needs review » Needs work
cachesclay’s picture

Here is a patch specifically for 2.0-beta7 (openlayers v2.12)- I know it's old, but if anybody is still using this, the library will break.