Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work in my Symphony 3 instance #5

Closed
mityukov opened this issue Mar 22, 2016 · 1 comment
Closed

Does not work in my Symphony 3 instance #5

mityukov opened this issue Mar 22, 2016 · 1 comment
Assignees

Comments

@mityukov
Copy link

Hi, there's a problem I cannot "debug": after installing the bundle (all according to your README), I get the following error messages:

#1: InvalidArgumentException in YamlFileLoader.php line 335:
The file "/Users/pilat/version-control/symfony/hello_world/vendor/vitre/php-console-bundle/Vitre/PhpConsoleBundle/DependencyInjection/../Resources/config/services.yml" does not contain valid YAML.
in YamlFileLoader.php line 335
at YamlFileLoader->loadFile('/Users/pilat/version-control/symfony/hello_world/vendor/vitre/php-console-bundle/Vitre/PhpConsoleBundle/DependencyInjection/../Resources/config/services.yml') in YamlFileLoader.php line 44
at YamlFileLoader->load('services.yml') in VitrePhpConsoleExtension.php line 85
at VitrePhpConsoleExtension->load(array(array('enabled' => true, 'driver' => 'php_console', 'source_base_path' => '/Users/pilat/version-control/symfony/hello_world/app', 'encoding' => 'utf-8', 'ip' => array('192.168.*.*'), 'ssl_only' => false, 'handle' => array('errors' => true, 'exceptions' => true, 'forward' => true))), object(ContainerBuilder)) in MergeExtensionConfigurationPass.php line 55
at MergeExtensionConfigurationPass->process(object(ContainerBuilder)) in MergeExtensionConfigurationPass.php line 39
at MergeExtensionConfigurationPass->process(object(ContainerBuilder)) in Compiler.php line 107
at Compiler->compile(object(ContainerBuilder)) in ContainerBuilder.php line 545
at ContainerBuilder->compile() in Kernel.php line 477
at Kernel->initializeContainer() in Kernel.php line 117
at Kernel->boot() in Kernel.php line 166
at Kernel->handle(object(Request)) in app_dev.php line 30
at require('/Users/pilat/version-control/symfony/hello_world/web/app_dev.php') in router_dev.php line 40


#2: ParseException in Inline.php line 241:
The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 7 (near "arguments: [@service_container]").
in Inline.php line 241
at Inline::parseScalar('[@service_container]', array(',', ']'), array('"', '''), '19', true, array()) in Inline.php line 317
at Inline::parseSequence('[@service_container]', '19', array()) in Inline.php line 63
at Inline::parse('[@service_container]', false, false, false, array()) in Parser.php line 504
at Parser->parseValue('[@service_container]', false, false, false, 'mapping') in Parser.php line 231
at Parser->parse('class: %vitre_php_console.console.class% arguments: [@service_container] ', false, false, false) in Parser.php line 223
at Parser->parse('vitre_php_console: class: %vitre_php_console.console.class% arguments: [@service_container] ', false, false, false) in Parser.php line 223
at Parser->parse('parameters: vitre_php_console.console.class: Vitre\PhpConsoleBundle\Console services: vitre_php_console: class: %vitre_php_console.console.class% arguments: [@service_container] ') in YamlFileLoader.php line 333
at YamlFileLoader->loadFile('/Users/pilat/version-control/symfony/hello_world/vendor/vitre/php-console-bundle/Vitre/PhpConsoleBundle/DependencyInjection/../Resources/config/services.yml') in YamlFileLoader.php line 44
at YamlFileLoader->load('services.yml') in VitrePhpConsoleExtension.php line 85
at VitrePhpConsoleExtension->load(array(array('enabled' => true, 'driver' => 'php_console', 'source_base_path' => '/Users/pilat/version-control/symfony/hello_world/app', 'encoding' => 'utf-8', 'ip' => array('192.168.*.*'), 'ssl_only' => false, 'handle' => array('errors' => true, 'exceptions' => true, 'forward' => true))), object(ContainerBuilder)) in MergeExtensionConfigurationPass.php line 55
at MergeExtensionConfigurationPass->process(object(ContainerBuilder)) in MergeExtensionConfigurationPass.php line 39
at MergeExtensionConfigurationPass->process(object(ContainerBuilder)) in Compiler.php line 107
at Compiler->compile(object(ContainerBuilder)) in ContainerBuilder.php line 545
at ContainerBuilder->compile() in Kernel.php line 477
at Kernel->initializeContainer() in Kernel.php line 117
at Kernel->boot() in Kernel.php line 166
at Kernel->handle(object(Request)) in app_dev.php line 30
at require('/Users/pilat/version-control/symfony/hello_world/web/app_dev.php') in router_dev.php line 40
@Vitre Vitre self-assigned this Mar 22, 2016
@Vitre
Copy link
Owner

Vitre commented Mar 22, 2016

Thanks. Fixed in master.

@Vitre Vitre closed this as completed Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants