From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20237: Emacs built on Windows cannot figure out path correctly Date: Sat, 04 Apr 2015 13:34:17 +0300 Message-ID: <83384gp4gm.fsf@gnu.org> References: <551ADED4.4010903@gmail.com> <83twx1rpng.fsf@gnu.org> <551B109C.4050505@gmail.com> <83pp7osh9l.fsf@gnu.org> <551BF79F.3010201@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1428143722 13202 80.91.229.3 (4 Apr 2015 10:35:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Apr 2015 10:35:22 +0000 (UTC) Cc: 20237@debbugs.gnu.org To: Da Zhang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 04 12:35:09 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YeLPx-0005Lm-1r for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Apr 2015 12:35:09 +0200 Original-Received: from localhost ([::1]:36816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeLPw-0000IB-Fd for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Apr 2015 06:35:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeLPt-0000H3-Lr for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2015 06:35:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YeLPq-0005CM-Gl for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2015 06:35:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeLPq-0005Bo-EM for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2015 06:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YeLPp-0006wb-TL for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2015 06:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Apr 2015 10:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20237 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20237-submit@debbugs.gnu.org id=B20237.142814366826644 (code B ref 20237); Sat, 04 Apr 2015 10:35:01 +0000 Original-Received: (at 20237) by debbugs.gnu.org; 4 Apr 2015 10:34:28 +0000 Original-Received: from localhost ([127.0.0.1]:44351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeLPH-0006vg-HO for submit@debbugs.gnu.org; Sat, 04 Apr 2015 06:34:27 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:60426) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeLPF-0006vP-9O for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 06:34:26 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NMA00N002I24100@a-mtaout20.012.net.il> for 20237@debbugs.gnu.org; Sat, 04 Apr 2015 13:34:18 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMA00NSB2P53910@a-mtaout20.012.net.il>; Sat, 04 Apr 2015 13:34:18 +0300 (IDT) In-reply-to: <551BF79F.3010201@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101177 Archived-At: > Date: Wed, 01 Apr 2015 09:50:23 -0400 > From: Da Zhang > CC: 20237@debbugs.gnu.org > > The commands I used were: > elpy-shell-send-region-or-buffer > and > elpy-shell-switch-to-shell > > Under previous Emacs version 24.4.90, the same package and command worked fine. What does the following command display? M-: (python-shell-parse-command) RET Also, what does this display? M-: (split-string-and-unquote (python-shell-parse-command)) RET Please also note that you configured python.el to use the ipython script as the interpreter, which AFAIK is not a .exe program, whereas the error message you cited: apply: Searching for program: no such file or directory, c\:/Python27/Scripts/ipython.exe seems to indicate that Emacs tries to look for a .exe program there, or perhaps it doesn't recognize ipython the script as a program. Not sure if this is relevant to the problem. Finally, can you set debug-on-error to t, load both python.el and elpy.el as .el files (NOT .elc!), and then reproduce the problem and show the full backtrace that the debugger displays? Thanks.