2012-02-20, 18:15
Hi, any ideas... When I select the LOCATON 1 as NEW YORK get a message "script failed: weather.wundeground"
The log has following entries.
11:09:22 T:1632 NOTICE: -->Python Interpreter Initialized<--
11:09:32 T:1632 ERROR: Error Type: <type 'exceptions.TypeError'>
11:09:32 T:1632 ERROR: Error Contents: string indices must be integers, not str
11:09:32 T:1632 ERROR: Traceback (most recent call last):
File "C:\Users\Owner\AppData\Roaming\XBMC\addons\weather.wunderground\default.py", line 131, in <module>
locations, locationids = location(text)
File "C:\Users\Owner\AppData\Roaming\XBMC\addons\weather.wunderground\default.py", line 80, in location
for item in query['RESULTS']:
TypeError: string indices must be integers, not str
11:09:35 T:4256 NOTICE: -->Python Interpreter Initialized<--
11:09:40 T:2864 NOTICE: Storing total System Uptime
11:09:40 T:2864 NOTICE: Saving settings
11:09:40 T:2864 NOTICE: stop all
11:09:40 T:2864 NOTICE: ES: Stopping event server
11:09:40 T:2864 NOTICE: stopping zeroconf publishing
11:09:40 T:2864 NOTICE: Webserver: Stopping...
11:09:40 T:2864 NOTICE: WebServer: Stopped the webserver
11:09:40 T:2864 NOTICE: Webserver: Stopped...
The log has following entries.
11:09:22 T:1632 NOTICE: -->Python Interpreter Initialized<--
11:09:32 T:1632 ERROR: Error Type: <type 'exceptions.TypeError'>
11:09:32 T:1632 ERROR: Error Contents: string indices must be integers, not str
11:09:32 T:1632 ERROR: Traceback (most recent call last):
File "C:\Users\Owner\AppData\Roaming\XBMC\addons\weather.wunderground\default.py", line 131, in <module>
locations, locationids = location(text)
File "C:\Users\Owner\AppData\Roaming\XBMC\addons\weather.wunderground\default.py", line 80, in location
for item in query['RESULTS']:
TypeError: string indices must be integers, not str
11:09:35 T:4256 NOTICE: -->Python Interpreter Initialized<--
11:09:40 T:2864 NOTICE: Storing total System Uptime
11:09:40 T:2864 NOTICE: Saving settings
11:09:40 T:2864 NOTICE: stop all
11:09:40 T:2864 NOTICE: ES: Stopping event server
11:09:40 T:2864 NOTICE: stopping zeroconf publishing
11:09:40 T:2864 NOTICE: Webserver: Stopping...
11:09:40 T:2864 NOTICE: WebServer: Stopped the webserver
11:09:40 T:2864 NOTICE: Webserver: Stopped...