Sotamap - not working?

Tee hee hee… it’s always the little things that cause the most mayhem.

  • The grenade was put into the code on Friday afternoon and the pin pulled.
  • Saturday morning the automatic generate summitslist.csv code ran. This writes a special version for sotamaps.
  • There was a muffled bang that didn’t get noticed. I didn’t get any email saying the process had failed. It hadn’t failed, it wrote out 2 files. The fact that one was total cobblers went unnoticed.
  • Sometime on Saturday sotamaps pulls in the latest map data. There was a big bang but Rob was off to Italy so he didn’t notice!
  • Saturday people noticed the maps were blank and didn’t immediately panic which is good. Sometimes work is happening on the live code and it fixes itself shortly after.
  • Monday is when the carnage in the data is revealed :slight_smile:

Yes, mea culpa. I did some changes to the schema for the database after the discussion that the data should be saved in decimal not string. I had to make a few changes in the code but it looked good. Then I decided to turn international support. Now changing 1 thing at time is the best way of working. That nice Dr. Taguchi ( 田口方法 ) showed how you can change many variables and still do valid tests as long as the variables are not coupled. Well changing the database schema in 2 places struck me as dodgy so I added internal support and reverted the decimal change. Are you all still with me. I needed to revert the code changes and having learnt how to get conditional compilation working I conditional flipped out the decimal code. Job done. No, compile error. Aha, fix it for the Sotamaps data as well dumbo. At this point all I had to do was type in 2 lines of code. But no why type when you can weild ctrl-c/ctrl-v and so I copied the smmitslist code into the Sotamaps code. Compiles, runs, upload it and run away. :slight_smile:

The copied code put the wrong separators into the file hence Sotamaps barfing. OK, it should be fixed now. Let me know if anything else is screwy.

Ho ho that made me laugh… I could tell you about the one line of code I missed out that resulted in 15 hours of wasted printing on a massive mainframe chain printer… oh how everyone laughed. Fortunately they didn’t take it out of my wages. That’s 30 years ago. Where does the time go?

73 Gerald

Yep, thanks Andy, it all appears to be working now. Been busy down on the land here fixing wooden gates and inspecting the olive trees (there’ll be no harvest here, they’re too far gone after the recent storms). And then the SMP had to lie down with a headache. Couple of aspirin and a really hot cup of tea, and the SMP is up and running again.

I’m tempted - I really am…

Rob

Just thought I’d give it a try once I got home from work & all seems to be working as normal.

Came here to post my surprise, then saw Andy’s post above :wink:

If SotaMaps was not working for anyone other than me, that would be an interesting problem!

73,

Mark G0VOF

<chortle> Now that IS funny! </chortle>

Rob

1 Like

On a related matter, how long is the delay, at maximum, from the logging of a previously unactivated summit to the time SMP shows it as activated.

That delay makes a difference in my FAQ answer in the NaSota Yahoo Group files.

Elliott, K6EL

Elliott, that’s not such an easy question for me to answer - I’ll just say that, from my side, it’s a maximum of 12 hours’ wait for my automated import script to fire AFTER the publication of a new CVS mapping file from Andy.

Rob

Off the top of my head the map data is regenerated at 0417Z every day.