• Welcome to TodayPlus Boards v2.
 

Problem in setting up radar

Started by qianbi0000, December 03, 2004, 02:27:15 PM

Previous topic - Next topic

qianbi0000

Hi, when I update teh radar(either in weather page or in satellite&Radar menu), it always feeds back an error message:

Radar.exe
WebException
Can not find the program
HttpWebRequest::finishGetResponse+0*46
HttpWebRequest::GetResponse+0*c
Form1::ReadDataFromWeb+0*2c
Form1::Form1_Load+0*2x
Form::_SetVisiiblenotify+0*1d
Control::set_visible+0*1f
Application::Run+0*7
Form1::Main+0*c

What's the problem?

Also, I use the Radar picture at http://www.weather.gov.hk
such as: http://www.weather.gov.hk/wxinfo/intersat/satimg/041203_1623s.jpg
How should I set up the Form at Radar.txt?

Thanks in advance

uk_skinner

Questions:

1) Can you see any image at all when you at city or satellite/radar page?

2) Where did you put your radar.exe and radar.txt?

3)  Have you set up athe apps-7-1 point to radar.exe in configure?

4) Do you have any image file in the radar1 or radar folder?

5) Have you tried the default radar.txt and got images downloaded?

If you can, post the screenshot of radar page.

qianbi0000

Hi UK_Skinner, I see a lot of your post and appreciate your great work. Hope this time you can help me...

1. My radar.txt:

SURL=http://image.weather.com/images/sat/east_asiasat_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar1\1.jpg
FORM=
SURL=http://image.weather.com/images/sat/asiasat_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar1\2.jpg
FORM=
SURL=http://image.weather.com/images/sat/japan_sat_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar1\3.jpg
FORM=
SURL=http://image.weather.com/images/sat/goesdisk_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar1\4.jpg
FORM=
SURL=http://image.weather.com/images/sat/goesdisk_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar\1.jpg
FORM=
SURL=http://image.weather.com/images/sat/asiasat_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar2\2.jpg
FORM=
SURL=http://image.weather.com/images/sat/japan_sat_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar\3.jpg
FORM=
SURL=http://image.weather.com/images/sat/east_asiasat_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar\4.jpg
FORM=

When click radar icon at weather page, can see one radar picture, but when switch to other city there is nothing appears.

It seems ok when at satellite/radar page.

when using file explore to open folder, only 1.jpg in radar folder and 1,2,3,4 in radar1 folder.

The problem is when updating, wether in main page or in weather page, radar.exe run for a while then a erreo page appears as below:

qianbi0000

2. I put the radar folder in \My Documents\;
3. I also combine radar.exe in Apps-7-1;
4. As said above, in radar folder only has 1.jpg, in radar1 folder have 1,2,3,4 four pictures;
5. I tried several radar.txt, the problem is same;
6. The system I use is DOPOD 696(XDA II China version), windows mobile 2003 SE. I also tried in wm2003, problems remains.

Thanks for your kindly assistant!

ZapMe1

Hi qiambi0000,

One thing you may want to check is a problem that we've been seeing here a lot..
Check every line in your radar.txt file, and make sure that there is not any additional "spaces" at the end of the text !!

If you find any spaces, delete them, and re-save, then try to run again !!
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

qianbi0000

Thanks ZapMe1, I check the radar.txt and found 1 space in the lastest line. I deleted it and reload the TP. But the error remains.

ZapMe1

Quote2. I put the radar folder in \My Documents\;
3. I also combine radar.exe in Apps-7-1;

Is Radar.exe in your \My Documents folder along with the Radar.txt ??

Also, one other thing to check in the Radar.txt, is that you hit "enter" after the very last line in the txt file !!
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

qianbi0000

Yes, the radar folder with both radar.exe and radar.txt under \My Documents.

What do you mean "hit enter" after the "very last" line of the txt? I just uses the original radar.txt download and replace the SURL.

ZapMe1

You had said that you found one space in the last line of the radar.txt..  After the last line : FORM=   Make sure there are no more spaces after the "=", then hit Enter on your keyboard to go to the next line, then re-save the file !!
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

ZapMe1

qianbi0000,

I'm attaching a radar.txt file to this post !!  Try replacing yours with this one and see if it works !!
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

qianbi0000

ZapMe1, I tried but not work. is it work on your machine?

Wichtel

Quote from: qianbi0000Hi UK_Skinner, I see a lot of your post and appreciate your great work. Hope this time you can help me...

1. My radar.txt:

SURL=http://image.weather.com/images/sat/east_asiasat_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar1\1.jpg
FORM=
SURL=http://image.weather.com/images/sat/asiasat_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar1\2.jpg
FORM=
SURL=http://image.weather.com/images/sat/japan_sat_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar1\3.jpg
FORM=
SURL=http://image.weather.com/images/sat/goesdisk_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar1\4.jpg
FORM=
SURL=http://image.weather.com/images/sat/goesdisk_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar\1.jpg
FORM=
SURL=http://image.weather.com/images/sat/asiasat_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar2\2.jpg
FORM=
SURL=http://image.weather.com/images/sat/japan_sat_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar\3.jpg
FORM=
SURL=http://image.weather.com/images/sat/east_asiasat_277x187.jpg
STOR=\Program Files\TodayPlus\Images\Radar\4.jpg
FORM=

When click radar icon at weather page, can see one radar picture, but when switch to other city there is nothing appears.

It seems ok when at satellite/radar page.

when using file explore to open folder, only 1.jpg in radar folder and 1,2,3,4 in radar1 folder.

The problem is when updating, wether in main page or in weather page, radar.exe run for a while then a erreo page appears as below:

I Think This is the Problem
Greetings Wichtel 
 

miwi-media.com | Web & Screendesign

uk_skinner

Wichtel:

 For somehow, your 4 eyes are muc better than mine. :approve:

uk_skinner

Quote from: qianbi0000ZapMe1, I tried but not work. is it work on your machine?

The error was caused by /Radar2 folder.  The exe could not find the folder therefore quit from there.  The problem should be gone once you correct back to /Radar.

ZapMe1

WOW !!   Good Eyes...   :approve:

I re-did the radar.txt for him, and Still didn't catch that !!   :oops:
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"