Page 2 of 2

Re: Map without stations on it

Posted: Tue 21 Jul 2020 11:16 pm
by BeaumarisWX
Hi Hans,
Been monitoring Mapson, looks like it's Locked, no Maps been generated since 2020-07-20.
2020-07-21 20:07:02.131 Support constructor
2020-07-21 20:07:02.135 Support constructor : Unit Wind (m/s, mph, km/h, kts): 2
2020-07-21 20:07:02.135 Support constructor : Unit Pressure (mb,hPa,inHg): 1
2020-07-21 20:07:02.135 Support constructor : Unit Rain (mm,in): 0
2020-07-21 20:07:02.135 Support constructor : Unit T (C,F): 0
2020-07-21 20:07:02.137 CUstrings[xx].ini : CUstringsEN.ini looked for.
2020-07-21 20:07:02.137 CumulusUtils : ----------------------------
2020-07-21 20:07:02.137 CumulusUtils : Entering Main
2020-07-21 20:07:02.143 CommandLineArgs : starting
2020-07-21 20:07:02.146 CommandLineArgs : handling arg: MapsOn
2020-07-21 20:07:02.146 CommandLineArgs : End
2020-07-21 20:07:02.168 Maps GetFTPLock : Checking for a lockfile
2020-07-21 20:07:41.938 Map generation : Not a successful lock - abandoning Map generation
2020-07-21 20:07:41.940 Timing of Map generation = 39793 ms
2020-07-21 20:07:41.940 Thrifty: DoTop10 && (!Thrifty || ThriftyTop10RecordsDirty || RunStarted.DayOfYear % 7 == 0) - False => Uploading Top10 None
2020-07-21 20:07:41.940 Thrifty: !Thrifty & RunStarted.DayOfYear % 7 == 0 - True => Uploading = maps.txt
2020-07-21 20:07:41.940 UploadFile: Start
2020-07-21 20:07:41.940 Upload File values: DoUploadFTP: True
2020-07-21 20:07:41.940 Upload File values: URL: ftp.beaumaris-weather.com
2020-07-21 20:07:41.940 Upload File values: Dir: /public_html/data/
2020-07-21 20:07:41.940 Upload File values: UtilsDir: /public_html/data
2020-07-21 20:07:41.940 Upload File values: remotefile: maps.txt
2020-07-21 20:07:41.940 UploadFile: uploading ftp://ftp.beaumaris-weather.com/public_ ... a/maps.txt
2020-07-21 20:07:43.628 Upload File Complete, status: 226-File successfully transferred
226 0.090 seconds (measured here), 121.55 Kbytes per second

2020-07-21 20:07:43.628 UploadFile: Done
2020-07-21 20:07:43.628 Thrifty: DoRecords && (!Thrifty || ThriftyRecordsDirty) - False => Uploading Records None
2020-07-21 20:07:43.628 Thrifty: DoNOAA && (!Thrifty || RunStarted.Day == 2) - False => Uploading NOAA None
2020-07-21 20:07:43.628 Thrifty: DoDayRecords && (!Thrifty || ThriftyDayRecordsDirty) - False => Uploading DayRecords None
2020-07-21 20:07:43.628 Thrifty: DoWindRose && (!Thrifty || RunStarted.Day == 2 ) - False => Uploading WindRose None
2020-07-21 20:07:43.628 Overall Timing all Modules = 41485 ms
2020-07-21 20:07:43.628 CumulusUtils : Exiting Main
2020-07-21 20:07:43.630 Ini Flush cache modif:False, cumulusutils.ini
2020-07-21 20:07:43.630 Ini Flush cache modif:False, CUstringsEN.ini
kind regards,

Re: Map without stations on it

Posted: Wed 22 Jul 2020 6:10 am
by HansR
Yes, solved, should be working again.

I'll try to find through the logfiles where the lock came from.
I assume this issue is caused because some users did not update but I am not sure.

I'll get back on this.
The issue with "Erics Gooseberry Hill" has not been solved yet but that seems to be a completely different problem, more like a setting on his machine.

Although the 'map thing' takes the attention a bit away from meteorology into the technique, it is relevant because it is about the internet access/reliability. It seems to be around Australia as well (I have no reports from elsewhere). That's why it is important to find the source of the problem (creating a lock and not removing it).

Re: Map without stations on it

Posted: Wed 22 Jul 2020 6:14 am
by HansR
I found the origin. It is a Norwegian address which is apparently checking out / using the tool, but breaking it off at some unwanted point.
Don't know, I'll keep an eye on it.

Re: Map without stations on it

Posted: Wed 22 Jul 2020 1:41 pm
by HansR
NOTE: what followed has to do with the Norwegian language selection and is moved to the language discussion forum.

Re: Map without stations on it

Posted: Sat 25 Jul 2020 5:18 am
by HansR
@BeaumarisWX:
@All:
Following up on a message by BeaumarisWX of 25/7 that again there was an orphaned lockfile I did some research and found the lockfile existed from 23/7, this time from an unknown German address with further no activity at all.

Apparently people are trying out the tool and breaking of during a run, I have no other explanation.

However, because the whole process of locking/delocking hardly can take more than a minute (typically some 10 - 20 seconds) , I will create a time/date test on the age of an existing lockfile and if older than 3 minutes, I will clear it. That will prevent deadlocks because of an orphaned lockfile. This feature will be implemented in 3.9.11, so before an obligatory use of CMX 3.7.0

Re: Map without stations on it

Posted: Wed 05 Aug 2020 8:18 pm
by HansR
It now seems all to be working OK. I just seem to have lost billy on the way.

If anybody wonders about the why of the map, the following.

Today was a warm day over here and I am now sitting outside at 20 degr with a nice 0% beer enjoying the silence of the calm warm evening.
At the same time I open my site on the tablet and go to the map looking for the BeaumarisWX. In Tasmania it is fresh, windy. I can look at the sun coming up over the Tasman Sea and at a star which I can't see in the Northern Hemisphere.

That's what I made this for :D

That's what the map is for: browsing the world and see what the weather is like in other places, if a camera is there you can literally see other places.
Like I am switching now to San Sebastian where an ir camera has a great view on the city and the gulf of Biskaye.

It's getting somewhere.

Re: Map without stations on it

Posted: Thu 06 Aug 2020 6:09 pm
by HansR
Good to see you back on the map @billy :D
And yes, your map issue will be addressed sometime I guess.

Re: Map without stations on it

Posted: Fri 28 Aug 2020 6:24 am
by HansR
@billy: you're back and your map is working! A miracle? Or did you do something?
If neither is true than it must be the redesign of the fetch of the URL through HttpClient in async mode :D
Cheers, Hans