I`m using django 1.1 pre-alpha SVN-9218 and according to surftrackr it was best to use the latest django version from subversion.
From: urukay <[EMAIL PROTECTED]> To: django-users@googlegroups.com Date: 10-10-2008 09:27 Subject: Re: viewdoesnot exist at / looks like, the problem is in importing newforms. what django version are u using? Radovan ATijssen wrote: > > Hey, > > I`m a newbie when it comes to Django and python. > > I`m trying to install surftrackr, a squid and dansguardian log analyzer, > which uses the django framework. > Hopefully someone can help me here. > > When I try to open the webinterface of surftrackr I get the following > error with traceback: > > > ViewDoesNotExist at / > Could not import surftrackr.log.views. Error was: cannot import name > newforms > Request Method: > GET > Request URL: > http://<vhost>/ > Exception Type: > ViewDoesNotExist > Exception Value: > Could not import surftrackr.log.views. Error was: cannot import name > newforms > Exception Location: > /usr/lib/python2.5/site-packages/django/core/urlresolvers.py in > _get_callback, line 133 > Python Executable: > /usr/bin/python > Python Version: > 2.5.2 > Python Path: > ['/data', > '/usr/lib/python2.5/site-packages/pygooglechart-0.2.1-py2.5.egg', > '/usr/lib/python2.5/site-packages/pyparsing-1.5.0-py2.5.egg', > '/usr/lib/python25.zip', '/usr/lib/python2.5', > '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', > '/usr/lib/python2.5/lib-dynload', > '/usr/local/lib/python2.5/site-packages', > '/usr/lib/python2.5/site-packages', '/var/lib/python-support/python2.5'] > Server time: > Fri, 10 Oct 2008 09:10:30 +0200 > > > Traceback: > File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in > get_response > 77. request.path_info) > File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py" in > resolve > 181. sub_match = pattern.resolve(new_path) > File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py" in > resolve > 124. return self.callback, args, kwargs > File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py" in > _get_callback > 133. raise ViewDoesNotExist, "Could not import %s. Error > was: %s" % (mod_name, str(e)) > > Exception Type: ViewDoesNotExist at / > Exception Value: Could not import surftrackr.log.views. Error was: cannot > import name newforms > > Hopefully someone can shine a light on this problem. Google doesn`t have > the answer either. It`s probably very simple, but as I said I`m new to > Django and Python. > > Thanks, > Arnoud > > > > -- View this message in context: http://www.nabble.com/viewdoesnot-exist-at---tp19913222p19913260.html Sent from the django-users mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---