Hi all, I have one website that suddenly and often show me an import error.

Django Version: 1.5.5
Exception Type: ImportError
Exception Value
:
cannot import name GeoIP

The GeoIP works if I start a python manage.py shell and in fact the problem
is not always present, it's enough for me reload the page and get the
website working again, but after 3-4 clicks I got the ImportError error
again.

The site in on apache/ubunt 13.04 on a digitalocean server. I worked in the
same server in a virtualenv during the development, but when I deployed I
got this strange error.

The GeoIP is called on a view that is triggered when a submit button is
pressed than GeoIP isn't involved during the home page loading-

What I did until now:

   - Upgraded to django 1.5.5 (I used on the development the 1.5.1)
   - Deleted all .pyc
   - Check the module on the shell
   - Installed the geoip C libs

Anyone can help me to solve this problem? Thanks in advance

-- 
Karim Gorjux

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACeuRGU%3DNpjTSt5Otk-qZSwDgX%2BhR1pk51Xz07Ax5-R-L91yBg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to