TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: icarusbop on February 24, 2004, 04:13:08 AM

Title: Please help: weather refuses to work!!
Post by: icarusbop on February 24, 2004, 04:13:08 AM
Hi, I have an XDAII with win mobile 2003 on it - so i believe I do not need to load the framework thingy..

when trying to setup weather city i get the error
'Exception:System.Net.WebException:Could not find source assembly'

i have tried with my unit connected to the internet via activesync and dialup - no change.

I have manually edited a city into the registry - (entry type string)
1                      60,08824, test

now the today plus config program will not work i get error
'a manged index out of range exception occurred at weatheritem:: .......'

any ideas on what the cause is?  thanks

icarusbop
Title: Please help: weather refuses to work!!
Post by: joelw135 on February 24, 2004, 07:49:57 AM
The 1 should be the key name all the way to the left. The rest,  60,08824,test,f should be on the extreme right in the registry. make sure the registry entry is correct.
Title: Please help: weather refuses to work!!
Post by: icarusbop on February 24, 2004, 08:02:31 AM
it is in correct as far as i cal tell ,it looks like this

1                                                            60,08824,test
Title: Please help: weather refuses to work!!
Post by: joelw135 on February 24, 2004, 08:12:57 AM
I understand that but is the 1 to the extreme left and the rest far to the right. Just want to make sure you entered it correctly in the cities area.

Here is a picture of the registry entry.
Title: Please help: weather refuses to work!!
Post by: icarusbop on February 24, 2004, 09:48:47 AM
AHA- i understand whats happened here...

when I posted my original and my previous reply, i used lots of spaces to show the layout of the entry.  but the forum has removed the extra spaces, so all the info is together on the left!  (thought i was going potty there for a minute!!)

in short yes, the registry entry is correct. (to the best of my knowledge) - it certainly looks the same as your picture anyway.
Title: Please help: weather refuses to work!!
Post by: joelw135 on February 24, 2004, 10:39:13 AM
Next step would be to remove TP and then reinstall.  Your test entry will remain so will any other setup you did. If you can't load config remove entry in weather. And try again.
Title: Please help: weather refuses to work!!
Post by: fishboy on February 24, 2004, 12:56:21 PM
Don't know if this is causing your problem, but I noticed that your temperature unit designator is missing.  Your registry entry should be something like:

Name........Data
1...............60,08824,test,f
Or
1...............60,08824,test,c
Title: Please help: weather refuses to work!!
Post by: joelw135 on February 24, 2004, 12:59:05 PM
Good point FishBoy, that could be it in a nutshell. And the picture I sent doesn't show the f .
Title: Please help: weather refuses to work!!
Post by: icarusbop on February 25, 2004, 03:12:21 AM
ok, good point, i added the temperature selector bit.  Now the config program no -longer crashes and it all looks ok.

But, still no weather, I now get the name 'test' on the weather page, but my weather icons stay white with a line through - the unit is currently connected to the internet via activesync.

Also; if I try editing the weather entry using the config program, my entry disappears....
Title: Please help: weather refuses to work!!
Post by: joelw135 on February 25, 2004, 07:45:51 AM
Did you try a sync? If you have wait a few minutes after the sync, use file explorer and gto to Program Files TodayPlus and then look in the Buffer file and see if there is any information in there. Let us know.
Title: Please help: weather refuses to work!!
Post by: icarusbop on February 25, 2004, 08:04:09 AM
what is the buffer gile called, the only files in the today plus directory that are text files are...
config.txt
forecastext.txt


i suspect neither of these are the buffer file.
Title: Please help: weather refuses to work!!
Post by: joelw135 on February 25, 2004, 08:09:28 AM
There should be a folder called buffer, every installation of TP has one. If there is not a folder called buffer. Create one and spell like this Buffer.

You should also have the following directories and files:
1.Buffer
2. Icons
3. Images
4. Skins
5. Weather Icons
6. config
7. elephant.png
8. forcasttext
9. TodayPlus dll
10. TodayPluss.exe
Title: Please help: weather refuses to work!!
Post by: icarusbop on February 25, 2004, 08:15:24 AM
aha - the buffer folder is there (it was off the top of the screen and as i was looking for a file did not think to scroll up...

the folder is completely empty, i have the rest of the folders and folders in the main directory.
Title: Please help: weather refuses to work!!
Post by: joelw135 on February 25, 2004, 08:18:15 AM
The only way to get information in there is through ActiveSyncing. I am at a loss. You say you are running 2003 so you don't need frame work. Are you syncing ok?
Title: Please help: weather refuses to work!!
Post by: icarusbop on February 25, 2004, 08:21:14 AM
activesync works fine,  I presume i don't need any activesync addins or anything like avant go do I?

matbe it is an XDAII thing.....
Title: Please help: weather refuses to work!!
Post by: joelw135 on February 25, 2004, 08:24:14 AM
No just a connection to the internet. Have you uninstalled and reinstalled?
Title: Please help: weather refuses to work!!
Post by: icarusbop on February 25, 2004, 08:27:11 AM
have re- installed today plus about 3 times, but not activesync, do you think I should re install activesync?
Title: Please help: weather refuses to work!!
Post by: joelw135 on February 25, 2004, 08:28:55 AM
No not if it is working. Any other members have any ideas to help icarushop?
Title: Please help: weather refuses to work!!
Post by: Blazingwolf on February 25, 2004, 08:42:54 AM
Can you get to the internet with your PPC? You need to be able to pull up web pages with PIE. If you can are you behind a proxy? TodayPlus has a difficult time working behind proxies.
Title: Please help: weather refuses to work!!
Post by: jhollin1138 on February 25, 2004, 09:00:21 AM
The only thing I can think of to check is that the "BasePath" value is set.

If you are looking at your regisrt, it should look something like this:
Name Data
BasePath \Program Files\TodayPlus


Since it sounds like the Weather and RSS are not syncing, it might be a problem with ActiveSync's pass thru.  Can you "surf" with while using ActiveSync?  Lastly, are you behind a Proxy server?  If so, TodayPlus sometimes has problems syncing.
Title: Please help: weather refuses to work!!
Post by: Broesel on February 25, 2004, 11:27:25 AM
I had the same problem today, when I would add a new city to my weather.

Got the web.exeception error. I had installed ActiveSync V3.7 last week.

You have to set an option in ActiveSync, to connect though AS to the internet.
After I did this, my weather search worked well again.

Greetings Broesel
Title: Please help: weather refuses to work!!
Post by: joelw135 on February 25, 2004, 02:38:46 PM
That setting is located on desktop  PC ActiveSync options, rules at the bottom is a menu.
Title: Please help: weather refuses to work!!
Post by: icarusbop on February 26, 2004, 03:44:28 AM
ok - heres the latest update:

re-install of today plus, and connecting via GPRS, i finally got a weather report!! woohoo!! - apparently it does not like my proxy.

however - doing a search on my home city now (Manchester UK) returns a city number (UKXX0092) and it takes it fine into the setup, but now i get the empty icons for my city..  change it back to a US city and off we go there they are!
Is there a today plus issue with getting reports for the UK (or any other NON us city)?
Title: Please help: weather refuses to work!!
Post by: Broesel on February 26, 2004, 04:25:09 AM
No, there is no known issue with that. And the code you've found is
ok too. (You can test, if the weather source is working by visiting the
following link - change the acid=xxxxxxxx to the code you have - in
this case it is for Manchester: http://www.msnbc.com/m/chnk/d/weather_d_src.asp?acid=UKXX0092

What you should get, is a string looking like this:

function makeWeatherObj() { this.swCity = "Manchester"; this.swSubDiv = ""; this.swCountry = "United Kingdom";
this.swRegion = "West Europe"; this.swTemp = "30"; this.swTempCel = Math.round((5/9)*(this.swTemp-32));
this.swCIcon = "28"; this.swWindS = "3"; this.swWindD = "NW"; this.swBaro = "29.65"; this.swHumid = "63";
this.swReal = "30"; this.swUV = "0"; this.swVis = "999.00"; this.swLastUp = "02/26/2004 02:50:00";
this.swConText = "Mostly Cloudy"; this.swFore = "5|6|7|1|2|02/26/2004|02/27/2004|02/28/2004|02/29/2004|
03/01/2004|30|28|5|30|30|4|3|91|4|4|32|35|38|40|41|10|10|30|20|20|29|29|5|29|29|4|4|134|4|4|27|29|28|26|26|";
this.swAcid = "UKXX0092"; }

When you get it, the weather source is o.K. and your problem is another one.

Try to clear your buffer before syncing again (empty the folder buffer via
explorer or by clicking the "clear buffer" button in config.exe)

Greetings Broesel
Title: Please help: weather refuses to work!!
Post by: icarusbop on February 26, 2004, 06:06:23 AM
Hmmmm..

ok i've checked the city setting all ok.
cleared the buffer
re- synched
unit is connected to GPRS
still no data.

I have installed GPRS data monitor, it says no more data has gone over the GPRS, so it looks like today plus isn't even trying to get the data from the net, explorer conencts fine.

so, the city search now works - but still no data, this morning I was getting data through, since I have changed the city not getting any weather reports. the buffer directory is staying empty.
Title: Please help: weather refuses to work!!
Post by: joelw135 on February 26, 2004, 07:45:46 AM
Some people have had problems like that, try another city in UK such as London. I know I get London with no problem. Also sometimes if the connection is slow it times out. I have had similar problems, when some of the rss files were large it never made it to download weather, and timed out.
Title: Please help: weather refuses to work!!
Post by: icarusbop on February 27, 2004, 05:18:53 AM
Ho hum:

tried various different cities, and reloading, still no luck, the city search  now works fine, but not getting the weather data through. the buffer is staying empty, tries different methods of internet connetion still no luck.

oh well, looks like I'm gonna have to get the weather by looking through the window for now.

thanks for all the help anyhow guys.