CoreSphere / ConsoleBundle

Commandline interface in browser for Symfony2
BSD 3-Clause "New" or "Revised" License
140 stars 54 forks source link

Invalid Argument Exception #55

Closed Guilain closed 9 years ago

Guilain commented 9 years ago

Hi Since the last update, i have this error when i don't add argument or when i add two arguments ...

[InvalidArgumentException]
The file "/xx/xx/xx/www/app/config/config_Array.yml" does not exist.

laszlokorte commented 9 years ago

@TomasVotruba any idea? I will take a look at it my self later but maybe you know it out of your head.

TomasVotruba commented 9 years ago

@Guilain Hi, could you describe more details?

Guilain commented 9 years ago

@TomasVotruba Hi :) There is no entry in logs ... (The last command in dev env is "cache:clear --env=dev --no-debug")

CRITICAL - Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Warning: Missing argument 2 for Symfony\Component\HttpKernel\Kernel::__construct()" at /home/sylappsejz/sylapps/www/app/bootstrap.php.cache line 2374 
Context: {"exception":"Object(Symfony\\Component\\Debug\\Exception\\ContextErrorException)"} 

console

TomasVotruba commented 9 years ago

@Guilain Thanks for more details. Before I check it, what version do you use? Last stable?

Guilain commented 9 years ago

@TomasVotruba i use this version : coresphere/console-bundle 0.3.0

laszlokorte commented 9 years ago

Any progress here? have you tried using the the 0.2.0 version instead?

ademlabs commented 9 years ago

I have the same problem here, whenever I issue a cache:clear --env=prod (when running in dev mode) I get the Internal server error and in log file I have this: "request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Warning: Missing argument 2 for Symfony\Component\HttpKernel\Kernel::__construct()" at /var/www/site/app/bootstrap.php.cache line 2374 {"exception":"[object] (Symfony\Co"

However, using cache:clear --env=dev works fine.

laszlokorte commented 9 years ago

https://github.com/CoreSphere/ConsoleBundle/tree/laszlokorte-patch-1 should fix this error

laszlokorte commented 9 years ago

@Guilain @arvind-d should be fixed now in 0.3.1. Does it work for you?

ademlabs commented 9 years ago

@laszlokorte, I confirm that 0.3.1 fixed my issue. Thank you for looking into this!

laszlokorte commented 9 years ago

@arvind-d Thank you for your feedback.