JazzCore / ctrlp-cmatcher

CtrlP C matching extension
BSD 2-Clause "Simplified" License
207 stars 22 forks source link

No longer matching anything after upgrading to Ubuntu 16.04 #39

Open rousisk opened 8 years ago

rousisk commented 8 years ago

Hi,

I have upgraded to the new LTS of ubuntu (16.04) and noticed that cmatcher doesn't match anything anymore. Regardless of what I type, "no entries" is returned.

I removed cmatcher completely and reinstalled/re-run the setup scripts:

➜  ctrlp-cmatcher git:(master) python --version
Python 2.7.11+
➜  ctrlp-cmatcher git:(master) ./install.sh    
find python2 -> python
running build
running build_ext

but no luck so far.

I would be happy to try to debug it further but I am not sure where/what to look into next.

Thanks!

ilikeorangutans commented 8 years ago

Same issue here. Only thing I can add is a warning during compile:

fuzzycomt.c:436:16: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 PyMODINIT_FUNC initfuzzycomt()
                ^
lejoko commented 8 years ago

Same problem here. Would be happy to help debugging, but don't know where to start.

rousisk commented 8 years ago

@ilikeorangutans @lejoko and for anyone else running into this issue:

I didn't have any luck with getting ctrlp-cmatcher to work for me, but since it was an essential part of my everyday development, I thankfully found a nice replacement for it (in most cases you can't tell the difference, I think): https://github.com/FelikZ/ctrlp-py-matcher

Jaco-Pretorius commented 7 years ago

+1

noscript commented 6 years ago

It looks like my vim installation is compiled with -python +python3. If you run vim with -V9, you will see

line 19: sourcing "ctrlp-cmatcher/autoload/matcher.vim"
Error detected while processing ctrlp-cmatcher/autoload/matcher.vim:
line   26:
E319: Sorry, the command is not available in this version: python << ImportEOF
Error detected while processing ctrlp-cmatcher/autoload/matcher.vim:

The solution would be to port the plugin to Python 3 or rebuild vim with +python.