Project

General

Profile

rctacquisition.py error - Possible subprocess: Permission denied

Added by Michael Cianfrocco almost 9 years ago

Hello,

We have installed leginon and appion here at UCSD, and everything is working without issues.

However, when we tried to use the MSI-RCT application to take an example hole image within the RCT node, the node acquires an image but does not find any features. Instead it displays the error message:

Possible subprocess: Permission denied

We have already changed the permissions on leginon/rctacquisition.py as instructed in the installation manual:

chmod 755 ./leginon/rctacquisition.py

Despite this, we keep getting this error.

What other files do we need to make sure have the correct permissions?

Background info:
  • We are running CentOS 7
  • SELinux is enable (although we get the same error when it is disabled)

Thank you for your help!
Mike


Replies (3)

RE: rctacquisition.py error - Possible subprocess: Permission denied - Added by Anchi Cheng almost 9 years ago

The permission change you did is correct. However, is this the one that Leginon is calling through timedproc ?

Check this way:

Start python command line with

python

type

from leginon import rctacquisition
rctacquisition

It should tell you where it is loading the module from. Likely in the python site-packages where the installation is.

RE: rctacquisition.py error - Possible subprocess: Permission denied - Added by Michael Cianfrocco almost 9 years ago

Ah - we should've thought to look in the site-packages folder for the leginon installation. We did find the folder where the rctacquisition.py is installed within this directory.

BUT, after changing the permissions to this file (-rwxr-xr-x), we are still getting this permissions error.

What do you think it could be? Is there another file that needs its permissions changed?

Thanks!

RE: rctacquisition.py error - Possible subprocess: Permission denied - Added by Anchi Cheng almost 9 years ago

The last group of people with this problem went overboard making the whole leginon directory executable. I think you may want to try openCVwrapper.py first.

In addition, check to see openCV is installed properly and functional. See Issue#2912. message 11 in there has the test script.

    (1-3/3)