Open jcdk opened 11 years ago
Request URL: http://127.0.0.1:8000/act/add/ Django Version: 1.5 Python Version: 2.7.1 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'bootstrap_toolkit', 'south', 'acts', 'accounts', 'guardian', 'stream', 'follow', 'fluent_comments', 'crispy_forms', 'django.contrib.comments') Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') Traceback: File "/Users/deklerk/Documents/Apps/MikroAct/env/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 1. response = callback(request, _callback_args, *_callback_kwargs) File "/Users/deklerk/Documents/Apps/MikroAct/env/lib/python2.7/site-packages/django/views/generic/base.py" in view 2. return self.dispatch(request, _args, *_kwargs) File "/Users/deklerk/Documents/Apps/MikroAct/env/lib/python2.7/site-packages/guardian/mixins.py" in dispatch 3. **kwargs) File "/Users/deklerk/Documents/Apps/MikroAct/env/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch 4. return handler(request, _args, *_kwargs) File "/Users/deklerk/Documents/Apps/MikroAct/env/lib/python2.7/site-packages/django/views/generic/edit.py" in post 5. return super(BaseCreateView, self).post(request, _args, *_kwargs) File "/Users/deklerk/Documents/Apps/MikroAct/env/lib/python2.7/site-packages/django/views/generic/edit.py" in post 6. return self.form_valid(form) File "/Users/deklerk/Documents/Apps/MikroAct/acts/views.py" in form_valid 7. mikroact.save() File "/Users/deklerk/Documents/Apps/MikroAct/acts/models.py" in save 8. self.location_lat, self.location_lon = geocoders.GoogleV3().geocode(self.location_address)[1] File "/Users/deklerk/Documents/Apps/MikroAct/env/lib/python2.7/site-packages/geopy/geocoders/googlev3.py" in geocode 9. return self.geocode_url(url, exactly_one) File "/Users/deklerk/Documents/Apps/MikroAct/env/lib/python2.7/site-packages/geopy/geocoders/googlev3.py" in geocode_url 10. return self.parse_json(page, exactly_one) File "/Users/deklerk/Documents/Apps/MikroAct/env/lib/python2.7/site-packages/geopy/geocoders/googlev3.py" in parse_json 11. "Didn't find exactly one placemark! (Found %d)" % len(places)) Exception Type: ValueError at /act/add/ Exception Value: Didn't find exactly one placemark! (Found 2)