Re: TLF logger, countrylist file format?
Hi Ervin, Thanks for your time to help. First of all I installed originally using the easy way, using apt install tlf. Then, after your reply, used the git clone method, which failed for some reason (I'm not a Linux wizz, so probably operator error!). Then used the tar ball, and that worked, and I'm now seeing Version 1.4.1. However I'm still getting the error on the buffer overflow: ++ Welcome to tlf-1.4.1 by PA0R!! Reading country data Reading configuration data Reading config file: logcfg.dat Reading contest rules file: rules/beru*** buffer overflow detected ***: terminated Aborted +++ I tried this in a virtual terminal as well, with the same results. If you feel this is something to do with my local setup here, which would be hard to check for you, please let it be and I'll get by without a countylist. Kind regards, Gerard, ZL2GVA From: Ervin Hegedüs Sent: Saturday, March 5, 2022 8:15 PM To: Gerard van Antwerpen Cc: tlf-devel@nongnu.org Subject: Re: TLF logger, countrylist file format? Hi Gerard, On Fri, Mar 04, 2022 at 07:02:21AM +, Gerard van Antwerpen wrote: > I tried to add the beru: to the start of the file, and it gets read now (I > also think it needs to be in the main contest directory, not the one with the > rules in it), however I am getting the following error message: > > +++ >Welcome to tlf-1.4.0 by PA0R!! > > Reading country data > Reading configuration data > Reading config file: logcfg.dat > Reading contest rules file: rules/beru*** buffer overflow detected ***: > terminated > Aborted > +++ > > It is a long list of countries, but trimming it back doesn't help. > Putting a short country list in the rules file does get read, but doesn't > seem to affect scoring, all contacts are given 5 points (as I set with > CWPOINTS=5), and also points for my call area while I set MY_COUNTRY_POINTS=0 > > Attached my config files. thanks, I've checked your setup, but couldn't reproduce the issue. Tlf started and worked like a charm. Note, that I'm using the (nearly) latest git version of Tlf: $ git describe tlf-1.4.1-249-gebe9341 (which shows 1.5~git at the startup). Could you try the lates git version? And my 2cents: 44 # 45 # # 46 # Time offset from UTC # 47 # # 48 # 49 # 50 TIME_OFFSET=-13 (this is your logcfg.dat). Don't touch TIME_OFFSET, keep is as is. TIME_OFFSET=0 unless your workstation's time is not where you are. For more info, please check the manual. 73, Ervin HA2OS
Re: TLF logger, countrylist file format?
Hi Tom, I tried to add the beru: to the start of the file, and it gets read now (I also think it needs to be in the main contest directory, not the one with the rules in it), however I am getting the following error message: +++ Welcome to tlf-1.4.0 by PA0R!! Reading country data Reading configuration data Reading config file: logcfg.dat Reading contest rules file: rules/beru*** buffer overflow detected ***: terminated Aborted +++ It is a long list of countries, but trimming it back doesn't help. Putting a short country list in the rules file does get read, but doesn't seem to affect scoring, all contacts are given 5 points (as I set with CWPOINTS=5), and also points for my call area while I set MY_COUNTRY_POINTS=0 Attached my config files. No panic, as I'm not relying on it for scoring points, it'd be nice to get it working though. Thanks, Gerard, ZL2GVA From: Thomas Beierlein Sent: Friday, March 4, 2022 10:14 AM To: Gerard van Antwerpen Subject: Re: TLF logger, countrylist file format? Hi Gerard, I think there is one piece of information missing from the documentation: You have to start the line of countries with the name of the actual contest. That means if you have a line CONTEST=beru in your logcfg.dat than the countrylist line should read beru:,,. You can put the line in a file and use COUNTRYLIST= or you can put the line directly into the COUNTRYLIST definition COUNTRYLIST=beru:.. If that does not help, please send us a copy of your logcfg.dat and the countrylist file. 73, de Tom P.S. I will be away for some days starting on Saturday. So if above suggestions do not work please contact the other OMs at TLFs mailing list (tlf-devel@nongnu.org). They will be glad to give some more advice. Am Thu, 3 Mar 2022 06:53:33 + schrieb Gerard van Antwerpen : > Hi, > I haven't used TLF for logging, but trying it out to see if I could > use if for the upcomming BERU contest. There is a long list of > eligible country prefixes that are valid for getting points. It > doesn't fit in the config file, so I tried to make a separate > countrylist file. (called berucountries no extension). I used the > list, all on one line, comma separated, starting with colon (and also > tried without this). However the program doesn't seem to read the > list and allocates points to any call I enter. Then I tried the > pre-fixes each on their own line in the file, same result. > > I have got USE_COUNTRYLIST_ONLY SET, and also COUNTRYLIST=berucounties > > What am I doing wrong? > Appreciate your help. > Thanks, > Gerard ZL2GVA > Gerard van Antwerpen, Blenheim, NZ -- "Do what is needful!" Ursula LeGuin: Earthsea -- berucountries Description: berucountries berucountries (full) Description: berucountries (full) logcfg.dat Description: logcfg.dat beru Description: beru
RE: TLF logger, countrylist file format?
Thanks Tom, I did see that type of format in some of the pre-made contest rules, so you are probably correct that the separate file needs that too. Perhaps I should have tried it first before asking, but this way it will get included in the documentation. 73, de Gerard -Original Message- From: Thomas Beierlein [mailto:t...@forth-ev.de] Sent: Friday, 4 March 2022 10:15 To: Gerard van Antwerpen Subject: Re: TLF logger, countrylist file format? Hi Gerard, I think there is one piece of information missing from the documentation: You have to start the line of countries with the name of the actual contest. That means if you have a line CONTEST=beru in your logcfg.dat than the countrylist line should read beru:,,. You can put the line in a file and use COUNTRYLIST= or you can put the line directly into the COUNTRYLIST definition COUNTRYLIST=beru:.. If that does not help, please send us a copy of your logcfg.dat and the countrylist file. 73, de Tom P.S. I will be away for some days starting on Saturday. So if above suggestions do not work please contact the other OMs at TLFs mailing list (tlf-devel@nongnu.org). They will be glad to give some more advice. Am Thu, 3 Mar 2022 06:53:33 + schrieb Gerard van Antwerpen : > Hi, > I haven't used TLF for logging, but trying it out to see if I could > use if for the upcomming BERU contest. There is a long list of > eligible country prefixes that are valid for getting points. It > doesn't fit in the config file, so I tried to make a separate > countrylist file. (called berucountries no extension). I used the > list, all on one line, comma separated, starting with colon (and also > tried without this). However the program doesn't seem to read the list > and allocates points to any call I enter. Then I tried the pre-fixes > each on their own line in the file, same result. > > I have got USE_COUNTRYLIST_ONLY SET, and also COUNTRYLIST=berucounties > > What am I doing wrong? > Appreciate your help. > Thanks, > Gerard ZL2GVA > Gerard van Antwerpen, Blenheim, NZ -- "Do what is needful!" Ursula LeGuin: Earthsea --