Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

using process to generate text file

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: using process to generate text file

Post by steve »

Looks like a problem with the file being processed - mismatched tags, probably. I should really trap the error.

Steve
User avatar
GTB
Posts: 75
Joined: Thu 06 Nov 2008 12:14 am
Weather Station: ws1081 with Cumulus
Operating System: win 2000
Location: Terrigal NSW
Contact:

Re: using process to generate text file

Post by GTB »

do you think it would help if i used the "T" files Steve ? :oops:

geoff
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: using process to generate text file

Post by steve »

GTB wrote:do you think it would help if i used the "T" files Steve ? :oops:
Probably :)

Which files were you using then? I'd assumed the one causing the problem was one you had created yourself, with a typo in it.

Steve
User avatar
GTB
Posts: 75
Joined: Thu 06 Nov 2008 12:14 am
Weather Station: ws1081 with Cumulus
Operating System: win 2000
Location: Terrigal NSW
Contact:

Re: using process to generate text file

Post by GTB »

was using the produced "htm" files

maybe it would have worked if i hadn't ticked the process box ?

geoff
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: using process to generate text file

Post by steve »

GTB wrote:was using the produced "htm" files

maybe it would have worked if i hadn't ticked the process box ?

geoff
Yes - and actually that's probably the best way to do it if you are using the standard files, because it will have just processed them anyway. Unless you've specified 'realtime', which I think you had, in which case the processed files will be slightly out of date. It depends on the timings that you've set.

Steve
User avatar
GTB
Posts: 75
Joined: Thu 06 Nov 2008 12:14 am
Weather Station: ws1081 with Cumulus
Operating System: win 2000
Location: Terrigal NSW
Contact:

Re: using process to generate text file

Post by GTB »

so are you saying to use the htm files
untick the process box
tick realtime box ? Steve

geoff
Image
User avatar
GTB
Posts: 75
Joined: Thu 06 Nov 2008 12:14 am
Weather Station: ws1081 with Cumulus
Operating System: win 2000
Location: Terrigal NSW
Contact:

Re: using process to generate text file

Post by GTB »

yes - well that seems to work

geoff
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: using process to generate text file

Post by steve »

If you untick 'process', and specify the processed files rather than the 'T' files, then yes, that will work. But be aware that if you also tick 'realtime' then the file you will be copying will have been processed at the last 'standard' (non realtime) interval, so may be slightly out of date. In other words, there's no point in ticking 'realtime' in those circumstances as you won't get faster updates than if you hadn't ticked it.

Hope that's clear. Maybe I should do a flow chart of what Cumulus does, web wise.

Steve
User avatar
GTB
Posts: 75
Joined: Thu 06 Nov 2008 12:14 am
Weather Station: ws1081 with Cumulus
Operating System: win 2000
Location: Terrigal NSW
Contact:

Re: using process to generate text file

Post by GTB »

so am i better going back to the "T" files ?

geoff
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: using process to generate text file

Post by steve »

If you're using realtime update, yes.

Steve
User avatar
GTB
Posts: 75
Joined: Thu 06 Nov 2008 12:14 am
Weather Station: ws1081 with Cumulus
Operating System: win 2000
Location: Terrigal NSW
Contact:

Re: using process to generate text file

Post by GTB »

and i have done

gone back to using the "T" files with realtime update that is

geoff
Image
User avatar
w5afw
Posts: 154
Joined: Thu 29 Jan 2009 8:48 pm
Weather Station: ws-2315
Location: Houston, the Eagle has landed, TX
Contact:

Re: using process to generate text file

Post by w5afw »

Steve -- the new build with the no ftp option is working great as a means to process and generate local text files. There are actually two files produced for each line -- one labled "tmp" and the other "txt". No problem - I suppose the tmp file is just an artifact of the process.
W5AFW, Lex

Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: using process to generate text file

Post by steve »

Yes, the processing has to go somewhere, so the 'tmp' files are created. It's easier for me to do it this way, with the way the code was structured, rather than process the file straight into the destination file.

Steve
User avatar
w5afw
Posts: 154
Joined: Thu 29 Jan 2009 8:48 pm
Weather Station: ws-2315
Location: Houston, the Eagle has landed, TX
Contact:

Re: using process to generate text file

Post by w5afw »

I suppose there could be a method to delete and replace the temp file if someone were absolutely obsessed by it. Or it could be processed in a tmp directory/folder....
W5AFW, Lex

Image
User avatar
GTB
Posts: 75
Joined: Thu 06 Nov 2008 12:14 am
Weather Station: ws1081 with Cumulus
Operating System: win 2000
Location: Terrigal NSW
Contact:

Re: using process to generate text file

Post by GTB »

Steve

just noticed - when using the "T" files and processing - that the image files are not being updated in the images folder ?

geoff
Image
Post Reply