From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9_?= =?UTF-8?Q?=D0=9F=D0=B0=D1=80=D0=B0=D0=BC=D0=BE=D0=BD=D0=BE=D0=B2?= Newsgroups: gmane.emacs.bugs Subject: bug#28580: python.el: native completion setup failed Date: Sun, 24 Sep 2017 21:02:53 +0300 Message-ID: References: <87lgl4m5uo.fsf@users.sourceforge.net> <87a81km1d4.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11434264b0366f0559f3422e" X-Trace: blaine.gmane.org 1506276250 1075 195.159.176.226 (24 Sep 2017 18:04:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2017 18:04:10 +0000 (UTC) Cc: 28580@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 24 20:04:04 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwBG8-0008In-2k for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 20:04:04 +0200 Original-Received: from localhost ([::1]:38958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwBGF-0002uy-IY for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 14:04:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwBGA-0002ti-CP for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 14:04:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwBG7-0003MI-5A for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 14:04:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47747) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwBG7-0003MC-16 for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 14:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dwBG6-0007rM-JY for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 14:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9_?= =?UTF-8?Q?=D0=9F=D0=B0=D1=80=D0=B0=D0=BC=D0=BE=D0=BD=D0=BE=D0=B2?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Sep 2017 18:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28580 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28580-submit@debbugs.gnu.org id=B28580.150627622130183 (code B ref 28580); Sun, 24 Sep 2017 18:04:02 +0000 Original-Received: (at 28580) by debbugs.gnu.org; 24 Sep 2017 18:03:41 +0000 Original-Received: from localhost ([127.0.0.1]:56428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwBFl-0007ql-J9 for submit@debbugs.gnu.org; Sun, 24 Sep 2017 14:03:41 -0400 Original-Received: from mail-qt0-f182.google.com ([209.85.216.182]:50489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwBFj-0007qZ-Rr for 28580@debbugs.gnu.org; Sun, 24 Sep 2017 14:03:40 -0400 Original-Received: by mail-qt0-f182.google.com with SMTP id f15so5008377qtf.7 for <28580@debbugs.gnu.org>; Sun, 24 Sep 2017 11:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ZfRqQkRpYabRW+HjTyYKiL8oDZ5iiFr8sP4GYJizvaE=; b=XxzytdnPzwGTiSvCiPLFe10Cx6qkMVXW2doKZnzYIqVoWBtrEdD6c1Rf/EyW8gU4UC KwwkQXul8bePxZytvr+fSFUJJ7Uvpd+fyH1t91q9ouaoKaWBzt49xuO5oYtkIO6fmmtI 6c9gi15d/ZeKtbQZtQXPSSg/jOUe4y8ucvHsPrxHCfZVhv0mxum5j7FF/jlIuQ4O8vSI CEUITk6VEBhjXpkzpInioH/jR4caAYoviMYcemeC0y3r+V59aT18goLLwKbVwB7VxB73 HzjxiCQl8y2AL/oeCJyP4RVRz3Q1o++nv5ArjR7cV5vy5aIejkKQvSe97mwTaLYvgmgP oj7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ZfRqQkRpYabRW+HjTyYKiL8oDZ5iiFr8sP4GYJizvaE=; b=lkL3zry3CmKn8DMEzM3rFVkaKCxGQT0ybBx3JYwuTV3Vj6u4AHBLw8PsBlIKjvAvAM epV9QbWLvla7KZr0L7IihWZMPEAd5D2MOuHl8cH5dEq5P01KCwwm7GCUajEZCZhSsbYr jb9h0o6xIN442EGpbabMTbRNbOn9zKxWQxc/7frilmTkGALZSTUVO/FdlpDfifpOh0Ix 5brBR8na9w4Pzwvj6oKmZdHrFH1ZHK2KVF4f5ylBQiI8o+X8vHV4FQt3P0xYbIP8plDG lw1akBvCgGifbytiFanpBFe47pAvJhh5xbF2WOlQm6mXeSKvx8/7V3HoXpjjql0dLv1I Q6Eg== X-Gm-Message-State: AHPjjUihMF7Vr9M1S/GOLbqFWfIagyTl+2ehJWOBl4XEhH99d9cxMLOy G9CXyqZOxesxdkCkfkSZxJ4/Zmbei8zipqkcu2E= X-Google-Smtp-Source: AOwi7QCen7syj/Bv73G0J+BS//sU/QidwTaSuuyTTBiJNaAdbOPVmnb7nM9/qm70KW9APsL/TrhNQawZl/cza2QvDz8= X-Received: by 10.200.51.69 with SMTP id u5mr8075290qta.204.1506276214321; Sun, 24 Sep 2017 11:03:34 -0700 (PDT) Original-Received: by 10.200.43.88 with HTTP; Sun, 24 Sep 2017 11:02:53 -0700 (PDT) In-Reply-To: <87a81km1d4.fsf@users.sourceforge.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137354 Archived-At: --001a11434264b0366f0559f3422e Content-Type: text/plain; charset="UTF-8" Hi Noam! 2017-09-24 20:51 GMT+03:00 Noam Postavsky : > > It didn't help, unfortunately: I was indeed missing pyreadline, but > > installing it from conda repo made no difference :-( > > Neither did using "-i -u" as interactive Python arg. > > > > I vaguely remember this working with older Pythons -- what could > > probably change? > > Hmm, can you try running the python code from > python-shell-completion-native-setup manually from a prompt and see what > comes out? (or where it goes wrong) > It is too tiresome to input it one-by-one line! When I invoke >py -i t.py where t.py contains the code you listed, all is silently Ok. Should I take time and enter it line-by-line, interactively -- or the problem is likely elsewhere? Best wishes, Andrey Paramonov --001a11434264b0366f0559f3422e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Noam!

2017-09-24 20:51 GMT+03:00 Noam Postavsky <npostavs@users.sourceforge.net>:
> It didn't help, unfortunately: I was indee= d missing pyreadline, but
> installing it from conda repo made no difference :-(
> Neither did using "-i -u" as interactive Python arg.
>
> I vaguely remember this working with older Pythons -- what could
> probably change?

Hmm, can you try running the python code from
python-shell-completion-native-setup manually from a prompt and see wh= at
comes out? (or where it goes wrong)

It = is too tiresome to input it one-by-one line!
When I invoke
<= div>>py -i t.py
where t.py contains the code you listed, all i= s silently Ok.
Should I take time and enter it line-by-line, inte= ractively -- or the problem is likely elsewhere?

B= est wishes,
Andrey Paramonov

--001a11434264b0366f0559f3422e--