Eichhoernchen/SiriServer — Issue #299: location help ("where is..") 
Author: macruler12
Created: 2012-02-17 22:58:59+00:00
State: open

hello,

Sorry if there is already a solution for this... but i have been reading through here and i updated the "where am i plugin" and i also updated the "locations Objects.py" as well. but when ever i ask it "where is mcdonalds' it just returns "no location found" here is the error I'm getting:

INFO process_recognized_speech Best matching result: "Where is mcdonald's" with a confidence of 100.0%
INFO read_next_object_from_unzipped Received a Ping (16)
INFO read_next_object_from_unzipped Returning a Pong (16)
ERROR run Unexpected during plugin processing
Traceback (most recent call last):
File "/Users/macpro/Desktop/siriserver/plugin.py", line 95, in run
self.__method(self, self.__speech, self.__lang)
File "/Users/macpro/Desktop/siriserver/plugins/whereAmI.py", line 79, in whereIs
url = u"http://maps.googleapis.com/maps/api/geocode/json?address={0}&sensor=false&language={1}".format(urllib.quote_plus(the_location.encode("utf-8")), language)
AttributeError: 'NoneType' object has no attribute 'encode'