From: Noam Postavsky <npostavs@users.sourceforge.net>
To: "Андрей Парамонов" <cmr.pent@gmail.com>
Cc: 28580@debbugs.gnu.org
Subject: bug#28580: python.el: native completion setup failed
Date: Tue, 03 Oct 2017 00:01:02 -0400 [thread overview]
Message-ID: <873770ev7l.fsf@users.sourceforge.net> (raw)
In-Reply-To: <CAC4Co6NeAnLcDp=cwJ_PqW6wvMw2K4Cg7gY9ndf2bywUn_bLOA@mail.gmail.com> ("Андрей Парамонов"'s message of "Mon, 25 Sep 2017 00:37:38 +0300")
I've pushed a change [1: b33808ce77] so that errors will be more helpful
(at least for the case in the original report), e.g., when missing
readline, you would now see something along the lines of:
>>> python.el: native completion setup failed, <type 'exceptions.ImportError'>: No module named readline
[1: b33808ce77]: 2017-10-02 23:15:43 -0400
Give more helpful messages for python completion setup failures
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b33808ce77ef15c1f233790a2c93d9db4cc588ab>
Андрей Парамонов <cmr.pent@gmail.com> writes:
> 2017-09-25 0:31 GMT+03:00 Noam Postavsky <
> npostavs@users.sourceforge.net>:
>
> You can find it here: http://git.savannah.gnu.org/cgit/emacs.git/
> tree/lisp/progmodes/python.el?h=emacs-25.3
>
> Make sure to evaluate the changed source *after* you've loaded
> the
> builtin python.el.
>
> I'll try to find time to debug it.
Actually, I think this troubleshooting code I posted earlier would be
helpful in your case as well:
https://debbugs.gnu.org/cgi/bugreport.cgi?filename=py-native-completion.el;att=1;msg=35;bug=25753
Replace "python2" with the name of your python executable, and run via
emacs -Q -l py-native-completion.el
post the output found in the "*py native complete test*" buffer.
next prev parent reply other threads:[~2017-10-03 4:01 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-24 15:56 bug#28580: python.el: native completion setup failed Андрей Парамонов
2017-09-24 16:14 ` Noam Postavsky
2017-09-24 16:56 ` Андрей Парамонов
2017-09-24 17:51 ` Noam Postavsky
2017-09-24 18:02 ` Андрей Парамонов
2017-09-24 18:09 ` Noam Postavsky
2017-09-24 18:16 ` Андрей Парамонов
2017-09-24 19:39 ` Noam Postavsky
2017-09-24 19:57 ` Андрей Парамонов
2017-09-24 20:06 ` Noam Postavsky
2017-09-24 20:19 ` Андрей Парамонов
2017-09-24 20:30 ` Noam Postavsky
2017-09-24 20:34 ` Андрей Парамонов
2017-09-24 21:00 ` Noam Postavsky
2017-09-24 21:08 ` Андрей Парамонов
2017-09-24 21:31 ` Noam Postavsky
2017-09-24 21:37 ` Андрей Парамонов
2017-10-03 4:01 ` Noam Postavsky [this message]
2017-10-12 19:40 ` Noam Postavsky
2017-10-13 3:28 ` Noam Postavsky
2017-10-15 18:23 ` Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873770ev7l.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=28580@debbugs.gnu.org \
--cc=cmr.pent@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.