From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.bugs Subject: bug#54860: 28.1; Problem with run-python Date: Mon, 11 Apr 2022 17:54:56 +0100 Message-ID: <87zgkr1rxb.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10573"; mail-complaints-to="usenet@ciao.gmane.io" To: 54860@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 11 19:08:23 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ndxWZ-0002ds-Qi for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Apr 2022 19:08:23 +0200 Original-Received: from localhost ([::1]:38040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndxWY-0005mW-Pr for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Apr 2022 13:08:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndxLa-0005IP-Po for bug-gnu-emacs@gnu.org; Mon, 11 Apr 2022 12:57:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndxLZ-0004PG-WD for bug-gnu-emacs@gnu.org; Mon, 11 Apr 2022 12:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndxLZ-0004nC-Tu for bug-gnu-emacs@gnu.org; Mon, 11 Apr 2022 12:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Thorpe Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Apr 2022 16:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54860 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164969619418383 (code B ref -1); Mon, 11 Apr 2022 16:57:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Apr 2022 16:56:34 +0000 Original-Received: from localhost ([127.0.0.1]:45582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndxL7-0004mR-Ip for submit@debbugs.gnu.org; Mon, 11 Apr 2022 12:56:33 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:59370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndxL6-0004mK-AI for submit@debbugs.gnu.org; Mon, 11 Apr 2022 12:56:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndxL1-0004vF-R1 for bug-gnu-emacs@gnu.org; Mon, 11 Apr 2022 12:56:30 -0400 Original-Received: from outbound-smtp17.blacknight.com ([46.22.139.234]:44553) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndxKz-0004Hp-60 for bug-gnu-emacs@gnu.org; Mon, 11 Apr 2022 12:56:26 -0400 Original-Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp17.blacknight.com (Postfix) with ESMTPS id C001D1C52B0 for ; Mon, 11 Apr 2022 17:56:21 +0100 (IST) Original-Received: (qmail 12613 invoked from network); 11 Apr 2022 16:56:21 -0000 Original-Received: from unknown (HELO rt-inspiron-3480) (rt@robertthorpeconsulting.com@[109.78.29.216]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 11 Apr 2022 16:56:21 -0000 Received-SPF: pass client-ip=46.22.139.234; envelope-from=rt@robertthorpeconsulting.com; helo=outbound-smtp17.blacknight.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229732 Archived-At: I recently upgraded to Emacs 28.1 on Microsoft Windows. I'm having problems with Inferior Python mode. On Emacs 27.2 that mode works. However, it doesn't work on Emacs 28.1, not even from emacs -Q. Reproduction is easy, from emacs -Q do "M-x run-python" on a Windows 10 machine. The variable exec-path contains the path to the python interpreter ("C:/Program Files/Python39/"). Emacs is correctly picking up the components of exec-path from my PATH environmental variable. However, run-python gives the error: "Python was not found; run with arguments to install from the Microsoft Store, or disable this shortcut from Setting > Manage App Execution Aliases. Process Python exited abnormally with code 49" I also get a warnings buffer telling me that the python prompts cannot be detected. In the Microsoft "Manage App Execution Aliases" I have turned off all python related aliases. The python shell works fine from a Windows cmd shell. (I am sending this from Emacs 27.2 on Arch but I have copied over the debug text blocks below from the machine with the problem). BR, Robert Thorpe In GNU Emacs 28.1 (build 52, x86_64-w64-mingw32) of 2022-04-04 built on AVALON Repository revision: 5a223c7f2ef4c31abbd46367b6ea83cd19d30aa7 Repository branch: heads/emacs-28.1 Windowing system distributor 'Microsoft Corp.', version 10.0.19042 System Description: Microsoft Windows 10 Enterprise (v10.0.2009.19042.1586) Configured using: 'configure --without-dbus --with-native-compilation --without-compress-install CFLAGS=-O2' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XPM ZLIB (NATIVE_COMP present but libgccjit not available) Important settings: value of $LANG: ENI locale-coding-system: cp1252 Major mode: Inferior Python Minor modes in effect: compilation-shell-minor-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils compile text-property-search warnings python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete parse-time iso8601 time-date format-spec auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map seq byte-opt gv bytecomp byte-compile cconv comint ring cl-loaddefs cl-lib ansi-color iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 74179 7585) (symbols 48 8907 1) (strings 32 27995 1889) (string-bytes 1 962898) (vectors 16 17454) (vector-slots 8 249009 10766) (floats 8 43 224) (intervals 56 253 0) (buffers 992 14))