contao-workflow not working with contao 4.9.1
Giesbert opened this issue · 0 comments
Hi,
I tried to install contao-workflow on a contao 4.9.1 and got the following error message:
$ /usr/local/php74/bin/php -q XXXXX/web/contao-manager.phar.php composer require netzmacht/contao-workflow jrgregory/m17-sticky-backend-footer --no-suggest --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
Using version ^2.1 for netzmacht/contao-workflow
Using version ^2.0 for jrgregory/m17-sticky-backend-footer
XXXXX/composer.json has been updated
Process terminated with exit code 0
Result: OK
Resolving dependencies using Composer Cloud v2.2.5
Job ID zFp30MxpwoshzrAT2FQ7gpC1PvZGkMK0tL8QsviWHn43nTyk29MIUUNOau0p6Y4BLk94IVCW8IIOjuUM6QvqRGtHnXiZjrOC02D94X completed in 54 seconds
Memory usage: 461.37MB (peak: 2300.68MB), time: 54.82s.
$ /usr/local/php74/bin/php -q XXXXX/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
contao/manager-plugin: Generating plugin class...
contao/manager-plugin: ...done generating plugin class
In YamlFileLoader.php line 693:
The file "/var/www/vhosts/hosting137491.a2e55.netcup.net/test.margas-kren.d
e/vendor/netzmacht/contao-workflow/src/Resources/config/listeners.yml" does
not contain valid YAML: Unexpected characters near "
- {
name: 'kernel.event_listener',
event: 'netzmacht.contao_workflow.create_transition',
method: 'createExpressionConditions'
} - {
name: 'kernel.event_listener',
event: 'netzmacht.contao_workflow.create_transition',
method: 'createPropertyConditions'
}" at line 114.
In Inline.php line 94:
Unexpected characters near "
- {
name: 'kernel.event_listener',
event: 'netzmacht.contao_workflow.create_transition',
method: 'createExpressionConditions'
} - {
name: 'kernel.event_listener',
event: 'netzmacht.contao_workflow.create_transition',
method: 'createPropertyConditions'
}" at line 114.
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 19 installs, 4 updates, 3 removals
- Removing symfony/security-core (v4.4.5)
- Removing symfony/security-csrf (v5.0.5)
- Removing symfony/security-guard (v4.4.5)
- Removing symfony/security-http (v4.4.5)
As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Installing 'unzip' may remediate them. - Installing symfony/security (v4.4.5): Downloading (100%)
- Downgrading symfony/templating (v5.0.5 => v4.4.5): Downloading (100%)
- Downgrading symfony/options-resolver (v5.0.5 => v4.4.5): Downloading (100%)
- Installing pimple/pimple (v1.1.1): Downloading (100%)
- Installing contao-community-alliance/dependency-container (2.0.3): Downloading (100%)
- Installing contao-community-alliance/event-dispatcher (2.0.5): Downloading (100%)
- Installing contao-community-alliance/events-contao-bindings (4.4.5): Downloading (100%)
- Installing contao-community-alliance/translator (2.1.4): Downloading (100%)
- Installing jrgregory/m17-sticky-backend-footer (2.0.9): Downloading (100%)
- Installing symfony/validator (v4.4.5): Downloading (100%)
- Installing symfony/intl (v5.0.5): Downloading (100%)
- Installing symfony/polyfill-intl-icu (v1.14.0): Downloading (100%)
- Installing symfony/form (v4.4.5): Downloading (100%)
- Installing sensio/framework-extra-bundle (v5.5.3): Downloading (100%)
- Installing netzmacht/workflow (2.1.0): Downloading (100%)
- Installing netzmacht/contao-toolkit (3.3.2): Downloading (100%)
- Installing adamquaile/symfony-fieldset-bundle (v1.1.3): Downloading (100%)
- Installing netzmacht/contao-form-bundle (1.1.1): Downloading (100%)
- Removing menatwork/contao-multicolumnwizard (3.3.16)
- Installing menatwork/contao-multicolumnwizard-bundle (3.4.4): Downloading (100%)
- Installing mathiasverraes/classfunctions (1.1.0): Downloading (100%)
- Installing friends-of-contao/contao-associategroups (1.3.2): Downloading (100%)
- Installing contao-community-alliance/meta-palettes (2.0.7): Downloading (100%)
- Installing netzmacht/contao-workflow (2.1.1): Downloading (100%)
Generating optimized autoload files
Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 89:
An error occurred while executing the "contao:install-web-dir" command:
In YamlFileLoader.php line 693:
The file "XXXXX/vendor/netzmacht/contao-workflow/src/Resources/config/listeners.yml" do
es
not contain valid YAML: Unexpected characters near "
- {
name: 'kernel.event_listener',
event: 'netzmacht.contao_workflow.create_transition',
method: 'createExpressionConditions'
}
- {
name: 'kernel.event_listener',
event: 'netzmacht.contao_workflow.create_transition',
method: 'createPropertyConditions'
}" at line 114.
In Inline.php line 94:
Unexpected characters near "
- {
name: 'kernel.event_listener',
event: 'netzmacht.contao_workflow.create_transition',
method: 'createExpressionConditions'
}
- {
name: 'kernel.event_listener',
event: 'netzmacht.contao_workflow.create_transition',
method: 'createPropertyConditions'
}" at line 114.
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [...]