YCM

20 views
Skip to first unread message

Jeff Bullard

unread,
Aug 18, 2021, 2:39:28 PM8/18/21
to ycm-users
On my iMac running Catalina 10.15.7, YCM suddenly stopped working with macvim, after weeks of working just fine.  I got the usual message, "YCM server shut down, restart with ..." but restarting just immediately shut down again.

Going to the troubleshooting pages on the ycm github repo, I went through the various steps for rebuilding.  When using the system's python3, I get the following error during compile time:

/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:807:2:error:

      Unsupported architecture

#error Unsupported architecture

On the other hand, if I use conda's python3 (which I understand is not recommended), I get no errors during compile time but then YCM doesn't even start up when I open macvim.  For example :YcmDebugInfo is unrecognized.

I am assuming that something changed on my system to cause this, some kind of update or something like that, but at this point I am out of ideas and I'm hoping someone can point me in the right direction.

Ben Jackson

unread,
Aug 19, 2021, 3:11:19 AM8/19/21
to ycm-users
This has been reported before. There’s some tips here https://github.com/ycm-core/YouCompleteMe/issues/3770#issuecomment-700841907

Jeff Bullard

unread,
Aug 20, 2021, 9:38:05 AM8/20/21
to ycm-users
Thank you for that lead.  Downloading Python 3.9 from python.org did the trick.  I had already heard that Apple's python3 didn't work for this, but I would have thought that at least Anaconda's python3 would have worked.

Ben Jackson

unread,
Aug 20, 2021, 9:55:17 AM8/20/21
to Jeff Bullard, ycm-users
As mentioned in the FAQ, anaconda python is known not to work with YCM

-- 
You received this message because you are subscribed to a topic in the Google Groups "ycm-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ycm-users/Xu6af1t08Rs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ycm-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ycm-users/5d1ab658-17dd-4635-9bcc-16f966ad6c3bn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages