unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Joseph LaFreniere <joseph@lafreniere.xyz>
To: help-guix@gnu.org
Subject: Exception on `guix import`
Date: Sun, 04 Oct 2020 14:21:42 -0500	[thread overview]
Message-ID: <87eemd23w9.fsf@odyssey.lafreniere.xyz> (raw)

[-- 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

             reply	other threads:[~2020-10-04 19:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-04 19:21 Joseph LaFreniere [this message]
2020-10-10 16:30 ` Exception on `guix import` Joshua Branson
2020-10-21 22:02 ` Ludovic Courtès

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=87eemd23w9.fsf@odyssey.lafreniere.xyz \
    --to=joseph@lafreniere.xyz \
    --cc=help-guix@gnu.org \
    /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).