I am a heroku newbie and I keep getting the said error whenever I try to sync db on heroku. I am using a hobby Dev instance which from this link shows that their is no support for PostGIS on the free database.
I believe the problem is the missing geolibraries however me being new to heroku, could be I missed a step in installing them.
Below is my stacktrace:
Running `python manage.py dbshell` attached to terminal... up, run.7391Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line utility.execute() File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute django.setup() File "/app/.heroku/python/lib/python2.7/site-packages/django/__init__.py", line 21, in setup apps.populate(settings.INSTALLED_APPS) File "/app/.heroku/python/lib/python2.7/site-packages/django/apps/registry.py", line 115, in populate app_config.ready() File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/admin/apps.py", line 22, in ready self.module.autodiscover() File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/admin/__init__.py", line 23, in autodiscover autodiscover_modules('admin', register_to=site) File "/app/.heroku/python/lib/python2.7/site-packages/django/utils/module_loading.py", line 74, in autodiscover_modules import_module('%s.%s' % (app_config.name, module_to_search)) File "/app/.heroku/python/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/gis/admin/__init__.py", line 7, in from django.contrib.gis.admin.options import GeoModelAdmin # NOQA File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/gis/admin/options.py", line 2, in from django.contrib.gis.admin.widgets import OpenLayersWidget File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/gis/admin/widgets.py", line 9, in from django.contrib.gis.geos import GEOSGeometry, GEOSExceptionImportError: cannot import name GEOSGeometryI am using the following tutorial
أكثر...
I believe the problem is the missing geolibraries however me being new to heroku, could be I missed a step in installing them.
Below is my stacktrace:
Running `python manage.py dbshell` attached to terminal... up, run.7391Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line utility.execute() File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute django.setup() File "/app/.heroku/python/lib/python2.7/site-packages/django/__init__.py", line 21, in setup apps.populate(settings.INSTALLED_APPS) File "/app/.heroku/python/lib/python2.7/site-packages/django/apps/registry.py", line 115, in populate app_config.ready() File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/admin/apps.py", line 22, in ready self.module.autodiscover() File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/admin/__init__.py", line 23, in autodiscover autodiscover_modules('admin', register_to=site) File "/app/.heroku/python/lib/python2.7/site-packages/django/utils/module_loading.py", line 74, in autodiscover_modules import_module('%s.%s' % (app_config.name, module_to_search)) File "/app/.heroku/python/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/gis/admin/__init__.py", line 7, in from django.contrib.gis.admin.options import GeoModelAdmin # NOQA File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/gis/admin/options.py", line 2, in from django.contrib.gis.admin.widgets import OpenLayersWidget File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/gis/admin/widgets.py", line 9, in from django.contrib.gis.geos import GEOSGeometry, GEOSExceptionImportError: cannot import name GEOSGeometryI am using the following tutorial
أكثر...