Subject: bug#23997: PyPI updater broken

From: [email-masked] (Ludovic Courtès)
Date: Fri, 15 Jul 2016 19:05:44 +0200

Hello!

Following the PyPI URL change, our updater is broken:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix refresh -t pypi
Backtrace:
In unknown file:
   ?: 19 [apply-smob/1 #<catch-closure ea66a0>]
In ice-9/boot-9.scm:
  61: 18 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 17 [eval # #]
In ice-9/boot-9.scm:
2401: 16 [save-module-excursion #<procedure f5d980 at ice-9/boot-9.scm:4045:3 ()>]
4050: 15 [#<procedure f5d980 at ice-9/boot-9.scm:4045:3 ()>]
1724: 14 [%start-stack load-stack #<procedure f29820 at ice-9/boot-9.scm:4041:10 ()>]
1729: 13 [#<procedure f6d240 ()>]
In unknown file:
   ?: 12 [primitive-load "/home/ludo/src/guix/scripts/guix"]
In guix/ui.scm:
1209: 11 [run-guix-command refresh "-t" "pypi"]
In ice-9/boot-9.scm:
 155: 10 [catch srfi-34 #<procedure 2e828e0 at guix/ui.scm:425:2 ()> ...]
 155: 9 [catch system-error ...]
In guix/scripts/refresh.scm:
 382: 8 [#<procedure 42b7140 at guix/scripts/refresh.scm:381:4 ()>]
 401: 7 [#<procedure 42b70f0 at guix/scripts/refresh.scm:382:6 ()>]
In srfi/srfi-1.scm:
 619: 6 [for-each #<procedure 2eaea40 at guix/scripts/refresh.scm:401:22 (package)> ...]
In guix/scripts/refresh.scm:
 402: 5 [#<procedure 2eaea40 at guix/scripts/refresh.scm:401:22 (package)> #]
In guix/upstream.scm:
 135: 4 [package-update-path # #]
In ice-9/boot-9.scm:
 155: 3 [catch srfi-34 #<procedure 2f0df20 at guix/import/pypi.scm:313:2 ()> ...]
In guix/import/pypi.scm:
 317: 2 [#<procedure 2f0df20 at guix/import/pypi.scm:313:2 ()>]
  68: 1 [latest-source-release #f]
In unknown file:
   ?: 0 [find #<procedure 37e5da0 at guix/import/pypi.scm:68:14 (release)> #f]

ERROR: In procedure find:
ERROR: In procedure find: Wrong type argument in position 2 (expecting list): #f
$ git describe
v0.10.0-1766-g71b0601
--8<---------------cut here---------------end--------------->8---

Any takers?  :-)

Ludo’.