2012-10-28, 09:15
Hi bossanova, I'm trying to get your script to work on a vanilla Eden build.. It's proving rather problematic. Or maybe I've just missed something obvious
I have basically;
- Installed XBMC Eden on Windows 7 64-bit
- Scrubbed TV shows and movies directories
- Enabled HTTP control
- Added OzWeather from within XBMC
- Inserted extended weather info files into the confluence skin folder
- Set Radar to IDR033, which is working and displays perfectly fine
- Set postcode to 2151, which causes the script to error out and shows no weather info
Here is the relevant debug log from start and when trying to change the postcode
From what I can gather, it doesn't seem to be able to get my location based on the postcode I enter. 'Getting weather from' should have my location after it from seeing other logs. @17:56:58 the startup sequence finishes, and @17:59:23 is when I put in the postcode to OzWeather Settings.
If it helps at all, my postcode returns two matches when searching on weatherzone.com.au. Could it be getting confused and not picking one? If I set up OzWeather radar then switch back to WUnderground, I get full weather display + Radar. But I would rather get the data from BOM..
I'm at a loss as to why it doesn't seem to be working
I have basically;
- Installed XBMC Eden on Windows 7 64-bit
- Scrubbed TV shows and movies directories
- Enabled HTTP control
- Added OzWeather from within XBMC
- Inserted extended weather info files into the confluence skin folder
- Set Radar to IDR033, which is working and displays perfectly fine
- Set postcode to 2151, which causes the script to error out and shows no weather info
Here is the relevant debug log from start and when trying to change the postcode
Code:
17:56:51 T:4373456 NOTICE: Oz Weather-0.4.3: Getting weather from , Extended features = true
17:56:51 T:4373456 NOTICE: Oz Weather-0.4.3: Extended feature powers -> activate!
17:56:52 T:4373456 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280500.png
17:56:52 T:4373204 ERROR: CRemoteControl::Connect - failed to connect
17:56:52 T:4373456 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280510.png
17:56:53 T:4373456 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280520.png
17:56:53 T:4373456 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280530.png
17:56:53 T:4373456 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280540.png
17:56:53 T:4373456 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280550.png
17:56:53 T:4373456 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280600.png
17:56:54 T:4373456 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280610.png
17:56:54 T:4373456 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280620.png
17:56:54 T:4373456 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280630.png
17:56:54 T:4373456 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280640.png
17:56:54 T:4373424 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 22
17:56:54 T:4373424 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
17:56:54 T:4373424 ERROR: ADDON::CScraper::Run: Unable to parse web site
17:56:54 T:4373456 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280650.png
17:56:55 T:4373456 ERROR: Error Type: <type 'exceptions.KeyError'>
17:56:55 T:4373456 ERROR: Error Contents: ('content',)
17:56:55 T:4373456 ERROR: Traceback (most recent call last):
File "C:\Users\Daniel\AppData\Roaming\XBMC\addons\weather.ozweather\default.py", line 616, in <module>
forecast(location, radar)
File "C:\Users\Daniel\AppData\Roaming\XBMC\addons\weather.ozweather\default.py", line 233, in forecast
propertiesPDOM(data["content"], extendedFeatures)
KeyError: ('content',)
17:56:58 T:4373424 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:07
17:59:23 T:4411092 NOTICE: -->Python Interpreter Initialized<--
17:59:23 T:4411092 NOTICE: CommonFunctions-1.2.0
17:59:28 T:4411092 NOTICE: Oz Weather-0.4.3: Doing locations search for 2151
17:59:31 T:4413176 NOTICE: -->Python Interpreter Initialized<--
17:59:31 T:4413176 NOTICE: CommonFunctions-1.2.0
17:59:31 T:4413176 NOTICE: Oz Weather-0.4.3: Getting weather from , Extended features = true
17:59:31 T:4413176 NOTICE: Oz Weather-0.4.3: Extended feature powers -> activate!
17:59:32 T:4413176 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280500.png
17:59:33 T:4413176 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280510.png
17:59:33 T:4413176 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280520.png
17:59:33 T:4413176 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280530.png
17:59:33 T:4413176 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280540.png
17:59:33 T:4413176 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280550.png
17:59:34 T:4413176 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280600.png
17:59:34 T:4413176 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280610.png
17:59:34 T:4413176 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280620.png
17:59:34 T:4413176 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280630.png
17:59:34 T:4413176 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280640.png
17:59:35 T:4413176 NOTICE: Oz Weather-0.4.3: Retrieving radar image: ftp://anonymous:someone%[email protected]//anon/gen/radar/IDR033.T.201210280650.png
17:59:35 T:4413176 ERROR: Error Type: <type 'exceptions.KeyError'>
17:59:35 T:4413176 ERROR: Error Contents: ('content',)
17:59:35 T:4413176 ERROR: Traceback (most recent call last):
File "C:\Users\Daniel\AppData\Roaming\XBMC\addons\weather.ozweather\default.py", line 616, in <module>
forecast(location, radar)
File "C:\Users\Daniel\AppData\Roaming\XBMC\addons\weather.ozweather\default.py", line 233, in forecast
propertiesPDOM(data["content"], extendedFeatures)
KeyError: ('content',)
From what I can gather, it doesn't seem to be able to get my location based on the postcode I enter. 'Getting weather from' should have my location after it from seeing other logs. @17:56:58 the startup sequence finishes, and @17:59:23 is when I put in the postcode to OzWeather Settings.
If it helps at all, my postcode returns two matches when searching on weatherzone.com.au. Could it be getting confused and not picking one? If I set up OzWeather radar then switch back to WUnderground, I get full weather display + Radar. But I would rather get the data from BOM..
I'm at a loss as to why it doesn't seem to be working