Project

General

Profile

Actions

Bug #986

closed

USE_APPION_WRAPPER not defined by the setup wizard.

Added by Christopher Irving about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Eric Hou
Category:
-
Target version:
Start date:
11/01/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.1.0
Show in known bugs:
No
Workaround:

Description

The setup wizard is not inserting the statements define('USE_APPION_WRAPPER', false); and define('APPION_WRAPPER_PATH', ""); into the config file anymore. The template still has them though. Without those set the code that checks it in processing/inc/processing.inc always succeeds and since APPION_WRAPPER_PATH isn't defined it will insert the literal string "APPION_WRAPPER_PATH" in front of every command.

from processing.inc

function addAppionWrapper($command) {
        if (USE_APPION_WRAPPER) {
                $command = APPION_WRAPPER_PATH." ".$command;
        }
        return $command;
}

So Anna-Claire was getting errors like:
/bin/sh APPION_WRAPPER_PATH : command not found.

Actions

Also available in: Atom PDF