[Dxspider-support] defunkt sh/dx after migration to mojo

rin JG1VGX jg1vgx at jarl.com
Mon Jun 22 19:16:19 CEST 2020


Dirk-san,

$ git diff mojo
returned nothing. (which was fine?)

I did
$ git reset --hard
$ git pull (no new updates)
then restarted. No change.

Actually,
sh/dx by <call> produces $f4 related errors
sh/dx <call> so does $f1
sh/dx info <text> does $f3, respectively.

I now see some other strange error messages in watchdbg.

7:03:36 (cron) DXCron::cread reading /spider/cmd/crontab
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 77, <GEN19> line 8.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 77.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 78, <GEN19> line 8.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 78.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 79, <GEN19> line 8.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 79.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 80, <GEN19> line 8.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 80.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 81, <GEN19> line 8.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 81.
17:03:36 (cron) DXCron::cread: adding 2 0 * * * DXDebug::dbgclean()
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 77, <GEN19> line 9.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 77.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 78, <GEN19> line 9.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 78.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 79, <GEN19> line 9.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 79.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 80, <GEN19> line 9.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 80.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 81, <GEN19> line 9.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 81.
17:03:36 (cron) DXCron::cread: adding 30 2 * * 3 run_cmd("export_users")
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 77, <GEN19> line 10.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 77.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 78, <GEN19> line 10.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 78.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 79, <GEN19> line 10.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 79.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 80, <GEN19> line 10.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 80.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 81, <GEN19> line 10.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 81.
17:03:36 (cron) DXCron::cread: adding 0 3 * * * Spot::daily()
17:03:36 (cron) DXCron::cread reading /spider/local_cmd/crontab
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 77, <GEN20> line 4.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 77.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 78, <GEN20> line 4.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 78.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 79, <GEN20> line 4.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 79.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 80, <GEN20> line 4.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 80.
17:03:36 (cron) Use of uninitialized value in concatenation (.) or
string at /spider/perl/DXCron.pm line 81, <GEN20> line 4.
17:03:36 (cron)  at /spider/perl/DXCron.pm line 81.

Maybe language related?

$ echo $LANG
C.UTF-8

73 rin JG1VGX

On Tue, Jun 23, 2020 at 1:50 AM Dirk Koopman via Dxspider-support
<dxspider-support at tobit.co.uk> wrote:
>
> Line 393 in Spot.pm should read:
>
>      return sprintf "%8.1f  %-11s %s %s  %-28.28s%7s>", $_[0], $_[1],
> $d, $t, ($_[3]||''), "<$_[4]" ;
>
> The only place the '$f1' is mentioned, anywhere in Spot.pm,  is in the
> comment starting at line 237:
>
> # search the spot database for records based on the field no and an
> expression
> # this returns a set of references to the spots
> #
> # the expression is a legal perl 'if' statement with the possible fields
> indicated
> # by $f<n> where :-
> #
> #   $f0 = frequency
> #   $f1 = call
> #   $f2 = date in unix format
> #   $f3 = comment
> #   $f4 = spotter
>
> It is NOT used as a variable (global or otherwise) in any module and
> command in the mojo branch of the code.  It is used in DXSql.pm, line
> 167, as a constant string (not a variable). Furthermore that bit of code
> may (or more likely) may not work and it currently deprecated.
>
> Please do a 'git diff mojo' and check that you have no differences.
>
> Try 'git reset --hard'
>
> Please tell us if any of this worked.
>
> 73 Dirk G1TLH
>
> On 22/06/2020 17:15, rin JG1VGX via Dxspider-support wrote:
>
> > Thanks for testing Kin-san,
> >
> > Forgot to mention that I'm running the latest version 1.57 (build 276
> > git: mojo/ea366aef[r]) on Ubuntu 20.04.
> >
> > I'm also running another node with the same configuration which was
> > upgraded (at the same time) to mojo without problem. (sh/dx with
> > anything seems to work there)
> >
> > Strange!
> >
> > 73 rin JG1VGX
> >
> >
> > On Tue, Jun 23, 2020 at 12:37 AM Joaquin . <joaquin at cronux.net> wrote:
> >> Hi,
> >>
> >> I have 1.57 build 276, in this moment not a problem at 4 nodes.
> >> sh/dx 10,  is OK
> >> sh/dx by ja, also OK.
> >>
> >>
> >> Kin EA3CV
> >>
> >>
> >>
> >>
> >> El lun., 22 jun. 2020 17:10, rin JG1VGX via Dxspider-support <dxspider-support at tobit.co.uk> escribió:
> >>> Hi Dirk-san and all,
> >>>
> >>> I have just updated my JG1VGX-9 cluster to the mojo branch according
> >>> to the instructions.
> >>>
> >>> It works mostly, but strangely sh/dx with subcommands do not work.
> >>>
> >>> These works:
> >>> sh/dx
> >>> sh/dx 5
> >>> sh/dx 5-10
> >>> sh/dx day 3
> >>>
> >>> While these do NOT work:
> >>> sh/dx by <call>
> >>> sh/dx <prefix>
> >>> sh/dx by_zone 25
> >>> .... and almost everything else.
> >>>
> >>> They simply returns something like this:
> >>> sh/dx by ja
> >>> 0.0              22-Jun-2020 1503Z                                    <>
> >>> 0.0              22-Jun-2020 1503Z                                    <>
> >>> M0CFF de JG1VGX-9 22-Jun-2020 1503Z dxspider >
> >>>
> >>> watchdbg messages (please disregard timestamps)
> >>> 14:15:59 (state) Global symbol "$f1" requires explicit package name
> >>> (did you forget to declare "my $f1"?) at (eval 147) line 1.
> >>> 14:15:59 (state) Use of uninitialized value $_[4] in concatenation (.)
> >>> or string at /spider/perl/Spot.pm line 393.
> >>> 14:15:59 (state)  at /spider/perl/Spot.pm line 393.
> >>> 14:15:59 (state) Global symbol "$f1" requires explicit package name
> >>> (did you forget to declare "my $f1"?) at (eval 147) line 1.
> >>> 14:15:59 (state) Use of uninitialized value in sprintf at
> >>> /spider/perl/Spot.pm line 393.
> >>> 14:15:59 (state)  at /spider/perl/Spot.pm line 393.
> >>> 14:15:59 (state) Global symbol "$f1" requires explicit package name
> >>> (did you forget to declare "my $f1"?) at (eval 147) line 1.
> >>> 14:15:59 (state) Use of uninitialized value in sprintf at
> >>> /spider/perl/Spot.pm line 393.
> >>> 14:15:59 (state)  at /spider/perl/Spot.pm line 393.
> >>> 14:15:59 (state) Global symbol "$f1" requires explicit package name
> >>> (did you forget to declare "my $f1"?) at (eval 147) line 1.
> >>> 14:15:59 (state) Use of uninitialized value $_[4] in concatenation (.)
> >>> or string at /spider/perl/Spot.pm line 393.
> >>> 14:15:59 (state)  at /spider/perl/Spot.pm line 393.
> >>> 14:15:59 (state) Global symbol "$f1" requires explicit package name
> >>> (did you forget to declare "my $f1"?) at (eval 147) line 1.
> >>> 14:15:59 (state) Use of uninitialized value in sprintf at
> >>> /spider/perl/Spot.pm line 393.
> >>> 14:15:59 (state)  at /spider/perl/Spot.pm line 393.
> >>> 14:15:59 (state) Global symbol "$f1" requires explicit package name
> >>> (did you forget to declare "my $f1"?) at (eval 147) line 1.
> >>> 14:15:59 (state) Use of uninitialized value in sprintf at
> >>> /spider/perl/Spot.pm line 393.
> >>> 14:15:59 (state)  at /spider/perl/Spot.pm line 393.
> >>>
> >>> line 393 at Spot.pm:
> >>> # format a spot for user output in list mode
> >>> sub formatl
> >>> {
> >>>          my $t = ztime($_[2]);
> >>>          my $d = cldate($_[2]);
> >>>          return sprintf "%8.1f  %-11s %s %s  %-28.28s%7s>", $_[0],
> >>> $_[1], $d, $t, ($_[3]||''), "<$_[4]" ;    <<=======
> >>> }
> >>>
> >>> Any ideas?
> >>> --
> >>> 73 rin JG1VGX
> >>>
> >>> _______________________________________________
> >>> Dxspider-support mailing list
> >>> Dxspider-support at tobit.co.uk
> >>> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
> >
> >
> > --
> > 73 rin JG1VGX
> >
> > _______________________________________________
> > Dxspider-support mailing list
> > Dxspider-support at tobit.co.uk
> > https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support



-- 
73 rin JG1VGX



More information about the Dxspider-support mailing list