Page 1 of 3
Problems with CumulusRealtime
Posted: Tue 21 Jul 2009 8:50 am
by bduren
Hello
I have a problem with Cumulus Realtime.
The page loads but stops waiting for "loading data".
Realtime graphs in ordinary webpage is working OK.
http://vader.duren.se/cumulus
http://vader.duren.se/cumulus/CumulusRealtime.html
Cam somebody check it please.
Regards
Bjorn
Re: Problems with CumulusRealtime
Posted: Tue 21 Jul 2009 9:14 am
by steve
This is happening because Silverlight does not allow cross-domain calls by default. Your realtime URL is
http://vader.duren.se/cumulus/CumulusRealtime.html but your have specified the URL of your realtime.txt file in the xml config file as
http://duren.se/vader/cumulus/realtime.txt - which is a different domain as far as Silverlight is concerned.
If you access your page as
http://duren.se/vader/cumulus/CumulusRealtime.html you'll see that it works fine.
You have several choices; you can access your realtime page as above, or you can change the realtime URL to
http://vader.duren.se/cumulus/realtime.txt, or you can use a cross-domain policy file (clientaccesspolicy.xml) on your server to allow access to more than one domain, so that either URL will work. I can give you some guidance on this third option, if that's the route you want to take.
Steve
Re: Problems with CumulusRealtime
Posted: Tue 21 Jul 2009 9:42 am
by bduren
Thank you for very fast and correct answer.
I changed the XML file and now ist's working.
/Björn
http://vader.duren.se
Re: Problems with CumulusRealtime
Posted: Wed 22 Jul 2009 9:18 am
by daj
Hi Björn
I like the real time graphics on your front page -- Flash based I assume? Is it part of your weather station or other software?
David
Re: Problems with CumulusRealtime
Posted: Wed 22 Jul 2009 9:27 am
by steve
It's Weather Display Live, and yes, it's Flash. It was the inspiration for Cumulus Realtime. I'm hoping eventually to allow 'styling' of the realtime gauges, so if you prefer the look of the WDL stuff, it should be possible to emulate that.
Re: Problems with CumulusRealtime
Posted: Wed 22 Jul 2009 10:40 am
by daj
It would be great to have some control over how CumulusRealtime fits into a site. Its a nice tool and I like the look of it but I would like to make it more incorporated into my site -- at the moment it is out on a limb. I did try using an iFrame but had limited success so for now it opens in its own window.
Re: Problems with CumulusRealtime
Posted: Wed 22 Jul 2009 1:48 pm
by beteljuice
So resize it the same way you would any embedded app. eg. FLASH
Re: Problems with CumulusRealtime
Posted: Wed 22 Jul 2009 2:18 pm
by daj
beteljuice wrote:So resize it the same way you would any embedded app. eg. FLASH
How would one do that -- if I resize the screen as a crude test, you can see the results....
So forcing the iFrame to a certain size would just cut off the end of the screen
Re: Problems with CumulusRealtime
Posted: Wed 22 Jul 2009 2:48 pm
by beteljuice
I don't use it ! - but I'm assuming that this line:
Code: Select all
<object data="data:application/x-silverlight," type="application/x-silverlight-2" width="100%" height="100%">
Is a reference to it's original size.
As you've already discovered, if it's unable to fit the container it's in, it creates it's own scrollbars
BTW, interesting way of presenting changing info. not sure about it for me though

Re: Problems with CumulusRealtime
Posted: Wed 22 Jul 2009 3:10 pm
by daj
beteljuice wrote:I don't use it ! - but I'm assuming that this line:
Code: Select all
<object data="data:application/x-silverlight," type="application/x-silverlight-2" width="100%" height="100%">
Is a reference to it's original size.
There's a few size settings in the html but all result in the same thing -- chops the graphics, does not resize.
http://www.grantownweather.co.uk/data/C ... time2.html
I didn't think it would. Maybe we can have the controls split into individual elements in the future
BTW, interesting way of presenting changing info. not sure about it for me though

....Just experimenting with different ideas!
Re: Problems with CumulusRealtime
Posted: Wed 22 Jul 2009 6:39 pm
by steve
In theory I can make it all completely configurable - choose which gauges you want, where you want them, what size, colours etc etc. It just takes time
In the short term, I might be able to make it all just resize as it is, if that's any use?
Re: Problems with CumulusRealtime
Posted: Thu 23 Jul 2009 8:12 am
by daj
steve wrote:
In the short term, I might be able to make it all just resize as it is, if that's any use?
Don't worry about it Steve -- I'm sure you would rather invest the time in V2 of Cumulus.
ta
Re: Problems with CumulusRealtime
Posted: Thu 23 Jul 2009 9:21 am
by keithatrochdale
daj wrote:
-- I'm sure you would rather invest the time in V2 of Cumulus.
Sounds like a great idea to me.
Any idea of when?

Re: Problems with CumulusRealtime
Posted: Tue 06 Oct 2009 3:04 pm
by risiss
i too have the same problem with realtime stuck on loading data!
and just cant work it out
heres the main url
http://meteo.hostzi.com/
this is the url of realtime
http://meteo.hostzi.com/CumulusRealtime ... time.html
this is the path of realtime.txt
http://meteo.hostzi.com/realtime.txt
Re: Problems with CumulusRealtime
Posted: Tue 06 Oct 2009 3:39 pm
by steve
http://meteo.hostzi.com/realtime.txt gives a 404 for me in IE8, and a blank screen in Firefox 3.5