unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Exception on `guix import`
@ 2020-10-04 19:21 Joseph LaFreniere
  2020-10-10 16:30 ` Joshua Branson
  2020-10-21 22:02 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Joseph LaFreniere @ 2020-10-04 19:21 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 1867 bytes --]

Running `guix import pypi black-macchiato` prints the following 
output (also attached):

```
Backtrace:
In ice-9/boot-9.scm:
  1736:10 18 (with-exception-handler _ _ #:unwind? _ 
  #:unwind-for-type _)
In unknown file:
          17 (apply-smob/0 #<thunk 7ff90938b2c0>)
In ice-9/boot-9.scm:
    718:2 16 (call-with-prompt _ _ #<procedure 
    default-prompt-handler (k proc)>)
In ice-9/eval.scm:
    619:8 15 (_ #(#(#<directory (guile-user) 7ff908fb0f00>)))
In guix/ui.scm:
  2115:12 14 (run-guix-command _ . _)
In guix/scripts/import.scm:
   120:11 13 (guix-import . _)
In guix/scripts/import/pypi.scm:
    99:23 12 (guix-import-pypi . _)
In guix/memoization.scm:
     98:0 11 (mproc "black-macchiato")
In unknown file:
          10 (_ #<procedure 7ff906dbf580 at 
          guix/memoization.scm:179:32 ()> #<procedure list _> 
          ("black-macchiato"))
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
```

I am getting this exception with guix 1.1.0-28.d27dbeb on Guix 
System.  The same exception is also occurring when running `guix 
import elpa -a melpa python-black`.

--
Joseph LaFreniere

[-- Attachment #2: output.txt --]
[-- Type: text/plain, Size: 1536 bytes --]

Backtrace:
In ice-9/boot-9.scm:
  1736:10 18 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In unknown file:
          17 (apply-smob/0 #<thunk 7fd21a66c580>)
In ice-9/boot-9.scm:
    718:2 16 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
    619:8 15 (_ #(#(#<directory (guile-user) 7fd21a2a7f00>)))
In guix/ui.scm:
  2115:12 14 (run-guix-command _ . _)
In guix/scripts/import.scm:
   120:11 13 (guix-import . _)
In guix/scripts/import/pypi.scm:
    99:23 12 (guix-import-pypi . _)
In guix/memoization.scm:
     98:0 11 (mproc "black-macchiato")
In unknown file:
          10 (_ #<procedure 7fd2180c79a0 at guix/memoization.scm:179:32 ()> #<procedure list _> ("black-macchiato"))
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Exception on `guix import`
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Joshua Branson @ 2020-10-10 16:30 UTC (permalink / raw)
  To: Joseph LaFreniere; +Cc: help-guix


Ah bummer.  I think the guix import feature is one of the harder ones to
keep working.  :(  I'm not certain how to fix it.  I just wanted to
express my emotional support.  :)  

-- 
Joshua Branson
Sent from Emacs and Gnus
https://gnucode.me
https://video.hardlimit.com/accounts/joshua_branson/video-channels
"You can have whatever you want, as long as you help enough other people get what they want." - Zig Ziglar


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Exception on `guix import`
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2020-10-21 22:02 UTC (permalink / raw)
  To: Joseph LaFreniere; +Cc: help-guix

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-21 22:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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).