Miserlou / django-easy-timezones

Easy timezones for Django based on GeoIP
http://gun.io/blog/django-easy-timezones/
Apache License 2.0
203 stars 44 forks source link

Exception Value: Invalid database type, expected City #19

Open a1Gupta opened 8 years ago

a1Gupta commented 8 years ago

I am using the version 0.6.2 and the GeoIP databases provided in the repository but I am getting this error ? File "/home/alpha/.virtualenvs/cybrhome-alpha/lib/python2.7/site-packages/easy_timezones/middleware.py" in process_request

  1. tz = db.time_zone_by_addr(ip) File "/home/alpha/.virtualenvs/cybrhome-alpha/lib/python2.7/site-packages/pygeoip/init.py" in time_zone_by_addr
  2. raise GeoIPError(message)
hu55a1n1 commented 8 years ago

Same problem with me.