cyberdelia / heroku-geo-buildpack

Geo libraries for Heroku
https://github.com/heroku/heroku-geo-buildpack
113 stars 135 forks source link

BUG using this buildpack with python buildpack #5

Closed galuszkak closed 11 years ago

galuszkak commented 11 years ago

There isn't any libraries on dyno instance after pushing new version.

kamil@kamil-UL30VT:~/PycharmProjects/purpledoor_project$ heroku run bash
Running `bash` attached to terminal... up, run.8387
~ $ echo $GEOS_LIBRARY_PATH
/app/vendor/geos/3.3.8/lib
~ $ cd /app/vendor/geos/3.3.8/lib
bash: cd: /app/vendor/geos/3.3.8/lib: No such file or directory

My .buildpacks file:

kamil@kamil-UL30VT:~/PycharmProjects/purpledoor_project$ cat ./.buildpacks 
https://github.com/cyberdelia/heroku-geo-buildpack.git
https://github.com/heroku/heroku-buildpack-python.git
cyberdelia commented 11 years ago

@galuszkak Oh, damn. It should be better now, can you give it a try? Huge thanks for trying this out.

galuszkak commented 11 years ago

Problem still exists. But maybe I have hint for you... in .cache folder it exists. Maybe you should only change var $GEOS_LIBRARY_PATH ?

kamil@kamil-UL30VT:~/PycharmProjects/purpledoor_project
$ heroku run bash
Running `bash` attached to terminal... up, run.8893
~ $ echo $GEOS_LIBRARY_PATH
/app/vendor/geos/3.3.8/lib
~ $ cd /app/vendor
bash: cd: /app/vendor: No such file or directory
$ cd /app/.cache/vendor/gdal/1.10.0/
~/.cache/vendor/gdal/1.10.0 $ 
cyberdelia commented 11 years ago

@galuszkak No, it just me being bad at bash.

galuszkak commented 11 years ago

Well I'm not expert in bash either so this is only blind shots...

cyberdelia commented 11 years ago

@galuszkak Yeah, so it seems that everything was copied in the wrong place (so you hint for .cache was useful). Can you try again? (It's definitely working for me on a brand new app and the old one).

galuszkak commented 11 years ago

No problem give me 5 minutes :) I will check.

galuszkak commented 11 years ago

It's working!

Thanks @cyberdelia !