Advertisement
Guest User

Untitled

a guest
Jul 16th, 2012
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.85 KB | None | 0 0
  1. NOTICE: weather.wunderground - version 0.1.9 started: ['C:\\Users\\HTPC\\AppData\\Roaming\\XBMC\\addons\\weather.wunderground\\default.py', '1']
  2. 15:55:01 T:5472 NOTICE: weather.wunderground - lang: english
  3. 15:55:01 T:5472 NOTICE: weather.wunderground - speed: mph
  4. 15:55:01 T:5472 NOTICE: weather.wunderground - temp: F
  5. 15:55:01 T:5472 NOTICE: weather.wunderground - time: AM/PM
  6. 15:55:01 T:5472 NOTICE: weather.wunderground - date: %m/%d/%Y
  7. 15:55:01 T:5472 NOTICE: weather.wunderground - weather location: zmw:13492.1.99999
  8. 15:55:04 T:5472 NOTICE: weather.wunderground - forecast data:
  9.  
  10. ...
  11.  
  12. "alerts": [
  13. {
  14. "type": "SPE",
  15. "description": "Air Quality Alert",
  16. "date": "2:38 PM EDT on July 16, 2012",
  17. "date_epoch": "1342463880",
  18. "expires": "2:45 PM EDT on July 17, 2012",
  19. "expires_epoch": "1342550700",
  20. "message": "\u000A...Air quality alert in effect from 11 am Tuesday to 11 PM Tuesday...\u000A\u000AThe New York state department of environmental conservation has \u000Aissued an air quality health advisory for the following\u000Acounties...Sullivan...Delaware...Otsego...Broome...Chenango...Madison...\u000AOneida...Tioga...Cortland...Onondaga...Chemung...Tompkins...Cayuga...\u000ASeneca...Steuben...Schuyler...and Yates.\u000A\u000AAir quality levels in outdoor air are predicted to be greater than\u000Aan air quality index value of 100 for the pollutant of ozone.\u000A\u000AThe air quality index...or aqi...was created as an easy way to\u000Acorrelate levels of different pollutants to one scale. The higher\u000Athe aqi value...the greater the health concern. When pollution\u000Alevels are elevated...the New York state department of health\u000Arecommends that individuals consider limiting strenuous outdoor\u000Aphysical activity to reduce the risk of adverse health effects.\u000APeople who may be especially sensitive to the effects of\u000Aelevated levels of pollutants include the very Young...and those\u000Awith pre-existing respiratory problems such as asthma or heart\u000Adisease. Those with symptoms should consider consulting their\u000Apersonal physician.\u000A\u000AA toll free air quality hotline has been established so New York residents\u000Acan stay informed on the air quality situation. The toll free\u000Anumber is: 1 800 5 3 5, 1 3 4 5.\u000A\u000A\u000A\u000A",
  21. "phenomena": "AQ",
  22. "significance": "L"
  23. }
  24. ]
  25.  
  26. ...
  27.  
  28. 15:55:04 T:5472 ERROR: Error Type: <type 'exceptions.KeyError'>
  29. 15:55:04 T:5472 ERROR: Error Contents: (u'L',)
  30. 15:55:04 T:5472 ERROR: Traceback (most recent call last):
  31. File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\weather.wunderground\default.py", line 555, in <module>
  32. forecast(location)
  33. File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\weather.wunderground\default.py", line 144, in forecast
  34. properties(data,loc)
  35. File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\weather.wunderground\default.py", line 479, in properties
  36. set_property('Alerts.%i.Significance' % (count+1), SEVERITY[item['significance']])
  37. KeyError: (u'L',)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement