From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juan =?utf-8?Q?Jos=C3=A9_Garc=C3=ADa-Ripoll?= Newsgroups: gmane.emacs.devel Subject: Re: Problems with call-process (= identifying run-python issues) Date: Wed, 19 Aug 2020 18:23:05 +0200 Message-ID: <86k0xud2qe.fsf@csic.es> References: <86h7t0nkiw.fsf@csic.es> <831rk4ezbu.fsf@gnu.org> <83wo1vexck.fsf@gnu.org> <865z9fggec.fsf@csic.es> <83a6yqem0x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3208"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) Cc: Juan =?utf-8?Q?Jos=C3=A9_Garc=C3=ADa-Ripoll?= , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 19 18:25:17 2020 Return-path: Envelope-to: ged-emacs-devel@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 1k8Qtp-0000l8-3f for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Aug 2020 18:25:17 +0200 Original-Received: from localhost ([::1]:42422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8Qto-0002E1-4o for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Aug 2020 12:25:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8Qro-0008Rl-QO for emacs-devel@gnu.org; Wed, 19 Aug 2020 12:23:12 -0400 Original-Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:38650) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8Qrm-0008Q1-V9; Wed, 19 Aug 2020 12:23:12 -0400 Original-Received: by mail-wr1-x443.google.com with SMTP id a14so22127657wra.5; Wed, 19 Aug 2020 09:23:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=iEDy1bUZu2r1pOgQBunQIP9AuRjAG1A+XEgg1HF6xAc=; b=KSoowKSmLNu9AXBMJclNAhLRFULjaDsDTFM4HlgJ6zVaHcAcTTj1m3Q4pY65MrZ4pA 8DC41Eg1kgF63yVe9V5u9hMFTMJZsGpGUpyquybka7d8vNc1PqzSQV6APsVL7GKh7fcz G+GbYrF7xSbOQdgsaK5WJWsF2rkvwlGM5K9NqJOBwFhYAmvTBfX55ki181mIeTL7wsbd bHUrita11sgN53WAbrwJVWmjYAkO2R+ZFHhla9/Mk8wIDOlYWvPFxbL3JC/nbLkQOw2T oCX7nEyibdXt3VVhyHYq8+U02Xlq7JGAPgY9xvsBZrSJPQ1zArdtoLuFHBxFtO12kVNQ 4fYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=iEDy1bUZu2r1pOgQBunQIP9AuRjAG1A+XEgg1HF6xAc=; b=gwqqJ+z/QPsX0IDbC7ftq6kha+YaWjavRnnR2nyU5In//c0Bdjg0Y6yZj1JOVeKY72 hJ++fQ3SrszRYgJtIWDoeEuEqfa/SFe3xkhwQJrzH2R/hYfHC+G1hbdhQ7nkncXgv3D1 aGXtm+mYoyUAULJgE/JSI8rcu9x4TReHFvr6cqdhxvumbs7uPGix99th4o4MRkCct1mK dcX/rLc3j0rIBifvyVXjjUnVzXfWBkD1iwh8lWRRQDL78DT5UXMfc09UjX/8d2Iz34Vy 74j++T+ojeiuSfn+kNFWWWOovhzZTdg+ABqoU1rxTa/PkbO5CDCwsXNFDbxE0idERwLZ 4Hog== X-Gm-Message-State: AOAM530RPY9pnaEqtkH4CLfg3WwkGikc4aRvWn8oY4SXlivIsgH7vA78 L0GED9UTEJyBoYE0kra6JUXMv/snNF8d X-Google-Smtp-Source: ABdhPJxq3JqLrit5bj+V7Om/+QsQoHX9kBLkDsmjfjS++mUBVDT2JID8Mhb+N22xntt9E0TA6OE8Jg== X-Received: by 2002:a5d:5052:: with SMTP id h18mr4967391wrt.156.1597854188278; Wed, 19 Aug 2020 09:23:08 -0700 (PDT) Original-Received: from DESKTOP-3A8AAJ0 ([139.47.64.253]) by smtp.gmail.com with ESMTPSA id t11sm38083450wrs.66.2020.08.19.09.23.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Aug 2020 09:23:07 -0700 (PDT) In-Reply-To: <83a6yqem0x.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 19 Aug 2020 17:41:02 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=juanjose.garciaripoll@gmail.com; helo=mail-wr1-x443.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:254023 Archived-At: Eli Zaretskii writes: > I have now tried this on 2 different Windows systems, one of them > Windows 10, and I cannot reproduce what you describe [...] > So I think either this is due to some local configuration issue on > your system, or there's some part of the reproduction recipe that you > omitted. Those are the only the steps needed. I am using runemacs.exe -Q in the tests. I do not recall any "weird" configuration and I reproduce this problem with Emacs 26.3 and 27, both on my laptop. I am a bit at a loss at how to debug this further. Maybe I will have to attach a gdb while Emacs is running if that is even possible on Windows. > Working with Python on Windows has its quirks, because you need to > make sure Python uses unbuffered writes to its standard output. That > is why I wanted to be sure Python is not involved here. Precisely because it has its quirks, I had to create a batch file as wrapper for Python (invoking Anaconda environment, setting right input mode, etc). That is how I realized what was going on -- apparently only on my system :-/ --=20 Juan Jos=C3=A9 Garc=C3=ADa Ripoll Quantum Information and Foundations Group Institute of Fundamental Physics IFF-CSIC Calle Serrano 113b, Madrid 28006 Spain http://quinfog.hbar.es - http://juanjose.garcia.ripoll