ubuntu-bengali-manual team mailing list archive
-
ubuntu-bengali-manual team
-
Mailing list archive
-
Message #01910
[Bug 600198] Re: Searching for a venue gives error about google maps API
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/django/core/handlers/base.py", line 86, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/srv/loco.ubuntu.com/loco_directory/venues/views.py", line 24, in venue_list
venue_list = venue_list.filter(Q(name__icontains=q) | Q(country__icontains=q) | Q(city__icontains=q) | Q(address__icontains=q))
File "/var/lib/python-support/python2.5/django/db/models/query.py", line 489, in filter
return self._filter_or_exclude(False, *args, **kwargs)
File "/var/lib/python-support/python2.5/django/db/models/query.py", line 507, in _filter_or_exclude
clone.query.add_q(Q(*args, **kwargs))
File "/var/lib/python-support/python2.5/django/db/models/sql/query.py", line 1254, in add_q
self.add_q(child, used_aliases)
File "/var/lib/python-support/python2.5/django/db/models/sql/query.py", line 1258, in add_q
can_reuse=used_aliases)
File "/var/lib/python-support/python2.5/django/db/models/sql/query.py", line 1201, in add_filter
self.where.add((alias, col, field, lookup_type, value), connector)
File "/var/lib/python-support/python2.5/django/db/models/sql/where.py", line 48, in add
params = field.get_db_prep_lookup(lookup_type, value)
File "/var/lib/python-support/python2.5/django/db/models/fields/related.py", line 156, in get_db_prep_lookup
raise TypeError, "Related Field has invalid lookup: %s" % lookup_type
TypeError: Related Field has invalid lookup: icontains
** Changed in: loco-directory
Importance: Undecided => High
** Changed in: loco-directory
Status: New => Triaged
--
Searching for a venue gives error about google maps API
https://bugs.launchpad.net/bugs/600198
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to loco-directory.
Status in LoCo Directory: Triaged
Bug description:
When you search for a venue (using this page http://loco.ubuntu.com/venues/) after pressing the search icon, the next page is white and there is a javascript alert popup that says "This web site needs a different Google Maps API key. A new key can be generated at http://code.google.com/apis/maps/."
References