From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#25719: "guix package -i" exception should be a normal error message Date: Tue, 14 Feb 2017 09:41:06 +0100 Message-ID: <20170214094106.73469612@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdYgX-0007Z8-9c for bug-guix@gnu.org; Tue, 14 Feb 2017 03:42:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdYgU-0001VV-7X for bug-guix@gnu.org; Tue, 14 Feb 2017 03:42:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:41013) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cdYgU-0001VP-4F for bug-guix@gnu.org; Tue, 14 Feb 2017 03:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cdYgT-0002tm-U1 for bug-guix@gnu.org; Tue, 14 Feb 2017 03:42:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdYfl-0006tR-LL for bug-guix@gnu.org; Tue, 14 Feb 2017 03:41:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdYfi-0000zw-KR for bug-guix@gnu.org; Tue, 14 Feb 2017 03:41:17 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:55179) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cdYfi-0000zH-DT for bug-guix@gnu.org; Tue, 14 Feb 2017 03:41:14 -0500 Received: from localhost (77.118.100.64.wireless.dyn.drei.com [77.118.100.64]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 588671CA106E for ; Tue, 14 Feb 2017 09:41:12 +0100 (CET) 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: 25719@debbugs.gnu.org When I have network problems sometimes I get a backtrace like this: ... substitute: 1727: 3 [%start-stack load-stack #] substitute: 1732: 2 [#] substitute: In unknown file: substitute: ?: 1 [primitive-load "/gnu/store/175nlv448nk5kagwwl3zyy2w4726qfz6-guix-0.12.0-4.d9da/bin/.guix-real"] substitute: In guix/ui.scm: substitute: 1228: 0 [run-guix-command substitute "--query"] substitute: substitute: guix/ui.scm:1228:8: In procedure run-guix-command: substitute: guix/ui.scm:1228:8: Throw to key `bad-response' with args `("Bad Response-Line: ~s" (""))'. It might make sense to (a) convert that into a normal runtime error message and (b) Fallback to substituteless building (maybe only for this thing).