Open aTylerRice opened 8 years ago
@aTylerRice can you share the relevant part of your settings.py
, particularly your database engine?
Also, try running this again with $ heroku config DEBUG_COLLECTSTATIC=1
. This will print out all of the environment variables available to Python at the time collectstatic
is run. Please share that output, after censoring any sensitive information contianed within.
This is caused by the GEOS_LIBRARY_PATH
, GDAL_LIBRARY_PATH
, and PROJ4_LIBRARY_PATH
in your Django settings. Removing them completely will likely solve the problem.
Same as issue #33 and #32 and probably #30
Also experiencing it. Removing GEOS_LIBRARY_PATH, GDAL_LIBRARY_PATH, and PROJ4_LIBRARY_PATH from Django's settings did not resolve the issue.
@Scramblejams share your traceback please!
Not sure why it's abbreviated:
remote: Traceback (most recent call last): remote: OSError: /app/.heroku/vendor/lib/libgdal.so: cannot open shared object file: No such file or directory
Note that in settings.py, I added a line to print os.listdir('/app/.heroku/vendor/lib') so I could see what's in there during run_collectstatic. This is the output:
['libhashkit.so.2.0.0', 'libmemcached.so', 'pkgconfig', 'libmemcachedutil.a', 'libsasl2.la', 'libhashkit.a', 'libmemcached.la', 'libmemcachedutil.so.2.0.0', 'libmemcachedutil.la', 'libhashkit.so.2', 'libsasl2.so', 'libhashkit.la', 'libmemcached.so.11', 'libmemcached.so.11.0.0', 'libmemcachedutil.so.2', 'libsasl2.so.3.0.0', 'libsasl2.so.3', 'libmemcachedutil.so', 'libmemcached.a', 'sasl2', 'libhashkit.so']
No geo files to be seen anywhere. My buildpack definitions are:
scrambles@moist:~/dev/mycedar14test$ heroku buildpacks === mycedar14test Buildpack URLs
@Scramblejams : I am facing the same problem. Please write back if you got the solution. Thanks!
@ultimatecoder This problem occurred to me in the midst of a Cedar 10 -> Cedar 14 upgrade. The solution for me was to disable collectstatic, which allowed me to at least complete the upgrade to Cedar 14. Then, I reenabled collectstatic, which ran fine from that point on.
Getting these errors. Tried pushing to a new heroku app and still getting the same error. Is this an issue with the build pack or with heroku?
OSError: None/libgdal.so: cannot open shared object file: No such file or directory
Error while runnning '$ python manage.py collectstatic --noinput'