Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer matching anything after upgrading to Ubuntu 16.04 #39

Open
rousisk opened this issue Jun 6, 2016 · 5 comments
Open

No longer matching anything after upgrading to Ubuntu 16.04 #39

rousisk opened this issue Jun 6, 2016 · 5 comments

Comments

@rousisk
Copy link

rousisk commented Jun 6, 2016

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
Copy link

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
Copy link

lejoko commented Aug 9, 2016

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

@rousisk
Copy link
Author

rousisk commented Aug 9, 2016

@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
Copy link

+1

@noscript
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants