Page 1 of 2
Cannot save NOAA reports
Posted: Wed 29 Feb 2012 8:06 pm
by john09cw
I'm trying to generate the Mounthly & Annual NOAA reports to use on my web site, but when i click save nothing happens. I am assuming that the windows save as window should popup so i can show it where to save them, but nothing. Any help is very welcome.
Re: Cannot save NOAA reports
Posted: Wed 29 Feb 2012 10:46 pm
by steve
Yes, a standard Windows save dialogue should open. Are you using the default filename formats in the NOAA setup, or have you changed them? What folder have you installed Cumulus in? Does the 'Reports' folder exist in the installation folder? Are the reports being generated and displayed in the window?
Re: Cannot save NOAA reports
Posted: Thu 01 Mar 2012 6:55 am
by john09cw
Hi Steve, Yes default file names are being used, Cumulus is installed in C:\cumulus, the reports folder does exists in sames place & yes I can view the reports when generated, just not save them. After a little bit of experimenting with a 2nd instalation of Cumulus (on another PC, not live) I could generate & save the reports, but if I changed the cumulus ini file for the one on my live system I could again not save the reports. I have attached a copy of my ini file, i have removed website username & password.
Re: Cannot save NOAA reports
Posted: Thu 01 Mar 2012 8:09 am
by steve
Thanks - I'll experiment with your ini file and see if I can work out the cause.
Re: Cannot save NOAA reports
Posted: Thu 01 Mar 2012 9:49 am
by steve
Your file format settings have somehow lost the double quotes at the beginning and end. Yours look like this:
NOAA Setup_2012-03-01_09-37-10.png
which in cumulus.ini looks like this:
MonthFileFormat=NOAAMO"mmyy".txt
YearFileFormat=NOAAYR"yyyy".txt
They should look like this:
NOAA Setup_2012-03-01_09-36-30.png
which in cumulus.ini looks like this:
MonthFileFormat="NOAAMO"mmyy".txt"
YearFileFormat="NOAA_YR_"yyyy".txt"
The effect of the way you have it is that the double quotes are now surrounding the wrong characters and the desired result is reversed; the NOAAMO (or NOAAYR) and .txt parts are getting converted to dates and times, and the mmyy (or yyyy) parts are being treated as plain text with no conversion. The result is an invalid filename which Windows is unable to use, so it doesn't show the dialogue.
Re: Cannot save NOAA reports
Posted: Thu 01 Mar 2012 1:47 pm
by beteljuice
I'm trying to generate the Mounthly & Annual NOAA reports to use on my web site ....
But you are not using the default naming formats.
ie. You have "NOAA
_YR
_"yyyy".txt"
Intead of "NOAAYR"yyyy".txt"
If you wish to use either the
Javascript or
PHP 'web viewer' for your reports they will be unable to locate your yearly reports.
Re: Cannot save NOAA reports
Posted: Thu 01 Mar 2012 1:55 pm
by steve
Good point, well spotted. I was wondering how they could have lost the quotes if they hadn't been changed, as claimed.
Re: Cannot save NOAA reports
Posted: Thu 01 Mar 2012 3:27 pm
by mcrossley
Steve you may want to delete that ini file, it still has username/passwords in it! I pm'd John but he hasn't removed it
Re: Cannot save NOAA reports
Posted: Thu 01 Mar 2012 3:33 pm
by steve
Thanks Mark, done. I usually check, but given the statement in the post I didn't think it necessary.
Re: Cannot save NOAA reports
Posted: Thu 01 Mar 2012 6:19 pm
by john09cw
Thanks Steve, that's fixed it, don't know how the files names got altered, i'm sure I didn't change them, but i must have done something.
Mark, sorry didn't reply to pm just got back from work.
Thanks again
Re: Cannot save NOAA reports
Posted: Mon 16 Apr 2012 5:55 pm
by tfk78
Hi
I have just updated Cumulus and wanted to view the NOAA reports. For the monthly everything is fine. But the annual report just doesn't open. I get this bug report (attached). Can anybody tell me what went wrong?
Re: Cannot save NOAA reports
Posted: Mon 16 Apr 2012 6:58 pm
by steve
It's crashing in the Delphi runtime code, adding a line to the part of the window that displays the report. I don't know whether this is a bug in Delphi or something I'm doing wrong. But the code for the annual report is very similar to the code for the monthly report, so I don't know why one crashes and the other doesn't, nor why it crashes for you but not for others. If I find anything I'll post another reply here.
Re: Cannot save NOAA reports
Posted: Mon 16 Apr 2012 9:35 pm
by tfk78
thx Steve, I hope you find something. I find this very usefull...
Re: Cannot save NOAA reports
Posted: Wed 18 Apr 2012 7:49 am
by steve
tfk78 wrote:thx Steve, I hope you find something. I find this very usefull...
So far the Delphi experts have been unable to suggest anything. There's a suggestion that it might be something to do with the input data, so if you attach your dayfile.txt I'll try it myself. It would also probably be useful to zip up the diags folder and attach that.
Re: Cannot save NOAA reports
Posted: Wed 18 Apr 2012 4:29 pm
by tfk78
Hi Steve
Please find attached the requested data. I hope it helps.
Thanks!