[Dxspider-support] cmd_import failure

Dirk Koopman djk at tobit.co.uk
Wed May 13 11:27:28 CEST 2020


Ah, now I understand what I was trying to do, with my previous mods - 
whilst forgetting how it was supposed to work.

The issue is with the filename. The filename that you use must be a 
callsign that the software recognises. Clearly I need to do some better 
error messaging and checking before trying the command. The reason it 
needs (just) the callsign is that it uses that to create the correct 
environment for any commands contained in the file.

So, for instance,  to disconnect that user, you need to create a file 
called ea3cv (or EA3CV, or eA3cV), meaning run the enclosed commands as 
you the sysop, and put the commands
you want inside that file (in this case: disc ea3cv-1).

In the meantime, I will put some better error messaging in.

Dirk G1TLH

On 13/05/2020 05:38, Joaquin . via Dxspider-support wrote:
> Dirk, I just saw that there is another version. I update and see that 
> although it ends up working,
>
> Current version:
>
> DX Spider Cluster version 1.57 (build 226 git: 3b932bf2[r]) on Linux
>
> It gives these errors:
>
> 1589342518^Run import cmd file disc_ea3cv-1
> 1589342518^(chan) -> D EA3CV-1 PC39^EA3CV-2^Disconnected by System Op^H30^
> 1589342518^(chan) -> D EA3CV-0 PC21^EA3CV-1^Gone^H25^
> 1589342518^(chan) -> D SV5FRI-1 PC92^EA3CV-2^14518^D^^5EA3CV-1^H99^
> 1589342518^(chan) -> D WB3FFV-2 PC92^EA3CV-2^14518^D^^5EA3CV-1^H99^
> 1589342518^(chan) -> D F4EYQ-1 PC92^EA3CV-2^14518^D^^5EA3CV-1^H99^
> 1589342518^(chan) -> D N6WS-6 PC92^EA3CV-2^14518^D^^5EA3CV-1^H99^
> 1589342518^(chan) -> D IW9EDP-6 PC92^EA3CV-2^14518^D^^5EA3CV-1^H99^
> 1589342518^(chan) -> D AE5E PC92^EA3CV-2^14518^D^^5EA3CV-1^H99^
> 1589342518^(chan) -> D VE9SC PC92^EA3CV-2^14518^D^^5EA3CV-1^H99^
> 1589342518^(chan) -> D F1OYP-6 PC92^EA3CV-2^14518^D^^5EA3CV-1^H99^
> 1589342518^Can't locate object method "call" via package "Script" at 
> /spider/perl/Script.pm line 126.
> 1589342518^ at /spider/perl/Script.pm line 126.
> 1589342518^     Script::erase(Script=HASH(0x5607b0dc62f8)) called at 
> /spider/perl/DXCommandmode.pm line 1240
> 1589342518^     DXCommandmode::import_cmd() called at 
> /spider/perl/DXCommandmode.pm line 616
> 1589342518^     DXCommandmode::process() called at 
> /spider/perl/cluster.pl <http://cluster.pl> line 732
> 1589342518^ main::per_sec(Mojo::IOLoop=HASH(0x5607aef89010)) called at 
> /usr/local/share/perl/5.26.1/Mojo/IOLoop.pm line 223
> 1589342518^ 
> Mojo::IOLoop::__ANON__(Mojo::Reactor::EV=HASH(0x5607aefa7ad8)) called 
> at /usr/local/share/perl/5.26.1/Mojo/Reactor/Poll.pm line 145
> 1589342518^     eval {...} called at 
> /usr/local/share/perl/5.26.1/Mojo/Reactor/Poll.pm line 145
> 1589342518^ 
> Mojo::Reactor::Poll::_try(Mojo::Reactor::EV=HASH(0x5607aefa7ad8), 
> "Timer", CODE(0x5607b130ad90)) called at 
> /usr/local/share/perl/5.26.1/Mojo/Reactor/EV.pm line 70
> 1589342518^ 
> Mojo::Reactor::EV::__ANON__(EV::Timer=SCALAR(0x5607b12d8c88), 256) 
> called at /usr/local/share/perl/5.26.1/Mojo/Reactor/EV.pm line 30
> 1589342518^     eval {...} called at 
> /usr/local/share/perl/5.26.1/Mojo/Reactor/EV.pm line 30
> 1589342518^ 
> Mojo::Reactor::EV::start(Mojo::Reactor::EV=HASH(0x5607aefa7ad8)) 
> called at /usr/local/share/perl/5.26.1/Mojo/IOLoop.pm line 134
> 1589342518^     Mojo::IOLoop::start("Mojo::IOLoop") called at 
> /spider/perl/cluster.pl <http://cluster.pl> line 781
> 1589342518^     main::start_node() called at /spider/perl/cluster.pl 
> <http://cluster.pl> line 798
> 1589342518^Can't locate object method "call" via package "Script" at 
> /spider/perl/Script.pm line 126.
> 1589342518^Mojo::Reactor::EV: Timer failed: Can't locate object method 
> "call" via package "Script" at /spider/perl/Script.pm line 126.
> 1589342518^ at /usr/local/share/perl/5.26.1/Mojo/IOLoop.pm line 23.
>
> These appear to be all failed attempts until the last line is reached:
>
> sysop at EA3CV2:/spider/local_data/debug/2020$ grep -i "disc_ea3cv-1" 134.dat
> 1589342518^Run import cmd file disc_ea3cv-1
> 1589342519^Run import cmd file disc_ea3cv-1
> 1589342520^Run import cmd file disc_ea3cv-1
> 1589342521^Run import cmd file disc_ea3cv-1
> 1589342522^Run import cmd file disc_ea3cv-1
> 1589342523^Run import cmd file disc_ea3cv-1
> 1589342524^Run import cmd file disc_ea3cv-1
> 1589342525^Run import cmd file disc_ea3cv-1
> 1589342526^Run import cmd file disc_ea3cv-1
> 1589342527^Run import cmd file disc_ea3cv-1
> 1589342528^Run import cmd file disc_ea3cv-1
> 1589342529^Run import cmd file disc_ea3cv-1
> 1589342530^Run import cmd file disc_ea3cv-1
> 1589343982^Run import cmd file disc_ea3cv-1
> 1589343982^Import cmd disc_ea3cv-1/EA3CV: Channel EA3CV-1 disconnected
>
> Successful execution at the end:
>
> 1589343982^Run import cmd file disc_ea3cv-1
> 1589343982^(chan) -> D EA3CV-1 PC39^EA3CV-2^Disconnected by System Op^H30^
> 1589343982^Import cmd disc_ea3cv-1/EA3CV: Channel EA3CV-1 disconnected
>
> Files are removed from cmd_import
>
> Kin
>
>
>
> El mié., 13 may. 2020 a las 0:35, Dirk Koopman via Dxspider-support 
> (<dxspider-support at tobit.co.uk <mailto:dxspider-support at tobit.co.uk>>) 
> escribió:
>
>     I believe this is now fixed. Please try it.
>
>     Thank you for the report.
>
>     Dirk G1TLH
>
>     On 11/05/2020 16:11, Joaquin . via Dxspider-support wrote:
>>     Hi,
>>
>>     In the Mojo branch 1.57 build 220 (and in the previous ones too),
>>     I have been observing that the execution of the commands that are
>>     put in the cmd_import directory fails. Files accumulate in the
>>     directory and are not executed and are not deleted.
>>
>>     The files contain a simple "conn ea3cv-1" or a "disc ea3cv-1".
>>
>>     Any ideas?
>>
>>     Kin, EA3CV
>>
>>     _______________________________________________
>>     Dxspider-support mailing list
>>     Dxspider-support at tobit.co.uk  <mailto: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 <mailto: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20200513/4a649f90/attachment.htm>


More information about the Dxspider-support mailing list