Sandaysoft

Support forum for Cumulus weather station software
It is currently Wed Jun 19, 2013 11:18 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 276 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17, 18, 19  Next
Author Message
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sat Apr 23, 2011 6:47 pm 
Offline

Joined: Mon Mar 28, 2011 2:41 pm
Posts: 2
Location: Albany, NY U.S.A.
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7 SP 1
Is the caution against using a local realtime.txt still in place? I'm using the local realtime and have updated the .ini file to reflect the location of the realtime.txt file (c:\cumulus\realtime.txt).

When I stop and then restart the gadget, it continues to prompt me for settings. When open the settings using the gadget "wrench" icon, the file name/location in the "url" field is corrupted. The above file becomes: c:cumulusealtime.txt. The ini file is perfectly correct.

Any hints? Thank you.


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sat Apr 23, 2011 7:16 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17833
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
I don't think Ib was able to get it working reliably with a local file. But a tip for when backslashes get stripped out of file paths is to 'escape' them with another backslash, thus: C:\\cumulus\\realtime.txt

This may help or may just confuse things further...

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sat Apr 23, 2011 8:26 pm 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
alaparos wrote:
Is the caution against using a local realtime.txt still in place? I'm using the local realtime and have updated the .ini file to reflect the location of the realtime.txt file (c:\cumulus\realtime.txt).

When I stop and then restart the gadget, it continues to prompt me for settings. When open the settings using the gadget "wrench" icon, the file name/location in the "url" field is corrupted. The above file becomes: c:cumulusealtime.txt. The ini file is perfectly correct.

Any hints? Thank you.


Yes: the caution against using a local realtime.txt is still valid. The gadget will run for a while, then hang.

The filename in the .ini file will be corrupted if you use backslash.
Just use forward slash, e.g. c:/cumulus/realtime.txt. That should work.

_________________
Ib http://www.ibtest.dk/vejr/


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jun 08, 2011 9:52 am 
Offline
User avatar

Joined: Wed Jun 08, 2011 7:38 am
Posts: 6
Location: Blantyre, Malawi
Weather Station: Smart Weather
Operating System: Windows 7
Hi,

I have managed to install the gadget succesfully but when I try to point it to my website and the realtime file it just hangs!
My website address is http://www.trevorpaulwilson.co.uk/Weather/realtime.txt.
I can disply the realtime file if I put the full address in IE.
Any suggestions :?:

_________________
Trevor


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jun 08, 2011 10:25 am 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
trevor63 wrote:
Hi,

I have managed to install the gadget succesfully but when I try to point it to my website and the realtime file it just hangs!
My website address is http://www.trevorpaulwilson.co.uk/Weather/realtime.txt.
I can disply the realtime file if I put the full address in IE.
Any suggestions :?:

Can't see anything wrong with your realtime.txt, nor with the gadget (as you can see below).
Try a re-install and a fresh .ini file.
Attachment:
sample.png


You do not have the required permissions to view the files attached to this post.

_________________
Ib http://www.ibtest.dk/vejr/


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jun 08, 2011 10:41 am 
Offline
User avatar

Joined: Wed Jun 08, 2011 7:38 am
Posts: 6
Location: Blantyre, Malawi
Weather Station: Smart Weather
Operating System: Windows 7
Tried re-install and fresh ini file. No luck, still hangs.
Does it use a lot of bandwidth? I am in Malawi so have a fairly slow connection?

_________________
Trevor


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jun 08, 2011 10:53 am 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
trevor63 wrote:
Tried re-install and fresh ini file. No luck, still hangs.
Does it use a lot of bandwidth? I am in Malawi so have a fairly slow connection?

It uses very little bandwidth AFAIK: the realtime.txt file is very small - only 1 record.
Where/when does it "hang"? do you see the "settings" screen? does it open the settings menu when you hit the wrench? does it close the settings menu?

_________________
Ib http://www.ibtest.dk/vejr/


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jun 08, 2011 11:07 am 
Offline
User avatar

Joined: Tue Jul 29, 2008 8:00 pm
Posts: 2001
Location: Thornhill, Dumfries, UK
Weather Station: WH1081
Operating System: Mac OSx & Win 7
trevor63 wrote:
Does it use a lot of bandwidth? I am in Malawi so have a fairly slow connection?

It depends what you class as a lot.

Looking at my realtime.txt file it uses 246 bytes, which is tiny. However if you decided to do realtime updates every 5 seconds that equates to 121 Mb of bandwidth per month. Updates every 30 seconds would be about 20Mb per month

_________________
David
Contact Me


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jun 08, 2011 11:20 am 
Offline
User avatar

Joined: Wed Jun 08, 2011 7:38 am
Posts: 6
Location: Blantyre, Malawi
Weather Station: Smart Weather
Operating System: Windows 7
It allows me to open the settings box but hangs once you click the OK button.
I have left it set to 30 seconds.
I have tried setting the URL using the settings box and also by editing the ini file but either way it hangs when you click OK.
When you start the gadget it always comes to the enter settings screen and doesn't show any data even if I set the url in the ini file.

_________________
Trevor


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jun 08, 2011 11:25 am 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
Quote:
When you start the gadget it always comes to the enter settings screen and doesn't show any data even if I set the url in the ini file

No data in the settings screen? the default settings should be my realtime.txt file and an interval of 30 seconds.
If you don't see that, then your settings.ini is incorrect.

_________________
Ib http://www.ibtest.dk/vejr/


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jun 08, 2011 11:33 am 
Offline
User avatar

Joined: Wed Jun 08, 2011 7:38 am
Posts: 6
Location: Blantyre, Malawi
Weather Station: Smart Weather
Operating System: Windows 7
No sorry, misled you there.
When you click the settings icon it shows the URL that is in the ini file and the interval that is in the ini file but, even if you don't alter these, when you click OK then it hangs.
What meant is every time you start the gadget from fresh it always comes to blue box with the "please enter settings"
I have other gadgets (clock and currency) that run fine. :!:

_________________
Trevor


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jun 08, 2011 11:39 am 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
What happens if you leave the settings at the default, i.e. my realtime.txt?

_________________
Ib http://www.ibtest.dk/vejr/


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jun 08, 2011 11:44 am 
Offline
User avatar

Joined: Wed Jun 08, 2011 7:38 am
Posts: 6
Location: Blantyre, Malawi
Weather Station: Smart Weather
Operating System: Windows 7
Exactly the same problem (so must be something to do with my laptop or internet settings?).

_________________
Trevor


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jun 08, 2011 12:07 pm 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
Maybe a problem with your network? is it very slow?
Please try to run a debug log:
- create an empty debug.txt file in the cumulusih folder (where the settings.ini and all the other files are)
- start the gadget
- when it hangs: close the gadget
If there is something in the debug.txt log, pls send it to me (ib@harmsen.dk)

_________________
Ib http://www.ibtest.dk/vejr/


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jun 08, 2011 3:50 pm 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
Findings so far re Trevor's problem:
- the gadget runs against a local realtime.txt
- the gadget runs OK at home
- the gadget hangs at work, trying to do a synchronous xmlHttpRequest(method: HEAD) if the realtime.txt file is found - but responds immediately if the file does not exist
Very weird :?

_________________
Ib http://www.ibtest.dk/vejr/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 276 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17, 18, 19  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group