unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <othacehe@gnu.org>
To: 44742@debbugs.gnu.org
Subject: bug#44742: Cuirass crashed when run interactively
Date: Thu, 19 Nov 2020 18:49:06 +0100	[thread overview]
Message-ID: <874kllqlt9.fsf@gnu.org> (raw)


Hello,

When running Cuirass (3fd0eb1) directly from a command line, I have
the following error:

--8<---------------cut here---------------start------------->8---
2020-11-19T18:34:29 exception arguments: (#f "Wrong number of arguments to ~A" (#<procedure 7f8f7ffea660 at git/structs.scm:562:22 (ptr _)>) #f)
In ice-9/boot-9.scm:
  1731:15 12 (with-exception-handler #<procedure 7f8f7fe26d80 at ic…> …)
  1736:10 11 (with-exception-handler _ _ #:unwind? _ # _)
    718:2 10 (call-with-prompt ("break") #<procedure 7f8f82214c80 a…> …)
    718:2  9 (call-with-prompt ("continue") #<procedure 7f8f8221486…> …)
In ice-9/eval.scm:
    619:8  8 (_ #(#(#<directory (guile-user) 7f8f83128f00> #<var…> …)))
In srfi/srfi-1.scm:
    634:9  7 (for-each #<procedure 7f8f7ff52180 at cuirass/base.scm…> …)
In ice-9/boot-9.scm:
  1731:15  6 (with-exception-handler #<procedure 7f8f7fe26720 at ic…> …)
  1669:16  5 (raise-exception _ #:continuable? _)
  1764:13  4 (_ #<&compound-exception components: (#<&assertion-fail…>)
In cuirass/utils.scm:
    319:8  3 (_ _ . _)
In ice-9/boot-9.scm:
  1731:15  2 (with-exception-handler #<procedure 7f8f7c42d510 at ic…> …)
In cuirass/utils.scm:
   320:22  1 (_)
In unknown file:
           0 (make-stack #t)
ERROR: In procedure make-stack:
Wrong number of arguments to #<procedure 7f8f7ffea660 at git/structs.scm:562:22 (ptr _)>
--8<---------------cut here---------------end--------------->8---

this seems to be cause by the recent addition of a progress bar when
using Guile-Git.

The following work-around seem to confirm it:

--8<---------------cut here---------------start------------->8---
-                 (fetch-input store input
-                              #:writable-copy? (compile? input)))))
+                 (parameterize ((current-error-port (%make-void-port "rw+")))
+                   (fetch-input store input
+                                #:writable-copy? (compile? input))))))
--8<---------------cut here---------------end--------------->8---

Thanks,

Mathieu




             reply	other threads:[~2020-11-19 17:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-19 17:49 Mathieu Othacehe [this message]
2020-12-08 11:11 ` bug#44742: Cuirass crashed when run interactively Mathieu Othacehe

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=874kllqlt9.fsf@gnu.org \
    --to=othacehe@gnu.org \
    --cc=44742@debbugs.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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