[pskmail] Re: rflinkserver.pl workaround

  • From: Rein Couperus <rein@xxxxxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Mon, 24 Mar 2008 10:18:15 +0100

Fred, 

I can not reproduce that here on PI4TUE, but of course there I have the radio 
connected.

Rein

> -----Ursprüngliche Nachricht-----
> Von: pskmail@xxxxxxxxxxxxx
> Gesendet: 23.03.08 21:13:08
> An: pskmail@xxxxxxxxxxxxx
> Betreff: [pskmail] Re: rflinkserver.pl workaround


>  Hi Rein,
> 
> The 1; took care of the problem here. Thank you!
> 
> I have noticed something else that is strange. I haven't tested it enough to 
> understand it but it appears that the scanning is stopping.
> 
> I have the server scanning to change speeds, but not frequency. The radio is 
> not interfaced to hamlib so I am getting the following error message:
> 
> read_string: timeout without reading a character
> 
> I am assuming that is a result of hamlib not getting a response back from the 
> radio. However, the speed changes fine with fldigi after starting the server.
> 
> It appears to stop scanning after a station connects, which it should. But, 
> if the station does not ~QUIT and just disappears, the scanning is not 
> resuming.
> 
> I saw this once yesterday. Then today, a station connected fine at PSK250. 
> After some email and a web page they issued a ~SPEED125. The station 
> disappeared after that.  When I got home about 3 hours later, fldigi was 
> still at PSK125
>  . I re
> started rflinkserver.pl and it resumed scanning.
> 
> I'll keep observing and try duplicating with my client.
> 
> 73,
> Fred
> WB5CON
> 
>  
>  -------------- Original message from Rein Couperus <rein@xxxxxxxxxxxx>: 
> --------------
> 
> 
> 
> > Good morning guys,
> 
> > 
> > I have looked at the config files you sent, and immediately found the 
> > solution...
> 
> > 
> > The last statement ($traffic_qrg = 0; ) evaluates to 0, which means FALSE 
> > in 
> > Perl.
> 
> > The config file I tested has a true value for $traffic_qrg. This is one of 
> > the 
> > side-effects 
> > in Perl which is often overlooked, the result of the eval is set to the 
> > result 
> > of the last statement in the file. 
> > 
> > The solution is easy, just add a 
> > 1;
> 
> > to the end of the pskmailrc.pl file and the workaround is not necessary 
> > anymore.
> 
> > So the end of the pskmailrc.pl file will look like:
> 
> > 
> > $traffic_qrg = 0;
> 
> > ###########################
> 
> > 1;
> 
> > 
> > I will amend this in the SVN and the copy on the download page.
> 
> > 
> > 73,
> 
> > 
> > Rein PA0R
> 
> > 
> > 
> > > -----Ursprüngliche Nachricht-----
> 
> > > Von: pskmail@xxxxxxxxxxxxx
> 
> > > Gesendet: 23.03.08 03:29:07
> 
> > > An: 
> 
> > > Betreff: [pskmail] rflinkserver.pl workaround
> 
> > 
> > 
> > > 
> > > 
> > > Was the line #53 commented out in rflinkserver.pl ?
> 
> > > or die ?No config file: $@\n?;? 
> > > ?
> 
> > > 
> > > 
> > > I commented out this line and I wasn?t successful. 
> > > 
> > 
> > -- 
> > http://pa0r.blogspirit.com
> 
> > 
>  
> 

-- 
http://pa0r.blogspirit.com

Other related posts: