From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74894: 29.4; Emacs not responding when calling python-fix-imports Date: Sat, 21 Dec 2024 18:12:15 +0200 Message-ID: <86ldw96mn4.fsf@gnu.org> References: <5CLIOS.GV2CWQIRVGEG1@gmail.com> <86zfkp7210.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5721"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74894@debbugs.gnu.org To: kobarity , Keglo Stephane Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 21 17:13:19 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 1tP26R-0001NG-II for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Dec 2024 17:13:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tP26C-0001nH-JU; Sat, 21 Dec 2024 11:13: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 1tP26B-0001mq-Ix for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 11:13:03 -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 1tP26B-0002I0-AU for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 11:13:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=iSrfmUil5tGOx0H5D2Ni3s/0OeCz0kXOsa4wt5evi2Y=; b=CHFmCQgQbdBGYy6WXaqJntNZg5s+NxB1sk+332XgfVYd+om/YUnwwcqjawmCIaYS80RKRLdn6kqgkn6UXbLX5XAF2yCZIfl7RvY34LNvxnAUG88mXx5lxETFav5a1FR7GEvvB/1z1TsN0Ktkc4HA+TeU77O7No2+1E09hqj8Hq7sjFAwxPf7I49+Ksvx4wuMHMugVElb4bjIr9lUDH/eClJRww/0Ispk+/qgz9EkoP+0C2NJDicLM7I+dJ05+Nl7p3QRUACJl8zeNNjrWknIONRRkEFkLm7gpE9Auuwlk/HCPtIJeTyqnKxbELklUM4HfduKIyydixz/OaAnf9cQ8g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tP26A-0002tr-Sy for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 11:13:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Dec 2024 16:13: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.173479754811037 (code B ref 74894); Sat, 21 Dec 2024 16:13:02 +0000 Original-Received: (at 74894) by debbugs.gnu.org; 21 Dec 2024 16:12:28 +0000 Original-Received: from localhost ([127.0.0.1]:47390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tP25c-0002rx-Fn for submit@debbugs.gnu.org; Sat, 21 Dec 2024 11:12:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tP25Z-0002rD-Ug for 74894@debbugs.gnu.org; Sat, 21 Dec 2024 11:12:26 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tP25U-0002Db-Gh; Sat, 21 Dec 2024 11:12:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=iSrfmUil5tGOx0H5D2Ni3s/0OeCz0kXOsa4wt5evi2Y=; b=m/ZodN+M4tmA rnO5WQsI4MBszEm2tnFVBVy9CxEIjSyipzVZmNvFh5b0bHs6BAygfagPZacYfpIa8UimDMlIybzGO bb2WE+bEnHyfFWrr6cT2FccyrT7v+71Q/sxtRhcrImEuyYIjtpyZWU1X+1+GE/fPeZpTixfYQNvSV 53K7S5FPJMsIP7xXWMsfoc88DWGu9DNPx3AIWSkoCeKgW7bmiSIoJihrBpNxoOHvrc3YHr2D6i1Qd 9TyCTakimzFSLOJvvWmttrM3xiXnCszPoSA2d7QbztuyyZFTALIe8Cz3pjzTfpScblfm4XoRMI/nt gdCrjrixJEV7F4pkocqxvQ==; In-Reply-To: (message from kobarity on Sun, 22 Dec 2024 00:16:53 +0900) 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:297535 Archived-At: > Date: Sun, 22 Dec 2024 00:16:53 +0900 > From: kobarity > Cc: Keglo Stephane , > 74894@debbugs.gnu.org > > 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. Thanks. So my request for a reproduction recipe still stands. Keglo Stephane, could you please provide such a recipe?