cloudy cloudy

Author Topic: Real Time Viewer  (Read 13988 times)

0 Members and 1 Guest are viewing this topic.

Offline Weather Display

  • Posts: 86,194
  • Davis VP2
  • New Zealand
    • Weather Display
Real Time Viewer
« Reply #15 on: November 15, 2003, 04:17:39 PM »
any ftp error in the real time ftp error log
(under view, ftp error log)
or under view,program error log?
it might be that its still uploading, but not the correct directory ...you can tick to force it to try to change to the correct directory each minute
i do have checks in place to get it to recover from any failures, and have been working with ricky on that

Offline Meteoabrantes

  • Posts: 468
  • Abrantes, Portugal
    • Meteoabrantes
Real Time Viewer
« Reply #16 on: November 16, 2003, 08:13:41 PM »
Brian:

I managed to upload main.svg and all the files, but now, how to correct this?:

"The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

Use of default namespace declaration attribute in DTD not supported. Error processing resource 'http://free.hostdepartment.com/m/meteoabrantes/main.svg'. Line 16, Position 71
 
<svg xml:space="preserve" onload="init(evt)" width="698" height="368">

Cheers
Hélder
AMD 3.0 GHZ, 2048 Mb RAM, Win XP Pro SP3

Offline Weather Display

  • Posts: 86,194
  • Davis VP2
  • New Zealand
    • Weather Display
Real Time Viewer
« Reply #17 on: November 16, 2003, 08:23:39 PM »

Offline Meteoabrantes

  • Posts: 468
  • Abrantes, Portugal
    • Meteoabrantes
Real Time Viewer
« Reply #18 on: November 16, 2003, 08:55:53 PM »
Yes, Brian, I know that, but when I open it, it says there is a error: it says "Microsoft JScript runtime error, 'xmlhttp is undefined, line:23, column: 4". And more, I click with the right button of the mouse on the empty image and, in the View SVG option, it says:

«The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

Use of default namespace declaration attribute in DTD not supported. Error processing resource 'http://free.hostdepartment.com/m/meteoabrantes/main.svg'. Line 16, Position 71
 
<svg xml:space="preserve" onload="init(evt)" width="698" height="368">»

Cheers
Hélder
AMD 3.0 GHZ, 2048 Mb RAM, Win XP Pro SP3

Offline Weather Display

  • Posts: 86,194
  • Davis VP2
  • New Zealand
    • Weather Display
Real Time Viewer
« Reply #19 on: November 16, 2003, 09:03:03 PM »
ah, ok
email me your main.svg file
info@weather-display.com

Offline Weather Display

  • Posts: 86,194
  • Davis VP2
  • New Zealand
    • Weather Display
Real Time Viewer
« Reply #20 on: November 16, 2003, 09:05:47 PM »
actyualy, i can get it by going view source on the main.svg...
stand by while i look
(but the wife wants me to do some housework :(

Offline Meteoabrantes

  • Posts: 468
  • Abrantes, Portugal
    • Meteoabrantes
Real Time Viewer
« Reply #21 on: November 16, 2003, 09:11:10 PM »
Wives are allways right, Brian!
 :roll:

Cheers
Hélder
AMD 3.0 GHZ, 2048 Mb RAM, Win XP Pro SP3

Offline Weather Display

  • Posts: 86,194
  • Davis VP2
  • New Zealand
    • Weather Display
Real Time Viewer
« Reply #22 on: November 16, 2003, 09:31:24 PM »
i got past the error by changing the url in the default one, and running the  svg.htm from here on my HD
but there are other problems.
it looks like the free hosting service is putting html code in with the clientraw.txt file with the http get procedure from the svg code
so you are stuffed
i will let you use a ftp server i have here for free if you like

Offline Meteoabrantes

  • Posts: 468
  • Abrantes, Portugal
    • Meteoabrantes
Real Time Viewer
« Reply #23 on: November 16, 2003, 09:43:04 PM »
It's very kind of you, I thank you a lot. Yes, I accept your offer, let's see this weather coming to real! (I was away for a while, as my wife is always right, too...)  :oops:

Cheers
Hélder
AMD 3.0 GHZ, 2048 Mb RAM, Win XP Pro SP3

Offline Weather Display

  • Posts: 86,194
  • Davis VP2
  • New Zealand
    • Weather Display
Real Time Viewer
« Reply #24 on: November 24, 2003, 08:31:48 PM »
i have updated the svgextra.zip file
http://www.weather-display.com/downloads/svgextra.zip

which fixes the mismatched tag error that appears in the bottom info bar of the browser
(it was a missing </g>    ...took me a while to find it!)
 :P

Offline ricky

  • Posts: 360
  • Auckland, New Zealand
    • Grey Lynn Weather
Real Time Viewer
« Reply #25 on: November 24, 2003, 09:44:21 PM »
I looked everywhere for that!  LOL   :?

Offline Weather Display

  • Posts: 86,194
  • Davis VP2
  • New Zealand
    • Weather Display
Real Time Viewer
« Reply #26 on: November 24, 2003, 10:06:46 PM »
well, i knew it didnt occur in my real time mesomap
http://www.weather-display.com/windy/svgmesomap.htm

and so i just deleteded sections of code until it went away!
it was a missing </g> in the units section, where I had all the labels being drawn
whew

Offline Weather Display

  • Posts: 86,194
  • Davis VP2
  • New Zealand
    • Weather Display
Real Time Viewer
« Reply #27 on: November 28, 2003, 12:05:15 AM »
if you want to add your web cam image to the real time viewer, just add the following code to the main.svg file  (i.e the line where it has "animatedwebcam.gif"   i.e replace that with the name of your web cam file
[code:1]

<!-- Current Condition -->
   <g  id="CurrentCondition" onclick="" style="&st3;&st4;&st7;">
     <!--<text text-anchor="middle"  x="548" y="278" fill="blue"> </text>-->
     <image id="IcondImage" xlink:href=""  opacity="1" x="460"   y="238"   width="42" height="32"/>
     <image id="IcondImage" xlink:href="animatedwebcam.gif"  opacity="1" x="445"   y="300"   width="70" height="60"/>
   </g>
[/code:1]

Offline Meteoabrantes

  • Posts: 468
  • Abrantes, Portugal
    • Meteoabrantes
Real Time Viewer
« Reply #28 on: November 28, 2003, 07:03:32 AM »
Great, Brian!

Cheers
Hélder
AMD 3.0 GHZ, 2048 Mb RAM, Win XP Pro SP3

Offline Weather Display

  • Posts: 86,194
  • Davis VP2
  • New Zealand
    • Weather Display
Real Time Viewer
« Reply #29 on: November 28, 2003, 07:16:24 AM »
it works, but strangely the animatedwebcam image does not animate
but so instead just use say webcamimage.gif  or what you have as the non animated web cam image file name