unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Sergei Trofimovich <slyfox@inbox.ru>
Cc: 25635@debbugs.gnu.org
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	[thread overview]
Message-ID: <87vaskogn7.fsf@gnu.org> (raw)
In-Reply-To: <20170206090220.5d01b14e@sf> (Sergei Trofimovich's message of "Mon, 6 Feb 2017 09:19:56 +0000")

Hi Sergei,

Sergei Trofimovich <slyfox@inbox.ru> 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 #<procedure 1fd5900 at ice-9/boot-9.scm:4051:3 ()>]
> 4056: 16 [#<procedure 1fd5900 at ice-9/boot-9.scm:4051:3 ()>]
> 1727: 15 [%start-stack load-stack ...]
> 1732: 14 [#<procedure 1fe8bd0 ()>]
> 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 #<procedure 59c8100 at guix/ui.scm:432:2 ()> ...]
>  160: 10 [catch system-error ...]
> In guix/scripts/refresh.scm:
>  442: 9 [#<procedure 4bf00f0 at guix/scripts/refresh.scm:441:4 ()>]
>  462: 8 [#<procedure 3082c60 at guix/scripts/refresh.scm:442:6 ()>]
> In srfi/srfi-1.scm:
>  616: 7 [for-each #<procedure 479d8d0 at guix/scripts/refresh.scm:462:22 (t-1378592)> ...]
> In guix/scripts/refresh.scm:
>  288: 6 [check-for-package-update # # # ...]
> In ice-9/boot-9.scm:
>  160: 5 [catch srfi-34 #<procedure 5c24300 at ice-9/eval.scm:416:20 ()> ...]
> 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 # #\. #<undefined> ...]
>
> 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’.

      reply	other threads:[~2017-02-08 15:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-06  9:19 bug#25635: 'guix refresh' does not work for packages with multiple URIs (python-cram is one example) Sergei Trofimovich
2017-02-08 15:18 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vaskogn7.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=25635@debbugs.gnu.org \
    --cc=slyfox@inbox.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).