GNU logs - #37071, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#37071: guix import pypi httpie fails
Resent-From: Robert Vollmert <rob@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 18 Aug 2019 10:41:01 +0000
Resent-Message-ID: <handler.37071.B.156612485715089 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 37071
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 37071 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.156612485715089
          (code B ref -1); Sun, 18 Aug 2019 10:41:01 +0000
Received: (at submit) by debbugs.gnu.org; 18 Aug 2019 10:40:57 +0000
Received: from localhost ([127.0.0.1]:57386 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hzIcL-0003vI-9K
	for submit <at> debbugs.gnu.org; Sun, 18 Aug 2019 06:40:57 -0400
Received: from lists.gnu.org ([209.51.188.17]:32781)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rob@HIDDEN>) id 1hzIcK-0003vA-0c
 for submit <at> debbugs.gnu.org; Sun, 18 Aug 2019 06:40:56 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34499)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rob@HIDDEN>) id 1hzIcI-00083d-TC
 for bug-guix@HIDDEN; Sun, 18 Aug 2019 06:40:55 -0400
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 autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rob@HIDDEN>) id 1hzIcH-0002XE-Cn
 for bug-guix@HIDDEN; Sun, 18 Aug 2019 06:40:54 -0400
Received: from mx2a.mailbox.org ([2001:67c:2050:104:0:2:25:2]:56866
 helo=mx2.mailbox.org)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <rob@HIDDEN>) id 1hzIcH-0002Rw-6s
 for bug-guix@HIDDEN; Sun, 18 Aug 2019 06:40:53 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org
 [IPv6:2001:67c:2050:105:465:1:1:0])
 (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
 (No client certificate requested)
 by mx2.mailbox.org (Postfix) with ESMTPS id 7BEF5A0D23
 for <bug-guix@HIDDEN>; Sun, 18 Aug 2019 12:40:47 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
 by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de
 [80.241.56.125]) (amavisd-new, port 10030)
 with ESMTP id BcjzEyl7n6aj for <bug-guix@HIDDEN>;
 Sun, 18 Aug 2019 12:40:44 +0200 (CEST)
From: Robert Vollmert <rob@HIDDEN>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Message-Id: <47016DD3-0499-428A-9DE0-DACF8AE4D78B@HIDDEN>
Date: Sun, 18 Aug 2019 12:40:43 +0200
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2001:67c:2050:104:0:2:25:2
X-Spam-Score: -1.6 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

$ guix import pypi httpie
 =E2=80=A60.2.tar.gz  83KiB                   291KiB/s 00:00 =
[##################] 100.0%
 =E2=80=A6.py3-none-any.whl  58KiB            201KiB/s 00:00 =
[##################] 100.0%
guix import: warning: Failed to extract file: =
httpie-1.0.2.dist-info/METADATA from wheel.
Backtrace:
          15 (primitive-load "/home/rob/.config/guix/current/bin/guix")
In guix/ui.scm:
  1692:12 14 (run-guix-command _ . _)
In guix/scripts/import.scm:
   115:11 13 (guix-import . _)
In guix/scripts/import/pypi.scm:
   102:23 12 (guix-import-pypi . _)
In guix/memoization.scm:
     98:0 11 (_ #<hash-table 11e5b20 0/31> ("httpie") _)
In unknown file:
          10 (_ #<procedure 11f9580 at guix/memoization.scm:179:32 =E2=80=A6=
> =E2=80=A6)
In ice-9/boot-9.scm:
    829:9  9 (catch _ _ #<procedure 7f2711b7fd48 at guix/import/pyp=E2=80=A6=
> =E2=80=A6)
In guix/utils.scm:
    635:8  8 (call-with-temporary-output-file _)
In guix/import/pypi.scm:
   384:25  7 (_ "/tmp/guix-file.A9OwRK" _)
In guix/utils.scm:
    635:8  6 (call-with-temporary-output-file #<procedure 1091c20 =
at=E2=80=A6>)
In guix/import/utils.scm:
   133:10  5 (_ "/tmp/guix-file.jFzPxe" _)
    123:4  4 (url-fetch _ _)
In guix/build/download.scm:
    763:4  3 (url-fetch "/tmp/guix-file.A9OwRK" "/tmp/guix-file.jFz=E2=80=A6=
" =E2=80=A6)
In srfi/srfi-1.scm:
   679:15  2 (append-map _ _ . _)
   592:17  1 (map1 (#f))
In guix/build/download.scm:
    728:8  0 (maybe-expand-mirrors _ _)

guix/build/download.scm:728:8: In procedure maybe-expand-mirrors:
In procedure struct_vtable: Wrong type argument in position 1 (expecting =
struct): #f





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Robert Vollmert <rob@HIDDEN>
Subject: bug#37071: Acknowledgement (guix import pypi httpie fails)
Message-ID: <handler.37071.B.156612485715089.ack <at> debbugs.gnu.org>
References: <47016DD3-0499-428A-9DE0-DACF8AE4D78B@HIDDEN>
X-Gnu-PR-Message: ack 37071
X-Gnu-PR-Package: guix
Reply-To: 37071 <at> debbugs.gnu.org
Date: Sun, 18 Aug 2019 10:41:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 37071 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
37071: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D37071
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#37071: guix import pypi httpie fails
Resent-From: Nicolas Goaziou <mail@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 18 Aug 2019 11:29:01 +0000
Resent-Message-ID: <handler.37071.B37071.156612769119510 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 37071
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Robert Vollmert <rob@HIDDEN>
Cc: 37071 <at> debbugs.gnu.org
Received: via spool by 37071-submit <at> debbugs.gnu.org id=B37071.156612769119510
          (code B ref 37071); Sun, 18 Aug 2019 11:29:01 +0000
Received: (at 37071) by debbugs.gnu.org; 18 Aug 2019 11:28:11 +0000
Received: from localhost ([127.0.0.1]:57407 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hzJM2-00054c-SG
	for submit <at> debbugs.gnu.org; Sun, 18 Aug 2019 07:28:11 -0400
Received: from relay4-d.mail.gandi.net ([217.70.183.196]:47791)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1hzJM0-00054S-CV
 for 37071 <at> debbugs.gnu.org; Sun, 18 Aug 2019 07:28:09 -0400
X-Originating-IP: 185.131.40.67
Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67])
 (Authenticated sender: admin@HIDDEN)
 by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 318F9E0008;
 Sun, 18 Aug 2019 11:28:05 +0000 (UTC)
From: Nicolas Goaziou <mail@HIDDEN>
References: <47016DD3-0499-428A-9DE0-DACF8AE4D78B@HIDDEN>
Date: Sun, 18 Aug 2019 13:28:03 +0200
In-Reply-To: <47016DD3-0499-428A-9DE0-DACF8AE4D78B@HIDDEN> (Robert
 Vollmert's message of "Sun, 18 Aug 2019 12:40:43 +0200")
Message-ID: <87o90m3e7w.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hello,

Robert Vollmert <rob@HIDDEN> writes:

> $ guix import pypi httpie
>  =E2=80=A60.2.tar.gz  83KiB                   291KiB/s 00:00 [###########=
#######] 100.0%
>  =E2=80=A6.py3-none-any.whl  58KiB            201KiB/s 00:00 [###########=
#######] 100.0%
> guix import: warning: Failed to extract file: httpie-1.0.2.dist-info/META=
DATA from wheel.
> Backtrace:

[...]

>
> guix/build/download.scm:728:8: In procedure maybe-expand-mirrors:
> In procedure struct_vtable: Wrong type argument in position
> 1 (expecting struct): #f

FWIW, I cannot reproduce it. I get

  (package
    (name "python-httpie")
    (version "1.0.2")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "httpie" version))
        (sha256
          (base32
            "1ax22jh5lpjywpj7lsl072wdhr1pxiqzmxhyph5diwxxzs2nqrzw"))))
    (build-system python-build-system)
    (propagated-inputs
      `(("python-colorama" ,python-colorama)
        ("python-pygments" ,python-pygments)
        ("python-requests" ,python-requests)))
    (home-page "http://httpie.org/")
    (synopsis
      "HTTPie - a CLI, cURL-like tool for humans.")
    (description
      "HTTPie - a CLI, cURL-like tool for humans.")
    (license license:bsd-3))


Regards,

--=20
Nicolas Goaziou




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#37071: guix import pypi httpie fails
Resent-From: Robert Vollmert <rob@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 18 Aug 2019 11:50:02 +0000
Resent-Message-ID: <handler.37071.B37071.156612896829534 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 37071
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Nicolas Goaziou <mail@HIDDEN>
Cc: 37071 <at> debbugs.gnu.org
Received: via spool by 37071-submit <at> debbugs.gnu.org id=B37071.156612896829534
          (code B ref 37071); Sun, 18 Aug 2019 11:50:02 +0000
Received: (at 37071) by debbugs.gnu.org; 18 Aug 2019 11:49:28 +0000
Received: from localhost ([127.0.0.1]:57412 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hzJgd-0007gI-NX
	for submit <at> debbugs.gnu.org; Sun, 18 Aug 2019 07:49:27 -0400
Received: from mx2.mailbox.org ([80.241.60.215]:18366)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rob@HIDDEN>) id 1hzJgb-0007g4-RO
 for 37071 <at> debbugs.gnu.org; Sun, 18 Aug 2019 07:49:26 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org
 [IPv6:2001:67c:2050:105:465:1:1:0])
 (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
 (No client certificate requested)
 by mx2.mailbox.org (Postfix) with ESMTPS id 2C161A12E9;
 Sun, 18 Aug 2019 13:49:18 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
 by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de
 [80.241.56.125]) (amavisd-new, port 10030)
 with ESMTP id ZzZt6sP-nn6v; Sun, 18 Aug 2019 13:49:11 +0200 (CEST)
Content-Type: text/plain;
	charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Robert Vollmert <rob@HIDDEN>
In-Reply-To: <87o90m3e7w.fsf@HIDDEN>
Date: Sun, 18 Aug 2019 13:49:10 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <D1CFDE31-BD2B-4572-A183-F8C2E4748D2F@HIDDEN>
References: <47016DD3-0499-428A-9DE0-DACF8AE4D78B@HIDDEN>
 <87o90m3e7w.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)



> On 18. Aug 2019, at 13:28, Nicolas Goaziou <mail@HIDDEN> =
wrote:
> Robert Vollmert <rob@HIDDEN> writes:
>=20
>> $ guix import pypi httpie
>> =E2=80=A60.2.tar.gz  83KiB                   291KiB/s 00:00 =
[##################] 100.0%
>> =E2=80=A6.py3-none-any.whl  58KiB            201KiB/s 00:00 =
[##################] 100.0%
>> guix import: warning: Failed to extract file: =
httpie-1.0.2.dist-info/METADATA from wheel.
>> Backtrace:
>=20
> [...]
>=20
>>=20
>> guix/build/download.scm:728:8: In procedure maybe-expand-mirrors:
>> In procedure struct_vtable: Wrong type argument in position
>> 1 (expecting struct): #f
>=20
> FWIW, I cannot reproduce it. I get

Thanks for looking into this!

I=E2=80=99ll try making sure everything is up to date, and try again.





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#37071: guix import pypi httpie fails
Resent-From: Robert Vollmert <rob@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 21 Aug 2019 07:39:02 +0000
Resent-Message-ID: <handler.37071.B37071.156637313017638 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 37071
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Nicolas Goaziou <mail@HIDDEN>
Cc: 37071 <at> debbugs.gnu.org
Received: via spool by 37071-submit <at> debbugs.gnu.org id=B37071.156637313017638
          (code B ref 37071); Wed, 21 Aug 2019 07:39:02 +0000
Received: (at 37071) by debbugs.gnu.org; 21 Aug 2019 07:38:50 +0000
Received: from localhost ([127.0.0.1]:34501 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i0LCk-0004aQ-Da
	for submit <at> debbugs.gnu.org; Wed, 21 Aug 2019 03:38:50 -0400
Received: from mx2.mailbox.org ([80.241.60.215]:37626)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rob@HIDDEN>) id 1i0LCg-0004a8-BO
 for 37071 <at> debbugs.gnu.org; Wed, 21 Aug 2019 03:38:46 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240])
 (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
 (No client certificate requested)
 by mx2.mailbox.org (Postfix) with ESMTPS id 38CCCA01B7;
 Wed, 21 Aug 2019 09:38:38 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
 by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173])
 (amavisd-new, port 10030)
 with ESMTP id EupfN7W8dGVl; Wed, 21 Aug 2019 09:38:26 +0200 (CEST)
Content-Type: text/plain;
	charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Robert Vollmert <rob@HIDDEN>
In-Reply-To: <D1CFDE31-BD2B-4572-A183-F8C2E4748D2F@HIDDEN>
Date: Wed, 21 Aug 2019 09:38:24 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <F7AB57B2-73CE-416F-AA0A-2CE8248CDBB2@HIDDEN>
References: <47016DD3-0499-428A-9DE0-DACF8AE4D78B@HIDDEN>
 <87o90m3e7w.fsf@HIDDEN>
 <D1CFDE31-BD2B-4572-A183-F8C2E4748D2F@HIDDEN>
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)



> On 18. Aug 2019, at 13:49, Robert Vollmert <rob@HIDDEN> wrote:
>=20
>=20
>=20
>> On 18. Aug 2019, at 13:28, Nicolas Goaziou <mail@HIDDEN> =
wrote:
>> Robert Vollmert <rob@HIDDEN> writes:
>>=20
>>> $ guix import pypi httpie
>>> =E2=80=A60.2.tar.gz  83KiB                   291KiB/s 00:00 =
[##################] 100.0%
>>> =E2=80=A6.py3-none-any.whl  58KiB            201KiB/s 00:00 =
[##################] 100.0%
>>> guix import: warning: Failed to extract file: =
httpie-1.0.2.dist-info/METADATA from wheel.
>>> Backtrace:
>>=20
>> [...]
>>=20
>>>=20
>>> guix/build/download.scm:728:8: In procedure maybe-expand-mirrors:
>>> In procedure struct_vtable: Wrong type argument in position
>>> 1 (expecting struct): #f
>>=20
>> FWIW, I cannot reproduce it. I get
>=20
> Thanks for looking into this!
>=20
> I=E2=80=99ll try making sure everything is up to date, and try again.

Just to note that the error persists after guix pull. Weird.

@Nicolas: Did your test use a recently pulled guix?





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#37071: guix import pypi httpie fails
Resent-From: Nicolas Goaziou <mail@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 21 Aug 2019 09:04:01 +0000
Resent-Message-ID: <handler.37071.B37071.156637822626544 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 37071
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Robert Vollmert <rob@HIDDEN>
Cc: 37071 <at> debbugs.gnu.org
Received: via spool by 37071-submit <at> debbugs.gnu.org id=B37071.156637822626544
          (code B ref 37071); Wed, 21 Aug 2019 09:04:01 +0000
Received: (at 37071) by debbugs.gnu.org; 21 Aug 2019 09:03:46 +0000
Received: from localhost ([127.0.0.1]:34786 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i0MWw-0006u1-0X
	for submit <at> debbugs.gnu.org; Wed, 21 Aug 2019 05:03:46 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:44783)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1i0MWt-0006ts-8o
 for 37071 <at> debbugs.gnu.org; Wed, 21 Aug 2019 05:03:44 -0400
X-Originating-IP: 185.131.40.67
Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67])
 (Authenticated sender: admin@HIDDEN)
 by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 4FBD4240009;
 Wed, 21 Aug 2019 09:03:41 +0000 (UTC)
From: Nicolas Goaziou <mail@HIDDEN>
References: <47016DD3-0499-428A-9DE0-DACF8AE4D78B@HIDDEN>
 <87o90m3e7w.fsf@HIDDEN>
 <D1CFDE31-BD2B-4572-A183-F8C2E4748D2F@HIDDEN>
 <F7AB57B2-73CE-416F-AA0A-2CE8248CDBB2@HIDDEN>
Date: Wed, 21 Aug 2019 11:03:40 +0200
In-Reply-To: <F7AB57B2-73CE-416F-AA0A-2CE8248CDBB2@HIDDEN> (Robert
 Vollmert's message of "Wed, 21 Aug 2019 09:38:24 +0200")
Message-ID: <87v9uqq49f.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hello,

Robert Vollmert <rob@HIDDEN> writes:

> Just to note that the error persists after guix pull. Weird.
>
> @Nicolas: Did your test use a recently pulled guix?

I confirm the command succeeds with

G=C3=A9n=C3=A9ration 34	18 ao=C3=BBt 2019 22:18:31	(actuelle)
  guix 4167181
    URL du d=C3=A9p=C3=B4t : https://git.savannah.gnu.org/git/guix.git
    branche: master
    commit : 41671813f13cc4965f3674fdf4eb17506b49caf2

Not sure it helps, though.

Did you try to recompile guix after make clean-go? IIRC I encountered
a similar problem a couple of weeks ago.

Regards,

--=20
Nicolas Goaziou




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#37071: guix import pypi httpie fails
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 28 Aug 2019 20:49:02 +0000
Resent-Message-ID: <handler.37071.B37071.156702534015263 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 37071
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Robert Vollmert <rob@HIDDEN>
Cc: 37071 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Received: via spool by 37071-submit <at> debbugs.gnu.org id=B37071.156702534015263
          (code B ref 37071); Wed, 28 Aug 2019 20:49:02 +0000
Received: (at 37071) by debbugs.gnu.org; 28 Aug 2019 20:49:00 +0000
Received: from localhost ([127.0.0.1]:51317 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i34sF-0003y7-DW
	for submit <at> debbugs.gnu.org; Wed, 28 Aug 2019 16:48:59 -0400
Received: from eggs.gnu.org ([209.51.188.92]:46783)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1i34sE-0003xt-03
 for 37071 <at> debbugs.gnu.org; Wed, 28 Aug 2019 16:48:58 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:56095)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1i34s7-0006Mw-Ks; Wed, 28 Aug 2019 16:48:51 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48064 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1i34s6-0006ar-4s; Wed, 28 Aug 2019 16:48:50 -0400
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <47016DD3-0499-428A-9DE0-DACF8AE4D78B@HIDDEN>
Date: Wed, 28 Aug 2019 22:48:48 +0200
In-Reply-To: <47016DD3-0499-428A-9DE0-DACF8AE4D78B@HIDDEN> (Robert
 Vollmert's message of "Sun, 18 Aug 2019 12:40:43 +0200")
Message-ID: <871rx5f233.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (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-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Robert Vollmert <rob@HIDDEN> skribis:

> $ guix import pypi httpie
>  =E2=80=A60.2.tar.gz  83KiB                   291KiB/s 00:00 [###########=
#######] 100.0%
>  =E2=80=A6.py3-none-any.whl  58KiB            201KiB/s 00:00 [###########=
#######] 100.0%
> guix import: warning: Failed to extract file: httpie-1.0.2.dist-info/META=
DATA from wheel.
> Backtrace:
>           15 (primitive-load "/home/rob/.config/guix/current/bin/guix")
> In guix/ui.scm:
>   1692:12 14 (run-guix-command _ . _)
> In guix/scripts/import.scm:
>    115:11 13 (guix-import . _)
> In guix/scripts/import/pypi.scm:
>    102:23 12 (guix-import-pypi . _)
> In guix/memoization.scm:
>      98:0 11 (_ #<hash-table 11e5b20 0/31> ("httpie") _)
> In unknown file:
>           10 (_ #<procedure 11f9580 at guix/memoization.scm:179:32 =E2=80=
=A6> =E2=80=A6)
> In ice-9/boot-9.scm:
>     829:9  9 (catch _ _ #<procedure 7f2711b7fd48 at guix/import/pyp=E2=80=
=A6> =E2=80=A6)
> In guix/utils.scm:
>     635:8  8 (call-with-temporary-output-file _)
> In guix/import/pypi.scm:
>    384:25  7 (_ "/tmp/guix-file.A9OwRK" _)
> In guix/utils.scm:
>     635:8  6 (call-with-temporary-output-file #<procedure 1091c20 at=E2=
=80=A6>)
> In guix/import/utils.scm:
>    133:10  5 (_ "/tmp/guix-file.jFzPxe" _)
>     123:4  4 (url-fetch _ _)
> In guix/build/download.scm:
>     763:4  3 (url-fetch "/tmp/guix-file.A9OwRK" "/tmp/guix-file.jFz=E2=80=
=A6" =E2=80=A6)
> In srfi/srfi-1.scm:
>    679:15  2 (append-map _ _ . _)
>    592:17  1 (map1 (#f))
> In guix/build/download.scm:
>     728:8  0 (maybe-expand-mirrors _ _)
>
> guix/build/download.scm:728:8: In procedure maybe-expand-mirrors:
> In procedure struct_vtable: Wrong type argument in position 1 (expecting =
struct): #f

The key here is the message =E2=80=9CFailed to extract [=E2=80=A6] METADATA=
 from wheel=E2=80=9D.

When that happens, I think we miss too much information to do anything
sensible.  Maxim, do you confirm?

If you add =E2=80=98unzip=E2=80=99 to $PATH, the problem should vanish.

We should probably process wheels & co. in derivations to avoid relying
on tools that may or may not be in $PATH.

Thoughts?

Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#37071: guix import pypi httpie fails
Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sat, 31 Aug 2019 05:56:02 +0000
Resent-Message-ID: <handler.37071.B37071.15672309617274 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 37071
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 37071 <at> debbugs.gnu.org, Robert Vollmert <rob@HIDDEN>
Received: via spool by 37071-submit <at> debbugs.gnu.org id=B37071.15672309617274
          (code B ref 37071); Sat, 31 Aug 2019 05:56:02 +0000
Received: (at 37071) by debbugs.gnu.org; 31 Aug 2019 05:56:01 +0000
Received: from localhost ([127.0.0.1]:54948 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i3wMj-0001tE-6f
	for submit <at> debbugs.gnu.org; Sat, 31 Aug 2019 01:56:01 -0400
Received: from mail-pf1-f193.google.com ([209.85.210.193]:37083)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1i3wMg-0001st-TN
 for 37071 <at> debbugs.gnu.org; Sat, 31 Aug 2019 01:55:59 -0400
Received: by mail-pf1-f193.google.com with SMTP id y9so5918806pfl.4
 for <37071 <at> debbugs.gnu.org>; Fri, 30 Aug 2019 22:55:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=EmIXUyYQgKr8m55SgAznAaspIkTT/vxzcofQJ6YcS1A=;
 b=Eov3DEjOJW/jrS07pDj+sYCwHPNA0ccS9j98wCE1RqVB72z2CNW++oMO1HJKlt5OLl
 EZVgEs9w0T8l1tsoVMAdxNgTdZgdgM2tioO7xQuTwGLJqz64ubKsBfn7DVK3LBdLGDMi
 uZnvJGmHY38QjvNFllOdrkV/gXv2kdD5EVsMMtUOIzBYPEvMjtQnMLoaa1gaK7kahXrO
 vS4uwchEjmYSZNB6l3XnunfdYugVQmThg8jjLv2PoVwjE2zrkcOtDJTaipcm9hmUiRHQ
 dEKGEiUCQ7jTN9qGE3jzxeKdddtvlm5qE7nye7t4I9wrL/HtBDGi+XVhItDNXRhD/RlF
 opfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=EmIXUyYQgKr8m55SgAznAaspIkTT/vxzcofQJ6YcS1A=;
 b=ou1wTfTf7qwMQAJPfH9X9mC7SVaWwQa9sgzb/CjLYPS9e+S9x16ZeHAiyYohUr2SEt
 ctFCT54O2/WDjD1fR7D0erHP/hPtv38kwbGLtPfQcOO3FHV/r5rwYZoJb0MVBD40B0UB
 AeH33hOGrIidJ+kcq8koZ+1+u93B88DoGCDGYTkwZ5qF0yqgtHWbvoG5pkOx6FdySCoZ
 TmurjfE8E+dyglOEVb/bowPaOWmDbcF6Um6XBjpwEhq+qdWNPWWamIBpfbsioRw2+boa
 u8H1noS5y5nK9QLX7q2+3KmBs9e10g6njuAzjx3T9WtCM/roZXfZZ6ikbh2XUOgF2A11
 WezQ==
X-Gm-Message-State: APjAAAWWCA8/4gnDaDzKHpkBdaeMaPfFA/5meJNYhME48lHoRkP9xwVj
 q2ITYsGx/nrGcisO4SCPdN7CNGc9
X-Google-Smtp-Source: APXvYqwpeaue8fm6CAN0NIysmfb6Gsl55dHlzwShtASV0VLUxkZrLFyJ23tiHzRWCbfDiB6zz27NZQ==
X-Received: by 2002:a63:f357:: with SMTP id t23mr16298299pgj.421.1567230952619; 
 Fri, 30 Aug 2019 22:55:52 -0700 (PDT)
Received: from x200 ([240f:c7:38e9:1:314b:485c:9ba4:72c6])
 by smtp.gmail.com with ESMTPSA id w6sm7882588pgg.2.2019.08.30.22.55.50
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 30 Aug 2019 22:55:51 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
References: <47016DD3-0499-428A-9DE0-DACF8AE4D78B@HIDDEN>
 <871rx5f233.fsf@HIDDEN>
Date: Sat, 31 Aug 2019 23:54:36 +0900
In-Reply-To: <871rx5f233.fsf@HIDDEN> ("Ludovic
 \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\=
 \=\?utf-8\?Q\?s\?\= message of "Wed, 28 Aug 2019 22:48:48 +0200")
Message-ID: <87pnkl5qs3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hi,
>
> Robert Vollmert <rob@HIDDEN> skribis:
>
>> $ guix import pypi httpie
>>  =E2=80=A60.2.tar.gz  83KiB                   291KiB/s 00:00 [##########=
########] 100.0%
>>  =E2=80=A6.py3-none-any.whl  58KiB            201KiB/s 00:00 [##########=
########] 100.0%
>> guix import: warning: Failed to extract file: httpie-1.0.2.dist-info/MET=
ADATA from wheel.
>> Backtrace:
>>           15 (primitive-load "/home/rob/.config/guix/current/bin/guix")
>> In guix/ui.scm:
>>   1692:12 14 (run-guix-command _ . _)
>> In guix/scripts/import.scm:
>>    115:11 13 (guix-import . _)
>> In guix/scripts/import/pypi.scm:
>>    102:23 12 (guix-import-pypi . _)
>> In guix/memoization.scm:
>>      98:0 11 (_ #<hash-table 11e5b20 0/31> ("httpie") _)
>> In unknown file:
>>           10 (_ #<procedure 11f9580 at guix/memoization.scm:179:32 =E2=
=80=A6> =E2=80=A6)
>> In ice-9/boot-9.scm:
>>     829:9  9 (catch _ _ #<procedure 7f2711b7fd48 at guix/import/pyp=E2=
=80=A6> =E2=80=A6)
>> In guix/utils.scm:
>>     635:8  8 (call-with-temporary-output-file _)
>> In guix/import/pypi.scm:
>>    384:25  7 (_ "/tmp/guix-file.A9OwRK" _)
>> In guix/utils.scm:
>>     635:8  6 (call-with-temporary-output-file #<procedure 1091c20 at=E2=
=80=A6>)
>> In guix/import/utils.scm:
>>    133:10  5 (_ "/tmp/guix-file.jFzPxe" _)
>>     123:4  4 (url-fetch _ _)
>> In guix/build/download.scm:
>>     763:4  3 (url-fetch "/tmp/guix-file.A9OwRK" "/tmp/guix-file.jFz=E2=
=80=A6" =E2=80=A6)
>> In srfi/srfi-1.scm:
>>    679:15  2 (append-map _ _ . _)
>>    592:17  1 (map1 (#f))
>> In guix/build/download.scm:
>>     728:8  0 (maybe-expand-mirrors _ _)
>>
>> guix/build/download.scm:728:8: In procedure maybe-expand-mirrors:
>> In procedure struct_vtable: Wrong type argument in position 1 (expecting=
 struct): #f
>
> The key here is the message =E2=80=9CFailed to extract [=E2=80=A6] METADA=
TA from wheel=E2=80=9D.
>
> When that happens, I think we miss too much information to do anything
> sensible.  Maxim, do you confirm?
>
> If you add =E2=80=98unzip=E2=80=99 to $PATH, the problem should vanish.
>
> We should probably process wheels & co. in derivations to avoid relying
> on tools that may or may not be in $PATH.
>
> Thoughts?
>
> Ludo=E2=80=99.

I can't seem to reproduce, even with 'unzip' removed from my profile:

--8<---------------cut here---------------start------------->8---
Starting download of /tmp/guix-file.Bdb5Iq
From https://files.pythonhosted.org/packages/d5/a4/ab61c1dbfdef33c7b7f5f7df=
0d79eb5cd55a106601a4acc17f983f320b4a/httpie-1.0.3.tar.gz...
 =E2=80=A60.3.tar.gz  85KiB                   1.4MiB/s 00:00 [#############=
#####] 100.0%

Starting download of /tmp/guix-file.F4KKQY
From https://files.pythonhosted.org/packages/da/08/22487f04aa2cb831c5e02c92=
86f1d145f81b06bf9bbf1e73b70d2dc15d7f/httpie-1.0.3-py2.py3-none-any.whl...
 =E2=80=A6.py3-none-any.whl  58KiB            1.1MiB/s 00:00 [#############=
#####] 100.0%
guix import: warning: Failed to extract file: httpie-1.0.3.dist-info/METADA=
TA from wheel.
(package
  (name "python-httpie")
  (version "1.0.3")
  (source
    (origin
      (method url-fetch)
      (uri (pypi-uri "httpie" version))
      (sha256
        (base32
          "103fcigpxf4nqmrdqjnyz7d9n4n16906slwmmqqc0gkxv8hnw6vd"))))
  (build-system python-build-system)
  (propagated-inputs
    `(("python-pygments" ,python-pygments)
      ("python-requests" ,python-requests)))
  (home-page "http://httpie.org/")
  (synopsis
    "HTTPie - a CLI, cURL-like tool for humans.")
  (description
    "HTTPie - a CLI, cURL-like tool for humans.")
  (license license:bsd-3))
--8<---------------cut here---------------end--------------->8---

It's hard to investigate the problem without being able to reproduce,
but, what the code is supposed to do is

a. Parse the METADATA file of the wheel archive.
b. If that fails, parse the first requires.txt file found in a source
archive of the package.

When both fail, empty lists are returned for the required dependencies
and optional test dependencies (and this should just give you a package
without inputs rather than a backtrace).

The later case is covered by the functional test named
"pypi->guix-package, no usable requirement file." in
guix/tests/pypi.scm.

HTH!

Maxim





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.