Project

General

Profile

tomoraptor.py: command not found error

Added by Jane Ding about 13 years ago

I was trying to run tomography > Align tilt series. If I choose "Just Show Command", it gives a command
tomoraptor.py --session=11feb07a -
...
and it runs ok in a terminal. But when I choose the option "Align tilt series", clicking on "Check status of this job" shows me

raptor2.appionsub.log:
/bin/sh: tomoraptor.py: command not found

/usr/local/bin/tomoraptor.py does exist and the command "tomoraptor.py..." can be run as either root or user.

Any idea? Appreciate any help!

Thanks,
Jane


Replies (1)

RE: tomoraptor.py: command not found error - Added by Anchi Cheng about 13 years ago

Your environment on the processing server need to be set in the way that when you log in as the user you can find tomoraptor.py in its default path without typing the full path to it and without having sourcing a shell script to set the path first to do so since the command that appion sent through ssh does not include /usr/local/bin/ part.

In your case, your default path need to search /usr/local/bin automatically for commands.

Anchi

    (1-1/1)