From: "Ludovic Courtès" <ludo@gnu.org>
To: Joseph LaFreniere <joseph@lafreniere.xyz>
Cc: help-guix@gnu.org
Subject: Re: Exception on `guix import`
Date: Thu, 22 Oct 2020 00:02:54 +0200 [thread overview]
Message-ID: <87blgvw835.fsf@gnu.org> (raw)
In-Reply-To: <87eemd23w9.fsf@odyssey.lafreniere.xyz> (Joseph LaFreniere's message of "Sun, 04 Oct 2020 14:21:42 -0500")
Hi,
Joseph LaFreniere <joseph@lafreniere.xyz> skribis:
> Running `guix import pypi black-macchiato` prints the following output
> (also attached):
[...]
> In guix/import/pypi.scm:
> 477:21 9 (_ _)
> 121:9 8 (pypi-fetch "black-macchiato")
> In guix/import/json.scm:
> 45:2 7 (json-fetch _ #:headers _)
> In ice-9/boot-9.scm:
> 1736:10 6 (with-exception-handler _ _ #:unwind? _
> #:unwind-for-type _)
> In guix/import/json.scm:
> 50:19 5 (_)
> In guix/http-client.scm:
> 87:25 4 (http-fetch _ #:port _ #:text? _ #:buffered? _
> #:verify-certificate? _ #:headers _)
> In guix/build/download.scm:
> 436:4 3 (open-connection-for-uri _ #:timeout _
> #:verify-certificate? _)
> 437:14 2 (thunk)
> 361:16 1 (open-socket-for-uri _ #:timeout _)
> In ice-9/boot-9.scm:
> 1669:16 0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> In procedure struct-vtable: Wrong type argument in position 1
> (expecting struct): #f
Do you still experience it? It works for me:
--8<---------------cut here---------------start------------->8---
$ guix import pypi black-macchiato
Starting download of /tmp/guix-file.dsSsKz
From https://files.pythonhosted.org/packages/02/94/80b2df7480f5f4927fe7bfdd47a2e64eb3b7cc4b6cea0351b698f7b18b73/black-macchiato-1.3.0.tar.gz...
…o-1.3.0.tar.gz 4KiB 6.3MiB/s 00:00 [##################] 100.0%
Starting download of /tmp/guix-file.3muMTA
From https://files.pythonhosted.org/packages/9f/12/06d383ecc3336abfce36c470a6a19b1b569126bfe4d28d4ca5a1b0528f6e/black_macchiato-1.3.0-py3-none-any.whl...
….0-py3-none-any.whl 4KiB 8.3MiB/s 00:00 [##################] 100.0%
(package
(name "python-black-macchiato")
(version "1.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "black-macchiato" version))
(sha256
(base32
"1drp5p697ni1xn5y2lbjpalgpkzy2i4cyxjj5pk4dxr0vk97dd7i"))))
(build-system python-build-system)
(propagated-inputs
`(("python-black" ,python-black)))
(home-page
"https://github.com/wbolster/black-macchiato")
(synopsis "Partial black formatting")
(description "Partial black formatting")
(license license:bsd-3))
$ guix describe
Generacio 163 Oct 11 2020 21:01:54 (nuna)
guix bf986c3
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: bf986c3e4325594c1c6a43cf0b67b92262842863
--8<---------------cut here---------------end--------------->8---
Ludo’.
prev parent reply other threads:[~2020-10-21 22:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-04 19:21 Exception on `guix import` Joseph LaFreniere
2020-10-10 16:30 ` Joshua Branson
2020-10-21 22:02 ` 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=87blgvw835.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=help-guix@gnu.org \
--cc=joseph@lafreniere.xyz \
/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.
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).