Skip to content

Instantly share code, notes, and snippets.

@seenureddy
Created September 23, 2015 13:20
Show Gist options
  • Save seenureddy/706b17bf54d00784a0f9 to your computer and use it in GitHub Desktop.
Save seenureddy/706b17bf54d00784a0f9 to your computer and use it in GitHub Desktop.
GeoIP_TraceBack.txt
File "/Users/Seenu/venvs/occasiohealth/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/Users/Seenu/venvs/occasiohealth/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/Users/Seenu/venvs/occasiohealth/lib/python2.7/site-packages/django/__init__.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "/Users/Seenu/venvs/occasiohealth/lib/python2.7/site-packages/django/apps/registry.py", line 108, in populate
app_config.import_models(all_models)
File "/Users/Seenu/venvs/occasiohealth/lib/python2.7/site-packages/django/apps/config.py", line 202, in import_models
self.models_module = import_module(models_module_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/Users/Seenu/venvs/occasiohealth/src/django-tracking/tracking/models.py", line 6, in <module>
from django.contrib.gis.geoip import GeoIP, GeoIPException
File "/Users/Seenu/venvs/occasiohealth/lib/python2.7/site-packages/django/contrib/gis/geoip/__init__.py", line 17, in <module>
from .base import GeoIP, GeoIPException
File "/Users/Seenu/venvs/occasiohealth/lib/python2.7/site-packages/django/contrib/gis/geoip/base.py", line 6, in <module>
from django.contrib.gis.geoip.libgeoip import GEOIP_SETTINGS
File "/Users/Seenu/venvs/occasiohealth/lib/python2.7/site-packages/django/contrib/gis/geoip/libgeoip.py", line 26, in <module>
lgeoip = CDLL(lib_path)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(GeoIP.dat, 6): no suitable image found. Did find:
GeoIP.dat: unknown file type, first eight bytes: 0x01 0x00 0x00 0x02 0x00 0x00 0x03 0x00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment