help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception on `guix import`


From: Ludovic Courtès
Subject: Re: Exception on `guix import`
Date: Thu, 22 Oct 2020 00:02:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]