ctrlp-cmatcher icon indicating copy to clipboard operation
ctrlp-cmatcher copied to clipboard

No longer matching anything after upgrading to Ubuntu 16.04

Open rousisk opened this issue 9 years ago • 5 comments

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!

rousisk avatar Jun 06 '16 10:06 rousisk

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()
                ^

ilikeorangutans avatar Jun 23 '16 22:06 ilikeorangutans

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

lejoko avatar Aug 09 '16 09:08 lejoko

@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

rousisk avatar Aug 09 '16 10:08 rousisk

+1

Jaco-Pretorius avatar Jul 25 '17 19:07 Jaco-Pretorius

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.

noscript avatar Dec 11 '17 11:12 noscript