m2mdas / phpcomplete-extended

A fast, extensible, context aware autocomplete plugin for PHP composer projects with code inspection features.
MIT License
216 stars 23 forks source link

error generating index #47

Closed allan-simon closed 9 years ago

allan-simon commented 9 years ago

tell me if i can provide more useful information here there the output :

(I'm using vim 7.4 on ubuntu 14.10 64 bits )

Composer project detected, Do you want to create index? [yes/no]: yes

Generating index... classmap
PHP Warning:  require_once(/home/bst/git/smg_yicai/mms/vendor/symfony/symfony/vendor/autoload.php): failed to open stream: No such file or directory in /home
/bst/git/smg_yicai/mms/vendor/symfony/symfony/autoload.php.dist on line 9
PHP Stack trace:
PHP   1. {main}() /home/bst/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:0
PHP   2. IndexGenerator->generateIndex() /home/bst/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:57
PHP   3. IndexGenerator->processClass() /home/bst/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:491
PHP   4. IndexGenerator->getClassInfo() /home/bst/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:594
PHP   5. ReflectionClass->__construct() /home/bst/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:778
PHP   6. spl_autoload_call() /home/bst/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:778
PHP   7. Composer\Autoload\ClassLoader->loadClass() /home/bst/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:0
PHP   8. Composer\Autoload\includeFile() /home/bst/git/smg_yicai/mms/vendor/composer/ClassLoader.php:301
PHP   9. include() /home/bst/git/smg_yicai/mms/vendor/composer/ClassLoader.php:412
PHP  10. require_once() /home/bst/git/smg_yicai/mms/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/app/AppKernel.php:26

Warning: require_once(/home/bst/git/smg_yicai/mms/vendor/symfony/symfony/vendor/autoload.php): failed to open stream: No such file or directory in /home/bst/
git/smg_yicai/mms/vendor/symfony/symfony/autoload.php.dist on line 9

Call Stack:
    0.0026     579992   1. {main}() /home/bst/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:0
    0.0163    2096152   2. IndexGenerator->generateIndex() /home/bst/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:57
   11.0243  223453920   3. IndexGenerator->processClass() /home/bst/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:491
   11.0243  223454056   4. IndexGenerator->getClassInfo() /home/bst/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:594
   11.0243  223461976   5. ReflectionClass->__construct() /home/bst/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:778
   11.0243  223462464   6. spl_autoload_call() /home/bst/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:778
   11.0243  223462544   7. Composer\Autoload\ClassLoader->loadClass() /home/bst/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:0
   11.0243  223462544   8. Composer\Autoload\includeFile() /home/bst/git/smg_yicai/mms/vendor/composer/ClassLoader.php:301
   11.0246  223511568   9. include('/home/bst/git/smg_yicai/mms/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/app/AppKernel.php'
) /home/bst/git/smg_yicai/mms/vendor/composer/ClassLoader.php:412
   11.0247  223514920  10. require_once('/home/bst/git/smg_yicai/mms/vendor/symfony/symfony/autoload.php.dist') /home/bst/git/smg_yicai/mms/vendor/symfony/sy
mfony/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/app/AppKernel.php:26

PHP Fatal error:  require_once(): Failed opening required '/home/bst/git/smg_yicai/mms/vendor/symfony/symfony/vendor/autoload.php' (include_path='/home/bst/g
it/smg_yicai/mms/vendor/phpunit/php-text-template:/home/bst/git/smg_yicai/mms/vendor/phpunit/php-timer:/home/bst/git/smg_yicai/mms/vendor/phpunit/php-file-it
erator:.:/usr/share/php:/usr/share/pear') in /home/bst/git/smg_yicai/mms/vendor/symfony/symfony/autoload.php.dist on line 9
PHP Stack trace:
allan-simon commented 9 years ago

hmmm relaunching php composer.phar install seems to solve the problem (though the project was working correctly)