From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: alexis purslane via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71200: TRAMP: Trying to do a project-find-file or (find-directory) using the podman method causes a (wrong-type-argument stringp nil) error Date: Sun, 26 May 2024 21:43:14 +0000 Message-ID: References: <_cjSz3e_d7dB-G6yi32s-DPrp4mzoDHxqSRzmME4I-ihzlXVEzxQ7vsUrIh5dEk0Ofp56PgvenniYybY9hX4zOgzD-Cuky_G05tWXjOG4YA=@pm.me> <87a5kctwnv.fsf@gmx.de> <1CcRIDWRzuz9xy37ywZCMJYI43NbduqDwV3GGBpPcqjaxomNKERHqJdjxKn5pujNHqDg8KoB5l3ZxoU8DV8eMp45Yb0DyinWEIvJZ5RxZ_s=@pm.me> <-AiVyio30HLuInFNcNm3OTLCRNrFpNlkGopLCsL3HBp82dT1Tv1vgf6tbSuSIMvf6L74waKmKB_wcz9S2l0xVjudOu2o36bqEBFTEvvG4fQ=@pm.me> <8373e5c4-03d4-48fe-9e4d-b0c2d36590cc@gutov.dev> <5iagnGUjF-cYYddc4_1kHHViSr60gM5Lt2t0bTESI41QSUxZ3GPGbAhCpmjTawoMcMaB07DPi5_jHc4-m4ow4AKhS3z5evCwxq75_-emwQw=@pm.me> Reply-To: alexis purslane Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------be6aedc3be0736f19a6674ba7c536668082e1aca0657e826073b1afceee13354"; charset=utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2386"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "71200@debbugs.gnu.org" <71200@debbugs.gnu.org>, "michael.albinus@gmx.de" To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 26 23:44:21 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 1sBLfB-0000Su-Jk for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 May 2024 23:44:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sBLem-0002qy-3c; Sun, 26 May 2024 17:43:56 -0400 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 1sBLek-0002qo-DN for bug-gnu-emacs@gnu.org; Sun, 26 May 2024 17:43:54 -0400 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 1sBLek-0005nX-4s for bug-gnu-emacs@gnu.org; Sun, 26 May 2024 17:43:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sBLes-0000Cr-1F for bug-gnu-emacs@gnu.org; Sun, 26 May 2024 17:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: alexis purslane Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 May 2024 21:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71200 X-GNU-PR-Package: emacs Original-Received: via spool by 71200-submit@debbugs.gnu.org id=B71200.1716759815740 (code B ref 71200); Sun, 26 May 2024 21:44:01 +0000 Original-Received: (at 71200) by debbugs.gnu.org; 26 May 2024 21:43:35 +0000 Original-Received: from localhost ([127.0.0.1]:42671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBLeR-0000Bs-8j for submit@debbugs.gnu.org; Sun, 26 May 2024 17:43:35 -0400 Original-Received: from mail-40133.protonmail.ch ([185.70.40.133]:62467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBLeP-0000Be-0C for 71200@debbugs.gnu.org; Sun, 26 May 2024 17:43:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1716759797; x=1717018997; bh=5KKi/thgT7FNGLhXBWjjwfLlFhIrLux9MTMUwd0LR/w=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=GxJle8cY4jSz9CqNY74APkx8bwOOMJWiEupqE9Tvf9sbJd3BrKfu8Hoe6PBAiNep9 tmaNd4zQAScU6X4uYFKArbjdiVSLJWhICJId4txvOAHMT7NGTwr2Gsoay+EvLn7MsA OWpgkPo43DHP6PW2TcYOLrUA473glEcTF2hupy5UQB5Cn9Rn1f1j42cgIY/IHfrF0v 7JKnZFn2YR0zUUadcKHkGMRlVuUWkyx4r4mFjVOZXf+tMrpl5rtqZv8FQhLSAbzv4f okBKXl9lQwV8wJQ4jvLKMNkV+5DfWSyUzXxKDCZTBrUFTfajgF75OjdzgbofoSDHu8 ubvJ2/6+YM1wA== In-Reply-To: <5iagnGUjF-cYYddc4_1kHHViSr60gM5Lt2t0bTESI41QSUxZ3GPGbAhCpmjTawoMcMaB07DPi5_jHc4-m4ow4AKhS3z5evCwxq75_-emwQw=@pm.me> Feedback-ID: 55030218:user:proton X-Pm-Message-ID: 0365b94a60dcce88668d18c35e4b29dd4f1aa576 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:285997 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------be6aedc3be0736f19a6674ba7c536668082e1aca0657e826073b1afceee13354 Content-Type: multipart/mixed;boundary=---------------------7776d15d5401236983c1ad1817a39537 -----------------------7776d15d5401236983c1ad1817a39537 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 Follow up: I have these containers installed: 1. devcontainers/rust:latest 2. devcontainers/typescript-node:latest 3. devcontainers/cpp:latest 4. texlive/texlive:latest 5. tensorflow/tensorflow:latest-gpu Only one of them wor-- .... Oh. Git keeps "detecting dubious ownership" over each project's .git/ for some reason, which prevents `git ls-files` from running, hence the problem. So this isn't really a bug per-se, it's more like a lack of clear enough errors. I could also really use some help with getting the ownership and gpg & ssh keychain stuff (commits always fail because Magit over TRAMP can't access my GPG or SSH private keys) figured out over TRAMP but I can get th= at help elsewhere. Anyway, when git ls-files fails, maybe the stderr output it produced should be printed instead of just trying to parse its empty stdin and crashing. On Sunday, May 26th, 2024 at 5:46 PM, alexis purslane wrote: > > Does the ssh transport work with the "more specialized" containers? > = > = > It took me a bit to get that set up, but no, it doesn't. Did essentially= this: > = > https://linuxhandbook.com/ssh-into-container/ > = > Created a directory with some files in it in the homedir of the containe= r, > and then added the project with the location as `/ssh:root@localhost#765= 5:Folder`. > It found the folder just fine (eg showed up in completion), but when I a= dded > it and did project-find-files, I got the same error as usual. > = > On Sunday, May 26th, 2024 at 5:26 PM, Dmitry Gutov dmitry@gutov.dev wrot= e: > = > > On 26/05/2024 20:21, alexis purslane wrote: > > = > > > Actually, no, installing git does not help resolve the problem > > > whatsoever. One works, the other two don't, but I can't tell why. Th= e > > > one that works is my general purpose development container, and the > > > other two are more specialized, so that may be the origin of the > > > problem, but it doesn't explain what in particular is missing. What = does > > > project.el rely on the host having installed? > > = > > project-find-file just uses 'git ls-files' if it's in a repository, or > > 'find' otherwise. > > = > > If your file name string juggling made things work correctly, it seems > > unlikely that the problem is in some missing software on the remote ho= st. > > = > > Does the ssh transport work with the "more specialized" containers? -----------------------7776d15d5401236983c1ad1817a39537 Content-Type: application/pgp-keys; filename="publickey - alexispurslane@pm.me - 0x41E61568.asc"; name="publickey - alexispurslane@pm.me - 0x41E61568.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - alexispurslane@pm.me - 0x41E61568.asc"; name="publickey - alexispurslane@pm.me - 0x41E61568.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgp4ak1FWXlPNktCWUpLd1lCQkFI YVJ3OEJBUWRBaW0wYXBzbTJaTmd1N1lYU3VDLzNUVjUvenhNZE1tWDMKazhUZllSUVlRaXZOSzJG c1pYaHBjM0IxY25Oc1lXNWxRSEJ0TG0xbElEeGhiR1Y0YVhOd2RYSnpiR0Z1ClpVQndiUzV0WlQ3 Q2pBUVFGZ29BSFFVQ1l5TzZLQVFMQ1FjSUF4VUlDZ1FXQUFJQkFoa0JBaHNEQWg0QgpBQ0VKRVBQ S1ZsRUw1OThSRmlFRVFlWVZhTDAydVRUczdkdzI4OHBXVVF2bjN4RlJ2Z0QrTUUzdEhXOFgKdGpt NXdqeU9zVzQ1NjIxSEpGUXdGZnVnbGZZczlkVU03YTRBLzNFeEppdFVMTk1mdy9DRlVIbVAyR21T Ckp1blE1cENNYzkyM1FYdytPZjBMempnRVl5TzZLQklLS3dZQkJBR1hWUUVGQVFFSFFBVHJrMXFN Q0FVVgpDMFRBeFAvV3B6QjY4MG5DVmNlK1E2OVNPUWR6Uk9VY0F3RUlCOEo0QkJnV0NBQUpCUUpq STdvb0Foc00KQUNFSkVQUEtWbEVMNTk4UkZpRUVRZVlWYUwwMnVUVHM3ZHcyODhwV1VRdm4zeEc5 VkFFQTlDV1Q5bHVuCldWZG5MWis0RlpySUZKZW9EUFAzTE9Jd09oRFVnY1ZtZU8wQS9qdHVjYjRk eERzVTFiRjNkVjlHbGszaQo1SDJZcnIvRTJBYVlMbWFOVVBvTgo9SzRRaQotLS0tLUVORCBQR1Ag UFVCTElDIEtFWSBCTE9DSy0tLS0tCg== -----------------------7776d15d5401236983c1ad1817a39537-- --------be6aedc3be0736f19a6674ba7c536668082e1aca0657e826073b1afceee13354 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmZTrOQJkPPKVlEL598RFiEEQeYVaL02uTTs7dw288pWUQvn 3xEAANuAAQDvQSR9KUk8VamvW4prJgJe0dhDD0aPpJdid/5035M4EAEA45XO A+HB0FF/59WU31uaNUxk5kUBI97S2pwr9x5dMA4= =CXkO -----END PGP SIGNATURE----- --------be6aedc3be0736f19a6674ba7c536668082e1aca0657e826073b1afceee13354--