From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#25635: 'guix refresh' does not work for packages with multiple URIs (python-cram is one example) Date: Wed, 08 Feb 2017 16:18:20 +0100 Message-ID: <87vaskogn7.fsf@gnu.org> References: <20170206090220.5d01b14e@sf> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbU1R-0007Wt-Oa for bug-guix@gnu.org; Wed, 08 Feb 2017 10:19:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbU1O-0005W8-KY for bug-guix@gnu.org; Wed, 08 Feb 2017 10:19:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33989) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbU1O-0005W2-Hm for bug-guix@gnu.org; Wed, 08 Feb 2017 10:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cbU1O-0005Z0-C9 for bug-guix@gnu.org; Wed, 08 Feb 2017 10:19:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170206090220.5d01b14e@sf> (Sergei Trofimovich's message of "Mon, 6 Feb 2017 09:19:56 +0000") 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: Sergei Trofimovich Cc: 25635@debbugs.gnu.org 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.