From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 08 10:18:34 2017 Received: (at 25635) by debbugs.gnu.org; 8 Feb 2017 15:18:34 +0000 Received: from localhost ([127.0.0.1]:60418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbU0w-0005Y6-7a for submit@debbugs.gnu.org; Wed, 08 Feb 2017 10:18:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbU0u-0005Xq-MM for 25635@debbugs.gnu.org; Wed, 08 Feb 2017 10:18:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbU0m-000595-C7 for 25635@debbugs.gnu.org; Wed, 08 Feb 2017 10:18:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbU0m-00058q-9e; Wed, 08 Feb 2017 10:18:24 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:45744 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cbU0l-0005Rt-Li; Wed, 08 Feb 2017 10:18:24 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Sergei Trofimovich Subject: Re: bug#25635: 'guix refresh' does not work for packages with multiple URIs (python-cram is one example) References: <20170206090220.5d01b14e@sf> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?utf-8?Q?Pluvi=C3=B4se?= an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Wed, 08 Feb 2017 16:18:20 +0100 In-Reply-To: <20170206090220.5d01b14e@sf> (Sergei Trofimovich's message of "Mon, 6 Feb 2017 09:19:56 +0000") Message-ID: <87vaskogn7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25635 Cc: 25635@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Sergei, Sergei Trofimovich skribis: > [1]: ~/dev/git/guix $ ./pre-inst-env guix refresh python-cram > ;;; note: source file /home/slyfox/dev/git/guix/guix/import/pypi.scm > ;;; newer than compiled /home/slyfox/dev/git/guix/guix/import/pypi.= go > Backtrace: > In ice-9/boot-9.scm: > 66: 19 [call-with-prompt prompt0 ...] > In ice-9/eval.scm: > 432: 18 [eval # #] > In ice-9/boot-9.scm: > 2404: 17 [save-module-excursion #] > 4056: 16 [#] > 1727: 15 [%start-stack load-stack ...] > 1732: 14 [#] > In unknown file: > ?: 13 [primitive-load "/home/slyfox/dev/git/guix/scripts/guix"] > In guix/ui.scm: > 1228: 12 [run-guix-command refresh "python-cram"] > In ice-9/boot-9.scm: > 160: 11 [catch srfi-34 # ...] > 160: 10 [catch system-error ...] > In guix/scripts/refresh.scm: > 442: 9 [#] > 462: 8 [#] > In srfi/srfi-1.scm: > 616: 7 [for-each # ...] > In guix/scripts/refresh.scm: > 288: 6 [check-for-package-update # # # ...] > In ice-9/boot-9.scm: > 160: 5 [catch srfi-34 # .= ..] > In ice-9/eval.scm: > 411: 4 [eval # #] > 387: 3 [eval # #] > 387: 2 [eval # #] > In guix/utils.scm: > 569: 1 [file-sans-extension #] > In unknown file: > ?: 0 [string-rindex # #\. # ...] > > ERROR: In procedure string-rindex: > ERROR: In procedure string-index-right: Wrong type argument in position 1= (expecting string): ("https://..." "https://...") Fixed in 4eaac4b722b180b433b75127a30b871aaf9f0913, thanks! Ludo=E2=80=99.