I have now tested the message relay, which works. Autoastrom works on the
command line, but not through gaia as it tells me
Error starting ADAM relay'MessageRelay.pl':IO::Pipe:Cannot exec: No such
file or directory at
/star/Perl/lib/perl5/site_perl/5.8.8/Starlink/AMS/Core.pm line 177 at
/star/Perl/lib/perl5/site_perl/5.8.8/Starlink/AMS/Init.pm line 366
and then it hangs.
My starperl is set correctly, my starlink_dir, autoastrom_dir and
LD_LIBRARY_PATH are all set as instructed.
Do you have any other ideas for me to try?
Many Thanks
Sarah
--
Dr Sarah L Casewell Email: [log in to unmask]
Xray and Observational Astronomy Office: S1
Department of Physics and Astronomy Phone: +44 (0)116 2523577
University of Leicester
Leicester
LE1 7RH
UK
On Wed, 13 Feb 2008, Peter W. Draper wrote:
> On Wed, 13 Feb 2008, Sarah Casewell wrote:
>
>> I have been having this issue for about 2 years as regards gaia and
>> autoastrom - I have followed the advice here to other posters and still
>> have the same problems.
>>
>> I can start the autoastom window, and run it. It gets to I Calling
>> EXTRACTOR and then I get
>>
>> Error starting ADAM relay'MessageRelay.pl':IO::Pipe:Cannot exec: No such
>> file or directory at
>> /star/Perl/lib/perl5/site_perl/5.8.8/Starlink/AMS/Core.pm line 177 at
>> /star/Perl/lib/perl5/site_perl/5.8.8/Starlink/AMS/Init.pm line 366
>>
>> I have tried the advice as regards the Messagerelay.pl, and the "head"
>> command returned nothing, so we added the !#/star/bin/perl line as
>> suggested to another user. This has not altered anything though.
>
> Hi Sarah,
>
> the version of AUTOASTROM in humu works without any changes, I tested that
> quite extensively. Please make sure that everything is put back to the
> released state (and that STARLINK_DIR is set etc. as I said in my last
> message). When that's correct you should see the following:
>
> % which MessageRelay.pl
> /star/bin/MessageRelay.pl
>
> % head /star/bin/MessageRelay.pl
>
> eval 'exec starperl -S $0 ${1+"$@"}'
> if 0; # not running under some shell
>
> use Starlink::ADAM;
>
> use FileHandle;
>
> # Script to relay messages between ADAM and perl
> #
>
> % which starperl
> /star/bin/starperl
>
> If all that's as expected you can test MessageRelay.pl from the command-line:
>
> % MessageRelay.pl
> MESSYS__TOOLONG: task name too long
> adam_send: Failed to get path to task
> at /star/bin/MessageRelay.pl line 57
>
> When that runs then AUTOASTROM will work as expected.
>
> Peter.
>
>
|