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

Index generation errors #38

Open ngleader opened 10 years ago

ngleader commented 10 years ago

Would you please help me ?

I got this screen

Generating autoload classmap
Generating index...
PHP Fatal error:  Class 'ComposerAutoloaderInit52544480775ec3d6892db8090a51a1a9' not found in /home/xedev/vimforphp/demo/phpunit/vendor/autoload.php on li
ne 7
PHP Stack trace:
PHP   1. {main}() /home/xedev/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:0
PHP   2. IndexGenerator->generateIndex() /home/xedev/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:57
PHP   3. IndexGenerator->processClass() /home/xedev/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:491
PHP   4. IndexGenerator->getClassInfo() /home/xedev/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:594
PHP   5. ReflectionClass->__construct() /home/xedev/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:778
PHP   6. spl_autoload_call() /home/xedev/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:778
PHP   7. Composer\Autoload\ClassLoader->loadClass() /home/xedev/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:0
PHP   8. Composer\Autoload\includeFile() /home/xedev/vimforphp/demo/phpunit/vendor/composer/ClassLoader.php:274
PHP   9. include() /home/xedev/vimforphp/demo/phpunit/vendor/composer/ClassLoader.php:382
PHP  10. require() /home/xedev/vimforphp/demo/phpunit/src/VimTest.php:2

Fatal error: Class 'ComposerAutoloaderInit52544480775ec3d6892db8090a51a1a9' not found in /home/xedev/vimforphp/demo/phpunit/vendor/autoload.php on line 7

Call Stack:
    0.0034     569496   1. {main}() /home/xedev/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:0
    0.0063     758248   2. IndexGenerator->generateIndex() /home/xedev/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:57
    3.4080   66739136   3. IndexGenerator->processClass() /home/xedev/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:491
    3.4080   66739272   4. IndexGenerator->getClassInfo() /home/xedev/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:594
    3.4080   66747192   5. ReflectionClass->__construct() /home/xedev/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:778
    3.4080   66747528   6. spl_autoload_call() /home/xedev/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:778
    3.4080   66747560   7. Composer\Autoload\ClassLoader->loadClass() /home/xedev/.vim/bundle/phpcomplete-extended/bin/IndexGenerator.php:0
    3.4080   66747560   8. Composer\Autoload\includeFile() /home/xedev/vimforphp/demo/phpunit/vendor/composer/ClassLoader.php:274
    3.4082   66841360   9. include('/home/xedev/vimforphp/demo/phpunit/src/VimTest.php') /home/xedev/vimforphp/demo/phpunit/vendor/composer/ClassLoader.ph
p:382
    3.4083   66842664  10. require('/home/xedev/vimforphp/demo/phpunit/vendor/autoload.php') /home/xedev/vimforphp/demo/phpunit/src/VimTest.php:2
EwanValentine commented 9 years ago

I'm having similar issues, did you have any luck with this?

mkusher commented 9 years ago

@EwanValentine @ngleader you may try using my https://github.com/mkusher/padawan.vim because @m2mdas doesn't support this plugin anymore

EwanValentine commented 9 years ago

@mkusher I don't think I'm using that plug-in, I literally just went through the README on this repo and installed the dependencies

mkusher commented 9 years ago

@EwanValentine so, try my plugin instead of this one

EwanValentine commented 9 years ago

@mkusher Tried yours, got 'Not an editor command PadawanGenerateIndex' unfortunately

mkusher commented 9 years ago

@EwanValentine can you open issue in my repo describing how have you installed plugin?