From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Subject: bug#34015: guix copy error message is quite difficult to understand Date: Thu, 10 Jan 2019 10:49:10 +0100 Message-ID: <87h8egalm1.fsf@lassieur.org> References: <87bm4rnnnf.fsf@lassieur.org> <87imyx1q7d.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghWyU-0005S9-7W for bug-guix@gnu.org; Thu, 10 Jan 2019 04:50:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghWyT-0006nU-B3 for bug-guix@gnu.org; Thu, 10 Jan 2019 04:50:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53671) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ghWyT-0006nC-7M for bug-guix@gnu.org; Thu, 10 Jan 2019 04:50:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ghWyT-0004TU-1w for bug-guix@gnu.org; Thu, 10 Jan 2019 04:50:05 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87imyx1q7d.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 34015@debbugs.gnu.org Hi Ludovic, Ludovic Court=C3=A8s writes: > Hello Cl=C3=A9ment, > > Cl=C3=A9ment Lassieur skribis: > >> This is what happens when /etc/profile isn't sourced in the remote >> non-interactive shell on guix copy. > > Do you know specifically which environment variable was missing and what > caused the backtrace? I don't know. (I can't test right now.) > Also, what commit are you using? I=E2=80=99m asking because commit > ed7b44370f71126087eb953f36aad8dc4c44109f changed the way we talk to a > remote Guix over SSH. It was 627e6d8c116573e4d76a4548282532cfe3c97d54, so I had the recent changes. >> I find it difficult to understand. I think the error message should >> lead us to a way to fix the issue. >> >> sending 1 store item (0 MiB) to '192.168.0.51'... >> ;;; [2019/01/08 16:48:31.587577, 0] write_to_channel_port: [GSSH ERROR] = Remote channel is closed: # >> Backtrace: >> 10 (primitive-load "/home/clement/.config/guix/current/bin=E2= =80=A6") >> In guix/ui.scm: >> 1644:12 9 (run-guix-command _ . _) >> In ice-9/boot-9.scm: >> 829:9 8 (catch srfi-34 # =E2=80=A6) >> 829:9 7 (catch system-error # =E2=80=A6) >> In guix/scripts/copy.scm: >> 80:27 6 (send-to-remote-host _ _) >> In guix/ssh.scm: >> 313:4 5 (send-files # _ _ # _ # _) >> In guix/store.scm: >> 1466:12 4 (export-paths # _ # =E2=80=A6) >> 1446:22 3 (export-path # _ # =E2=80=A6) >> 644:13 2 (process-stderr _ _) >> 607:10 1 (dump-port # # =E2=80=A6) >> In unknown file: >> 0 (put-bytevector # =E2= =80=A6) >> >> ERROR: In procedure put-bytevector: >> Throw to key `guile-ssh-error' with args `("write_to_channel_port" "Remo= te channel is closed" # #f)'. > > I agree the message could be=E2=80=A6 ahem=E2=80=A6 clearer. :-) :-) Thanks, Cl=C3=A9ment