Bug #43366

Misleading error message if "expect" is not available

Added by Mario Rimann almost 9 years ago. Updated almost 6 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Target version:
-
Start date:
2012-11-28
Due date:
% Done:

0%

Estimated time:

Description

I tried to deploy an application to a remote server and the process always failed with a bold red error message (the last line from the Shell output below) which is misleading.

Instead of the shown error message, I'd have expected something like "Command line tool expect is not available on your system, please install it first."

./flow surf:deploy --verbose MyApp-staging
Deploying MyApp-staging (20121127235530)
Using workflow "Simple workflow" 
Stage initialize
Node my-crazy-host
Application MyApp
Executing stage "initialize" on "my-crazy-host" for application MyApp
my-crazy-host (MyApp) typo3.surf:createdirectories
$roosta: "test -d /var/www/myapp.ch/staging" 
    > sh: 1: expect: not found
Got exception "Deployment directory "/var/www/myapp.ch/staging" does not exist on node my-crazy-host" but rollback disabled. Stopping.

Related issues

Has duplicate TYPO3.Surf - Feature #58213: add test for commandline tool expectClosed2014-04-26

Actions

Also available in: Atom PDF