2011-07-23 17 views
1

HDDがクラッシュした後、symfony2アプリをSVNサーバーからEclipseに再インポートする必要がありました。symfony2 app console:利用可能なコマンドがありません

すべてを同期した後、もうコンソールを使用できません。私は2つのコマンドだけを得る:リストと助け。

は、私が試した:

[InvalidArgumentException]         
    There are no commands defined in the "assets" namespace. 

    [InvalidArgumentException]        
    There are no commands defined in the "cache" namespace. 

私の設定は非常に簡単です::終わり

php bin/vendors install --reinstall 

、私は、次のメッセージが表示されました - Ubuntuのサーバー11.04(64-ビット) - のVirtualBox OSE

どうすれば修正できますか?

[email protected]:/var/www/projets/Simoov2/src$ app/console list 
    Symfony version 2.0.0-RC4 - app/dev/debug 

    Usage: 
     [options] command [arguments] 

    Options: 
     --help   -h Display this help message. 
     --quiet   -q Do not output any message. 
     --verbose  -v Increase verbosity of messages. 
     --version  -V Display this program version. 
     --ansi    Force ANSI output. 
     --no-ansi   Disable ANSI output. 
     --no-interaction -n Do not ask any interactive question. 
     --shell   -s Launch the shell. 
     --env   -e The Environment name. 
     --no-debug   Switches off debug mode. 

    Available commands: 
     help Displays help for a command 
     list Lists commands 
+0

symfonyと関連付けることができませんでした。私は別のプロジェクトを作成し、symfony2 RC5をインストールし、同じメッセージを得ました...まだ調査中です... – ocornu

+0

私は同じ問題を抱えていますが、どのようにこの問題を修正しましたか? – Geert

+0

さて、 "projets"フォルダはVirtualbox共有フォルダシステムを使って "/ var/www"内にマウントされました。私はそれがVirtualbox共有フォルダまたはゲストの追加に関連していたかどうかわからないが、Virtualboxを4.1.2にアップグレードすることでこの問題が解決された。 – ocornu

答えて

1

OK:ここ

アプリ/コンソールlistコマンドの結果です。私が思ったように、これはsymfony2とは関係がありませんが、virtualboxのマウントシステムに関連しています。

+1

とか?同じ問題を解決するために正しい方法で私を置くことができますか?ありがとう – tanzio

関連する問題