Eichhoernchen/SiriServer — Issue #254: "Where Am I" Plugin issue...
Author: freemanrepo
Created: 2012-02-14 18:05:13+00:00
State: open

I Updated to the latest SiriServer today, and i enable the WhereAmI plugin in the plugins.conf
When i ask Siri "Where Am I" i get "There was an error during the processing of your request"
Here is the debug log:

**
INFO process_compressed_data Decoding speech packet
DEBUG process_compressed_data Packet with class: SpeechPacket
DEBUG process_compressed_data packet with content:
{'aceId': '1568E87B-17C7-4278-B53B-9F8BF1B1E756',
'class': 'SpeechPacket',
'group': 'com.apple.ace.speech',
'properties': {'packetNumber': 8,
'packets': ['0\x19lA\xae\xbe_l\xd8\xedV\xcf\x1a\xa5\x18o\x83wY\xc9\xf6b\x87\xdd\xc9\xca\xc1\xd7R\x9f\xe9\x07\xe6WA\xfd\xf4[\x9c_$\xc9\xc8\x96(\xbb\xc5\xf1\xcd\x9ba\x00\x944\xde\x18\xac)\xe14\xbf\xcd-V\x06Q\xb4\x03.\xd3\r\xe2\x19t\xd7\x17\xed\x8fJ\xc4:\xea\x8e\xe5\xa9m\x1b\x8b\xfe}v>\xaer\xbe\x00\xfd\xe4q\xe0\x15P` \x8c\xb0=\xee]\x9b\x82f\x01\xf7\x80\xbcU>\xd1 \x810\xa2\xebg\xf7\x8a\x1c;\x16[\xab\x0b\xa3m3\xb7\x9d\xe73\x96a\xe0\xce\xba\x1e\xd8\xf1\xbf\xa30\x87,\xd7\x97?{\xf2Me\xd3\xaa\xeb[\x0b\xc1\xd7\xd3\xb6>8\t\x17\xeb\xba\x16\xda\xb5\xc5c\xc6\xe9v`\xeb\xc5\xf2J\xb0dZ\xa8\x17\xde]~\xf1\x10P\x86\x00\xb1\x12\x18\x13!\xfb_\xe3\x00\x96\x14\x18\xee\xebd\xeaY\xe4g\xfe\xac\xa8\xa1\xfcu\xa1V\xb6\xcf\xc0\xe0?\x12\xbd{`\xb8\xd6\xf0\xd8\xe4.\x87\x90\xcdg\xf0t\xee2\xa53=\xb9\xdf\x1d\xa6uo\xe0\xa0\r\xfc >u\x1e\\)\xc83\xb18\xed;\xf5\xc33\x96a\xab\xad\xddvM{\xed\x9b\xb2\xf7\xc9\x98RO\xba\xd2\xd3M\xb9\xa7\x18om\x87\xd9\xbe\x9c\xd9\xd0\xf94n\xf9N\xdda\x91<\na\\\xa3k\xe6B0\xad\x8a\xd2$(<\xfb\xbb(\x91\xa7 :\x1f\xb1\x00\x8b\xd9\x9d5S\x01\x96\xcev\xec\x10\xe4\xa0\xf2\xdd\xd3\x94\xf66y\xbbvj\x1fu$h\x03Ql\xb0)\x8cQ\x85\x8dM)\xe7\xe4\xf0\xee\xb00\x8e\xca1\xe2\xce\xfe\xbep#\xd0\xa6fA\x03(\xc7R\xb2\x921]\xa0S\x12r\x81\x12\x12\xeds3\x84\xd1\xcdMy\x07{\xdal\xe4\x10\xaa\r\x80A\x87\x98\xdc\xe5\xc4e\xc7\xba\x9d$\x07\xc8w_\xa1V\x8cM6\xa7O\xe7\xc3\xbb\x7fD\xc5\xfe,\xfb\xe6\x81\x03\xb1\xda\x10\x9f\n\xd2o\x81,\x90\xc9d\x1fx:\x0c\x9auh\x0c\xd3\r&\xd9*\xdc\x1a66\x9eJ\x81\xf0\x1a\xd1\xc5\x03\xfb\xb6\xc7\x16{Q\xb3|\x0e\xd5\xfd\x92\xba[\x16#\xe3\xb0~\xfc~\xb2\xab\r\xf4\x88\xacc\xf0\xbc_\x01En\xbay\xb0\xe7\x98\xb0\x89\x0e\x14\xa3$\x9f\x872\xd2\x10H\xe3\x940\xde`\x12\x8d\x81\x07W\xd6Md\x8c\x96\x7f\x85c\x1dr\xd6\xcb\x9c\xdfOgl\xf7\x1d\xc16j1\x11\x97\xa8\x95OP\xedc\xe1sb\xcf#\xd4\xfb\xc5\xf2*\xdae\xb7s\x13\xa0\xa3$\x9e\xe1\x15\x82\xe7\x80=\x1bu\xdfP\x01\xb3i\xb5\x15\xec\xef+m\x117\xa3\xf2DR\xd0\x879\xb6\xca>\xbcG\x95\xb4\xb3\x12\xfe\xecY/ \x1fUa\x96#+\xbd\x8f\xd2\x1eeZ\xc1\xdd\xbc\xbc_\x1c\xff\xbb\xce\xdf\xf1\xda\xbd\xda\x80\xfe\x01\xe3\xf4\xebB\xd0\xe5C\x88\x9fV']},
'refId': '7057E1F9-0DE5-4D09-9E14-CB35BBF05730'}
INFO process_compressed_data Decoding speech packet
DEBUG process_compressed_data Packet with class: SpeechPacket
DEBUG process_compressed_data packet with content:
{'aceId': '731BA16D-A3B0-459C-BA0F-A06E06991C24',
'class': 'SpeechPacket',
'group': 'com.apple.ace.speech',
'properties': {'packetNumber': 9,
'packets': ['3\x96ap\xeds\x07O\xb8\xa2Bl4\r\xce\x9bg\x93/\xabO\xaa\x06\xfd9\xb3]\xd7\xc0\xb8I\x1a[\x9cB]\x10\xe6\xce\x880\x0f!E\x05\xeb\xc6\x80\tZ\x87F\x8a\x08\xe8\t%\x970\x13\x80s\xce\xf2\x0014%S\xc3-.\x10\xda\xd3G\xe8r\xbe\x06\xb3\xe3\xe4\xe4\x86CwL\xf5t\xf8\xe7\x99\xbd\x9e\x80\xfa\xd7\x92{ QU\x80[\xc4\xce\x1e\xf1\xd7\x9a\xc6\xd3\xb4o\xbc_\x1e\'\xbeV\x1f\xd2~w\xd9@\x882\xac\xb4\xed\'3\xa7\x88S\xda\xb00\xdd\xd1\x93n\x8cv}:bi\xd2\xe7\xe1V\xbb\xbbOA\r\x00\xed=M\xe3\xaf\xb3\xaf\x88\x8e#+F\xe4\x90v\x91\xd6z\xd6$\xa8\x95\x05\xa1\xbb\xc5\xf2\xef\x02\xde\xf0\xfb8\xad-\xa4\x0f\xa1C\t\x90K\xf1+\x0e\x13\xbd\x96#\r\xda\x1d\x10\xd4\xdd\xb6+\xe4&\xa8A\xd3z\xe6\x85\xbb\xcf\x9drKxm\'\x14\xbb:\x99W\xac\xe0Hm\x8d\x17]naE\x8e\xe3&\x1amq\xbch\x1e\xa5H\xe9\xbc\xa1\x10p\xef\xd3\x01(\x1b\xd2\xde\xd6q\xb30\xe2\xba\x1e3\x96l\xe3M\xe8>\xfb\x07Og\xfe\xd6\xbdl\xa47E\xa87E-1w\xe2\xb1\x9b\xbde\xb4\x9f\x0eF\x01\x16\xfd\x16\xd1ZT5\xc0\xd1xe\x0b\xc4\x01\xb9\x81m\'x9\x06i\xb6\xfd"\xe7\xb1$\x10\x91=\xa2\xd3\xbc\xa1\x038H\x10\x9a\xda\xb7\xf5\xc4\xd0\x1a\xf5~\x01\x83\xb3\x80\xf7k\xf6\xde\xaa\x990\xd1\xe1C8QaX^\x89\xba\xaeZ@\xed\xa2\xdb\xc2\xb1\xe2\x07\xc6h\xb9\xdc\x1e\xeczw\xcc\xe2%\xb8 \x9f\xd34\xfb8\xe6\xb9\x92(-dS\x92\x0b\x96] \xdb\xf3\x8d\x06\x19\x08\x17\t\xbb\xb07\xe7\x17\xcaR\x14>O\xc1\x80o\xce4\x14\xc78\\\xb2\xb0`\xef\x9ch)\xcag']},
'refId': '7057E1F9-0DE5-4D09-9E14-CB35BBF05730'}
INFO process_compressed_data Decoding speech packet
INFO read_next_object_from_unzipped Received a Ping (2)
INFO read_next_object_from_unzipped Returning a Pong (2)
DEBUG flush_unzipped_output Blowed up by 2.22 bytes (-44.44%) due to compression
DEBUG process_compressed_data Packet with class: SpeechPacket
DEBUG process_compressed_data packet with content:
{'aceId': '53B8E646-ADC9-47BA-973F-0161011E180D',
'class': 'SpeechPacket',
'group': 'com.apple.ace.speech',
'properties': {'packetNumber': 10,
'packets': ['\x0b\x98\xe6\x08\x1b\xf3\x8d\x05*N\x17,\xcfx7\xe7\x15P\x93,>]3so\xce *r\x90t\xc9?\xe6\xef\x9chb\x0e \xb9e\xd0\xc1\xbf8\xd0\x13\x0c\x81r\xcd\xfb\x03\xbeq\x00Ib\xc2\xe3\xb9\x916\xfc\xe2\xfa\xd8b\x85\xcb7\xb2\x8d\xf9\xc6\x82\xa9\x08\x08\x13\x10\xec\x1b\xf3\x1e\xc3JP\x11\x9c\x0b\xb87\xe5\x7f\xd4d%']},
'refId': '7057E1F9-0DE5-4D09-9E14-CB35BBF05730'}
INFO process_compressed_data Decoding speech packet
DEBUG process_compressed_data Packet with class: SpeechPacket
DEBUG process_compressed_data packet with content:
{'aceId': '75EDBF9E-1ACD-4FFC-B613-236D7BCCBB94',
'class': 'SpeechPacket',
'group': 'com.apple.ace.speech',
'properties': {'packetNumber': 11,
'packets': ['\x08\xd2\x91\xf4\xdd\xf3\x88\rcb\x17\t\x00\xa2?\xe7\x13\xd8\xf6\xa8:\x1d\xa9\x80w\xce/\xb4\xc8@t96\x00\xdf\x9ch1\x92@\xe8rqA\xdf+\xfeR\t!\xd3$\xf7\x83~q}\x082B\xe5\x9f\x18\x07|\xe2\xf9\xd4U\x07\xccz<\x8d\xf9\xc5\xf4\xb1+\x08\xc2d\xf8\x1b\xf3\x88\r{\xa8\x17\t8\x887\xe7\x1f\xe3\x08)']},
'refId': '7057E1F9-0DE5-4D09-9E14-CB35BBF05730'}
INFO process_compressed_data Decoding speech packet
DEBUG process_compressed_data Packet with class: FinishSpeech
DEBUG process_compressed_data packet with content:
{'aceId': 'A0439EB6-78D6-43E5-8F84-75FEFDA467B8',
'class': 'FinishSpeech',
'group': 'com.apple.ace.speech',
'properties': {'packetCount': 12},
'refId': '7057E1F9-0DE5-4D09-9E14-CB35BBF05730'}
INFO process_compressed_data End of speech received
INFO process_compressed_data Sending flac to google for recognition
INFO read_next_object_from_unzipped Received a Ping (3)
INFO read_next_object_from_unzipped Returning a Pong (3)
DEBUG flush_unzipped_output Blowed up by 2.22 bytes (-44.44%) due to compression
INFO process_recognized_speech Best matching result: "Where am I" with a confidence of 58.5%
DEBUG send_plist Sending:
{'aceId': 'E4BFEA3E-2668-4245-9D6D-FF5F8086FDF7',
'class': 'SpeechRecognized',
'group': 'com.apple.ace.speech',
'properties': {'callbacks': [],
'recognition': {'class': 'Recognition',
'group': 'com.apple.ace.speech',
'properties': {'phrases': [{'class': 'Phrase',
'group': 'com.apple.ace.speech',
'properties': {'interpretations': [{'class': 'Interpretation',
'group': 'com.apple.ace.speech',
'properties': {'tokens': [{'class': 'Token',
'group': 'com.apple.ace.speech',
'properties': {'confidenceScore': 1000.0,
'endTime': 0,
'removeSpaceAfter': True,
'removeSpaceBefore': True,
'startTime': 0,
'text': u'Where am I'}}]}}],
'lowConfidence': False}}]}},
'sessionId': '4B501B48-FC7E-40B3-BBAF-C537DBC7F6F9'},
'refId': '7057E1F9-0DE5-4D09-9E14-CB35BBF05730'}
DEBUG flush_unzipped_output Saved 252.18 bytes (38.56%) using compression
INFO read_next_object_from_unzipped Received a Ping (4)
INFO read_next_object_from_unzipped Returning a Pong (4)
DEBUG flush_unzipped_output Blowed up by 2.50 bytes (-50.00%) due to compression
INFO read_next_object_from_unzipped Received a Ping (5)
INFO read_next_object_from_unzipped Returning a Pong (5)
DEBUG flush_unzipped_output Blowed up by 2.22 bytes (-44.44%) due to compression
DEBUG send_plist Sending:
{'aceId': '86813FF7-913A-4330-9DFE-E7A6E3A1BA83',
'class': 'GetRequestOrigin',
'group': 'com.apple.ace.system',
'properties': {'callbacks': [],
'desiredAccuracy': 'Best',
'searchTimeout': 5.0},
'refId': '7057E1F9-0DE5-4D09-9E14-CB35BBF05730'}
DEBUG flush_unzipped_output Saved 369.09 bytes (121.01%) using compression
INFO read_next_object_from_unzipped Received a Ping (6)
INFO read_next_object_from_unzipped Returning a Pong (6)
DEBUG flush_unzipped_output Blowed up by 2.22 bytes (-44.44%) due to compression
DEBUG process_compressed_data Packet with class: SetRequestOrigin
DEBUG process_compressed_data packet with content:
{'aceId': '557D058A-4301-4AE4-8598-27E45D6A531F',
'class': 'SetRequestOrigin',
'group': 'com.apple.ace.system',
'properties': {'age': 0,
'altitude': 703.5311279296875,
'desiredAccuracy': 'Best',
'direction': -1.0,
'horizontalAccuracy': 999.8489885977782,
'latitude': 33.52246665078227,
'longitude': 36.319582957929896,
'speed': -1.0,
'verticalAccuracy': 82.1976407717247},
'refId': '86813FF7-913A-4330-9DFE-E7A6E3A1BA83'}
INFO process_compressed_data Forwarding object to plugin
INFO read_next_object_from_unzipped Received a Ping (7)
INFO read_next_object_from_unzipped Returning a Pong (7)
DEBUG flush_unzipped_output Blowed up by 2.22 bytes (-44.44%) due to compression
ERROR run Unexpected during plugin processing
Traceback (most recent call last):
File "/root/SiriServer/plugin.py", line 95, in run
self.__method(self, self.__speech, self.__lang)
File "/root/SiriServer/plugins/whereAmI.py", line 38, in whereAmI
postalCode= filter(lambda x: True if "postal_code" in x['types'] else False, components)[0]['long_name']
IndexError: list index out of range
DEBUG send_plist Sending:
{'aceId': 'BF346F6C-8FAF-4495-A378-70C3E1D743BD',
'class': 'AddViews',
'group': 'com.apple.ace.assistant',
'properties': {'callbacks': [],
'dialogPhase': 'Completion',
'scrollToTop': False,
'temporary': False,
'views': [{'class': 'AssistantUtteranceView',
'group': 'com.apple.ace.assistant',
'properties': {'dialogIdentifier': 'Misc#ident',
'listenAfterSpeaking': False,
'speakableText': 'There was an error during the processing of your request!',
'text': 'There was an error during the processing of your request!'}}]},
'refId': '7057E1F9-0DE5-4D09-9E14-CB35BBF05730'}
DEBUG flush_unzipped_output Saved 353.70 bytes (67.63%) using compression
DEBUG send_plist Sending:
{'aceId': '8DBC9CE7-46E8-480E-B0D4-44CD122E930D',
'class': 'RequestCompleted',
'group': 'com.apple.ace.system',
'properties': {'callbacks': []},
'refId': '7057E1F9-0DE5-4D09-9E14-CB35BBF05730'}
DEBUG flush_unzipped_output Saved 567.19 bytes (225.97%) using compression
**

Can someone tell me what's wrong?