unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#27100: Unnecessary backtrace by guix/build/download.scm
@ 2017-05-27 11:36 Danny Milosavljevic
  2017-05-27 11:40 ` bug#27100: And another unnecessary " Danny Milosavljevic
  2020-11-17 23:27 ` bug#27100: Unnecessary " zimoun
  0 siblings, 2 replies; 3+ messages in thread
From: Danny Milosavljevic @ 2017-05-27 11:36 UTC (permalink / raw)
  To: 27100

guix [env]$ ./pre-inst-env guix import pypi flex
;;; note: source file /x/home/dannym/src/guix/gnu/packages/databases.scm
;;;       newer than compiled /x/home/dannym/src/guix/gnu/packages/databases.go
Backtrace:
           9 (primitive-load "/x/home/dannym/src/guix/scripts/guix")
In guix/ui.scm:
   1264:8  8 (run-guix-command _ . _)
In guix/scripts/import.scm:
   114:11  7 (guix-import . _)
In guix/scripts/import/pypi.scm:
    84:19  6 (guix-import-pypi . _)
In guix/import/pypi.scm:
   279:17  5 (pypi->guix-package _)
In ice-9/boot-9.scm:
    837:9  4 (catch srfi-34 #<procedure 34cec00 at guix/import/json?> ?)
In guix/import/json.scm:
    32:17  3 (_)
In guix/http-client.scm:
   239:25  2 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # ?)
In guix/build/download.scm:
    520:4  1 (open-connection-for-uri _ #:timeout _ # _)
    417:6  0 (tls-wrap #<closed: file 1e2a9a0> _ # _)

guix/build/download.scm:417:6: In procedure tls-wrap:
guix/build/download.scm:417:6: X.509 certificate of 'pypi.python.org' could not be verified:
  signer-not-found
  invalid

Also, the most interesting information, which is which certificates it DID know and where it got them, is not printed.

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

* bug#27100: And another unnecessary backtrace by guix/build/download.scm
  2017-05-27 11:36 bug#27100: Unnecessary backtrace by guix/build/download.scm Danny Milosavljevic
@ 2017-05-27 11:40 ` Danny Milosavljevic
  2020-11-17 23:27 ` bug#27100: Unnecessary " zimoun
  1 sibling, 0 replies; 3+ messages in thread
From: Danny Milosavljevic @ 2017-05-27 11:40 UTC (permalink / raw)
  To: 27100

Backtrace:
          12 (primitive-load "/x/home/dannym/src/guix/scripts/guix")
In guix/ui.scm:
   1264:8 11 (run-guix-command _ . _)
In guix/scripts/import.scm:
   114:11 10 (guix-import . _)
In guix/scripts/import/pypi.scm:
    84:19  9 (guix-import-pypi . _)
In guix/import/pypi.scm:
   279:17  8 (pypi->guix-package _)
In ice-9/boot-9.scm:
    837:9  7 (catch srfi-34 #<procedure 2ced7e0 at guix/import/json…> …)
In guix/import/json.scm:
    32:17  6 (_)
In guix/http-client.scm:
   239:25  5 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # …)
In guix/build/download.scm:
    520:4  4 (open-connection-for-uri _ #:timeout _ # _)
   391:34  3 (tls-wrap #<input-output: socket 16> "pypi.python.org" # …)
    308:4  2 (make-credendials-with-ca-trust-files _)
In srfi/srfi-1.scm:
    640:9  1 (for-each #<procedure 2cf0b60 at guix/build/download.s…> …)
In unknown file:
           0 (set-certificate-credentials-x509-trust-file! #<certif…> …)

ERROR: In procedure set-certificate-credentials-x509-trust-file!:
ERROR: Throw to key `gnutls-error' with args `(#<gnutls-error-enum Fehler beim Dateilesen.> set-certificate-credentials-x509-trust-file!)'.

Again without the actual interesting information (the file in question), which is presumably cut off by the "..." in the backtrace.  Btw how can I turn the cutoff off?

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

* bug#27100: Unnecessary backtrace by guix/build/download.scm
  2017-05-27 11:36 bug#27100: Unnecessary backtrace by guix/build/download.scm Danny Milosavljevic
  2017-05-27 11:40 ` bug#27100: And another unnecessary " Danny Milosavljevic
@ 2020-11-17 23:27 ` zimoun
  1 sibling, 0 replies; 3+ messages in thread
From: zimoun @ 2020-11-17 23:27 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 27100

Hi Danny,

On Sat, 27 May 2017 at 13:36, Danny Milosavljevic <dannym@scratchpost.org> wrote:
> guix [env]$ ./pre-inst-env guix import pypi flex
> Backtrace:

[...] Ugly 

> guix/build/download.scm:417:6: In procedure tls-wrap:
> guix/build/download.scm:417:6: X.509 certificate of 'pypi.python.org' could not be verified:
>   signer-not-found
>   invalid
>
> Also, the most interesting information, which is which certificates it DID know and where it got them, is not printed.

Well, the bug #27100 [1] is solved now, I guess.  First, the command

  $ guix import pypi flex

works now.  And the command:

  $ guix import pypi kikoo
  following redirection to `https://pypi.org/pypi/kikoo/json/'...
  guix import: error: failed to download meta-data for package 'kikoo'

fails gracefully.  What remains is “guix import pypi kikoo -r” but it is
tracked by #44115 about the recursive option of all the importers.

Otherwise, do you have example to reproduce the bug you initiated.

1: <http://issues.guix.gnu.org/issue/27100>
2: <http://issues.guix.gnu.org/issue/44115>


Thanks,
simon




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

end of thread, other threads:[~2020-11-17 23:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-27 11:36 bug#27100: Unnecessary backtrace by guix/build/download.scm Danny Milosavljevic
2017-05-27 11:40 ` bug#27100: And another unnecessary " Danny Milosavljevic
2020-11-17 23:27 ` bug#27100: Unnecessary " zimoun

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git