Page 1 of 1

wspr : impossible to receive data ?

Posted: Tue May 04, 2021 8:59 am
by chrisdgy
hello , just try the sdr as wspr receiver but have not files received and nothing in file 'ALL_WSPR.TXT' that the files where is stocked normaly i go to "decode-wspr.log" and can see this message :

Code: Select all

 'error on line 20 in configuration file. '
." and "

Code: Select all

 cannot open data file 'wspr_*_210504_0642.c2'
what is the probleme Any one have a solution ??

TNX chris

Re: wspr : impossible to receive data ?

Posted: Tue May 04, 2021 9:39 am
by pavel
The error message is very clear. So, the solution is to fix the error on line 20 in the configuration file.

Re: wspr : impossible to receive data ?

Posted: Tue May 04, 2021 10:49 am
by chrisdgy
hi Pavel tnx for your answers , yes i go to look for check the configuration line 20 in :write-c2-files.cfg but i d'ont see error if it's this configuration FILE ? or another one ???

Re: wspr : impossible to receive data ?

Posted: Tue May 04, 2021 11:27 am
by chrisdgy
my file in writ-c2-files.cfg is :

Code: Select all

  
// frequency correction, from -100.0 ppm to +100.0 ppm
corr = 0.0;

// comma separated list of bands
// trailing commas are not allowed
bands = (
 // { freq  =  0.137500; chan = 1; },
 // { freq  =  0.475700; chan = 1; },
 // { freq  =  1.838100; chan = 1; },
     { freq  =  3.570100; chan = 1; },
     { freq  =  5.288700; chan = 1; },
     { freq  =  7.040100; chan = 1; },
     { freq  = 10.140200; chan = 1; },
     { freq  = 14.097100; chan = 1; },
     { freq  = 18.106100; chan = 1; },
     { freq  = 21.096100; chan = 1; },
  //{ freq  = 24.926100; chan = 1; },
     { freq  = 28.126100; chan = 1; },
  //{ freq  = 50.294500; chan = 1; }
  );
 
i just found that messed maybe a (,) in le last line but if i modifie it give no change !

where found a error if it's this file with probleme ?

THANK YOUI

Re: wspr : impossible to receive data ?

Posted: Tue May 04, 2021 12:23 pm
by pavel
I see a trailing comma on the last uncommented line:

Code: Select all

     { freq  = 28.126100; chan = 1; }, <-- trailing comma
  //{ freq  = 50.294500; chan = 1; }
  );

Re: wspr : impossible to receive data ?

Posted: Tue May 04, 2021 1:09 pm
by chrisdgy
ok Pavel , now is work ! i was sure the probleme was missed a trailling comma on commented line dont know thats was uncomented last line need NO trailling comma ! :shock:
so Pavel thank you verry mutch your reactivity ans alls good answers ...!

73 :P chris