From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: kobarity Newsgroups: gmane.emacs.bugs Subject: bug#74894: 29.4; Emacs not responding when calling python-fix-imports Date: Sun, 22 Dec 2024 00:16:53 +0900 Message-ID: References: <5CLIOS.GV2CWQIRVGEG1@gmail.com> <86zfkp7210.fsf@gnu.org> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20096"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/31.0.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Cc: 74894@debbugs.gnu.org, Keglo Stephane To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 21 16:19:45 2024 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 1tP1GT-0004rQ-9g for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Dec 2024 16:19:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tP1Fw-0003D7-Gt; Sat, 21 Dec 2024 10:19:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tP1Fu-0003Cm-TW for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 10:19:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tP1Fu-00033o-Kz for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 10:19:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=3deDBanPpS23u//K2O2vhQ8+PocBBy9DJ0cVZzApZd0=; b=c9n7q6Rwm7FDPfKvtsrLZPUXjPTF92d0yDHnjI6H69ulyN77UjChj810t1F+rmixD7ltLhKNyUITZwO6sQUebfBLTfo69+ZZtQA5Qqj0UXP1XG4bhZeNx8N0VID2n9Nw0tpcmwoRMiT5iqLWOdi4r2GAlftsbnWSYqEeZh7RXxiFSCfXLamP8Y68A59zUP6q96QX6SEpX/8zPfVHByvV0pMr/y6xslWUt+hbjM+205HpplymdkGVeqh1Q9jN7iPdy4Rb20iZWTJ14ZAA8aXoIaIHUQXZCJ6GCQoxOBBQv905aXsDgigPrA8JvUjNdwJU04R0grmpAThqBd4lavngoQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tP1Fu-0000Hd-FX for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 10:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: kobarity Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Dec 2024 15:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74894 X-GNU-PR-Package: emacs Original-Received: via spool by 74894-submit@debbugs.gnu.org id=B74894.17347942881003 (code B ref 74894); Sat, 21 Dec 2024 15:19:02 +0000 Original-Received: (at 74894) by debbugs.gnu.org; 21 Dec 2024 15:18:08 +0000 Original-Received: from localhost ([127.0.0.1]:47301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tP1F2-0000G6-7A for submit@debbugs.gnu.org; Sat, 21 Dec 2024 10:18:08 -0500 Original-Received: from mail-pf1-f175.google.com ([209.85.210.175]:48614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tP1Ez-0000FR-G9 for 74894@debbugs.gnu.org; Sat, 21 Dec 2024 10:18:06 -0500 Original-Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-728f1525565so3411565b3a.1 for <74894@debbugs.gnu.org>; Sat, 21 Dec 2024 07:18:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734794219; x=1735399019; darn=debbugs.gnu.org; h=mime-version:user-agent:references:in-reply-to:subject:cc:to:from :message-id:date:from:to:cc:subject:date:message-id:reply-to; bh=3deDBanPpS23u//K2O2vhQ8+PocBBy9DJ0cVZzApZd0=; b=K3frViiX8iLgUyoeedSANZLDX4byrFDiculFztccRZp4HudEQd8D70WH0kWydWXm0i +5WOWVMwmVk28+W9DHRFYG3lsvaadygfEqHfwTm6Rcm8fw8FLhB22EPEhG51+nY16SOB Ax4gee0u/QiGirTrzD5fXUKSlhP79VSoOnyucsiBBIW9UAq7wqwcxhjk9mOVLes9RIe0 kBZGMgU/VoF25v2RYqb3lpUp+kipAphaA98+SxsG9THkrdErgVgT35fBNKpgbVTh1Wt6 etjOPOVuRK1nfe1Aff8UCkX+f3dKmCqIGY83gbTaMZ3674v3k0AlYaAiXIZsjl26v+LF ZwLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734794219; x=1735399019; h=mime-version:user-agent:references:in-reply-to:subject:cc:to:from :message-id:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3deDBanPpS23u//K2O2vhQ8+PocBBy9DJ0cVZzApZd0=; b=foCynaI+pn0pY6K8lqNVsMfGpWU1/jy+/F4ryQXacpYI17M5dX6Rj7xuoALybQwnOc umwufVPzzTN/k6vslQdZ//bmdT9Y9m1pZdmeBA4c4E6w0fx3H/2egCPBBkUoVsb865Eo QlqxeYIXncSQzWbG4S1uw4KRNhlpqvIKBNTUadh6Hvv0hlof4z9qvxTFHznUtJXH1rQX XOrrEnze+BSwePYi0C/5oYJt1PIhH2Vz+JdQpL+BtoI6yI/uTpENkbdOilD8y0KQjKZK RB05zB8bflBc1va6wm9RfgFZUgtnJkWIKTvWVSn6H9qfJQozkvxxK48p7OFRfzwlC9mU xE1Q== X-Forwarded-Encrypted: i=1; AJvYcCV6NnSmx3os1xpY1O4z3BK0SBI6nPJdeD2YrkVDXPLE7CDh+3zujc37Cl4cqwg5OhqGzegJJw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Ywq00gBg41KvaUm8j4O6BFNAgQh6g+6RxnWFgLIO9qJ9ejqEXMq CpM1jyIWitN5skp940CW0GnhLfWpSvGRcDEoR8PmzXswS+39WJgL X-Gm-Gg: ASbGnctDT9droMIlrd/tA7Hk3t/kbqmeps57OY1pU0h78QuyJ7niEV3TIvEOTq7pDyG BBBgBQ2SAYk6TtxFcXannAA8D1UNtfwlVTzkM3FTmKG1Fz1/U23CWWox5U88HH+a340AV9vXmhj wM+UvJQGsGWT3XwbB4q5fJhlTo5x5gucuQ7Lqb+53lNJcn5mP4ld+aOyW7Q5AkNwpQctvPhmkxu HqsTgKymk8FKPe+jMtY5TfTg8/If5CB9mrVdUCmjWPGFvvVG4ee/gWfA5Ljyj+XXRtfceLVG8ka yVyamQ2B6dE= X-Google-Smtp-Source: AGHT+IEu9sA6ffgSoQcR9SmDo6WM7zuijldlh+bktxTGxdKlT9vyzjLrNM1axKuMcKD0UWXzah7zhA== X-Received: by 2002:a05:6a21:329a:b0:1e1:a75e:691f with SMTP id adf61e73a8af0-1e5e08382e9mr11825432637.45.1734794219564; Sat, 21 Dec 2024 07:16:59 -0800 (PST) Original-Received: from localhost (58x12x133x161.ap58.ftth.ucom.ne.jp. [58.12.133.161]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-842b2b3e80fsm3819333a12.31.2024.12.21.07.16.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Dec 2024 07:16:59 -0800 (PST) In-Reply-To: <86zfkp7210.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297532 Archived-At: Eli Zaretskii wrote: > > > Date: Sun, 15 Dec 2024 02:52:53 +0000 > > From: Keglo Stephane > > > > when writting a python code with a missing import, using > > `python-fix-imports' make emacs not responding. > > Thanks. Could you please show a simple recipe for reproducing this? > > kobarity, any comments or suggestions? I have not been able to reproduce this so far, but I have found that if the file is large, say 10000 lines, it takes a few seconds. The other problem I found is that if I run `python-fix-imports' without saving the buffer, I get the following error: python exited with status 1 This occurs because isort cannot read the lock file (symbolic link) such as ".#foo.py", which is created before the modified buffer is saved. Although I don't think this has anything to do with the non-response issue.