mumi: mu-debug is unbound in mu-message-send

  • Open
  • quality assurance status badge
Details
3 participants
  • Felix Lechner
  • Ludovic Courtès
  • Maxime Devos
Owner
unassigned
Submitted by
Maxime Devos
Severity
normal
Merged with
M
M
Maxime Devos wrote on 30 Jun 2021 17:09
(address . bug-guix@gnu.org)
3eac711a3ecf6ddfb0d2c796e7c203f17b1bcd09.camel@telenet.be
Hi guix,

Here is a backtrace from mumi.log.zst and mumi.mailer.log.zst.
This lead to a 500.

---- mumi.log.zst
ERROR: In procedure mu-message-send:
In procedure module-lookup: Unbound variable: mu-debug
processing
job: mail:162506283631699
options: ((from . "Maxime Devos") (subject . "[PATCH] isc-dhcp: Fix dhclient-script wrapper when cross-compiling.") (to . "49293@debbugs.gnu.org") (text . "I forgot to note that I don't have an
aarch64-linux-gnu system to test this on. But I did verify the interpreter had the right architecture."))
Backtrace:
3 (primitive-load "/gnu/store/j80xdprnwwcslyq8gnj34jmymid…")
In mumi/jobs.scm:
147:19 2 (worker-loop _)
114:18 1 (process-next #<procedure 7efc2c1e1c80 at mumi/jobs.scm…>)
In unknown file:
0 (mu-message-send #<message "issues.guix.gnu.org@elephl…> …)
---- mumi.mailer.log.zst
ERROR: In procedure mu-message-send:
In procedure module-lookup: Unbound variable: mu-debug
processing
job: mail:162506283631699
options: ((from . "Maxime Devos") (subject . "[PATCH] isc-dhcp: Fix dhclient-script wrapper when cross-compiling.") (to . "49293@debbugs.gnu.org") (text . "I forgot to note that I don't have an
aarch64-linux-gnu system to test this on. But I did verify the interpreter had the right architecture."))
Backtrace:
3 (primitive-load "/gnu/store/j80xdprnwwcslyq8gnj34jmymid…")
In mumi/jobs.scm:
147:19 2 (worker-loop _)
114:18 1 (process-next #<procedure 7efc2c1e1c80 at mumi/jobs.scm…>)
In unknown file:
0 (mu-message-send #<message "issues.guix.gnu.org@elephl…> …)

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYNyJRxccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7gpZAP9JZ2K1qMi4qSeNnZOFO6oQsz1t
pxAc3Uels908YMYneAEAgTbUyf6PADl+jhX/ltxQrXtrkpZSjtLLXTzrVV1ekww=
=JnF8
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 9 Jul 2021 11:40
(name . Maxime Devos)(address . maximedevos@telenet.be)(address . 49295@debbugs.gnu.org)
878s2fj04c.fsf@gnu.org
Hi,

Maxime Devos <maximedevos@telenet.be> skribis:

Toggle quote (17 lines)
> ERROR: In procedure mu-message-send:
> In procedure module-lookup: Unbound variable: mu-debug
> processing
> job: mail:162506283631699
> options: ((from . "Maxime Devos") (subject . "[PATCH] isc-dhcp: Fix dhclient-script wrapper when cross-compiling.") (to . "49293@debbugs.gnu.org") (text . "I forgot to note that I don't have an
> aarch64-linux-gnu system to test this on. But I did verify the interpreter had the right architecture."))
> Backtrace:
> 3 (primitive-load "/gnu/store/j80xdprnwwcslyq8gnj34jmymid…")
> In mumi/jobs.scm:
> 147:19 2 (worker-loop _)
> 114:18 1 (process-next #<procedure 7efc2c1e1c80 at mumi/jobs.scm…>)
> In unknown file:
> 0 (mu-message-send #<message "issues.guix.gnu.org@elephl…> …)
> ---- mumi.mailer.log.zst
> ERROR: In procedure mu-message-send:
> In procedure module-lookup: Unbound variable: mu-debug

When playing with the Guile interface of Mailutils, I remember you had
to define that variable because ‘mu-message-send’ would look it up in
the current module (argh!):

;; This variable is looked up by 'mu-message-send', uh!
(define-public mu-debug 0)

So I guess you can try adding this snippet in the module that uses
‘mu-message-send’ (?).

HTH!

Ludo’.
M
M
Maxime Devos wrote on 18 Aug 2021 00:07
Re: bug#49968: Fwd: issue website creates invalid comment expectations
93b5944e604258145ff800329382806217a278d7.camel@telenet.be
John Kehayias via Bug reports for GNU Guix schreef op di 10-08-2021 om 17:46 [+0000]:
Toggle quote (7 lines)
> Hi Maxime,
>
> I took a quick look, but I'm not seeing how the proposed fix works: there is already
> that line for defining mu-debug in the only file that uses mu-message-send...?
> (Perhaps this should be sent to that original issue, I can send it again there if that
> is helpful.)

‘the current module’ is whatever (current-module) evaluates to.
It is not necessarily the module wherein 'mu-message-send' is used.
IIUC, every time a (define-module ([...])) form is encountered,
(current-module) is set to [...], or something like that (details
might be a little different). It works for stand-alone scripts and
in the REPL I guess, but otherwise it's a very cumbersome interface.

This interface should be changed (in mailutils) IMO.

Toggle quote (5 lines)
>
> If there is not a relatively quick fix, I would vote for disabling the comment
> submission until it can be fixed. Otherwise, we're losing comments with no indication
> to the submitter.

nckx has done that recently. Pages on https://issues.guix.gnu.org/NNN
now end with ‘Commenting via the web interface is currently disabled.’.

Greetings,
Ma
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYRwzJxccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7oNAAPwLpdr8KUfRd5KppISaepG80WGu
uYWUmcVA4E5ZG+VaDwD/UfRAvdbPkmLPmbUqwr2aJfWtulRnfDZ3u0/DVBk+fQQ=
=ql7V
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 1 Sep 2021 18:44
control message for bug #49295
(address . control@debbugs.gnu.org)
87o89c6y9y.fsf@gnu.org
merge 49295 49968
quit
L
L
Ludovic Courtès wrote on 1 Sep 2021 23:46
Re: bug#49295: mumi: mu-debug is unbound in mu-message-send
(name . Maxime Devos)(address . maximedevos@telenet.be)(address . 49295@debbugs.gnu.org)
87fsuo55qv.fsf@gnu.org
Hi,

Ludovic Courtès <ludo@gnu.org> skribis:

Toggle quote (26 lines)
> Maxime Devos <maximedevos@telenet.be> skribis:
>
>> ERROR: In procedure mu-message-send:
>> In procedure module-lookup: Unbound variable: mu-debug
>> processing
>> job: mail:162506283631699
>> options: ((from . "Maxime Devos") (subject . "[PATCH] isc-dhcp: Fix dhclient-script wrapper when cross-compiling.") (to . "49293@debbugs.gnu.org") (text . "I forgot to note that I don't have an
>> aarch64-linux-gnu system to test this on. But I did verify the interpreter had the right architecture."))
>> Backtrace:
>> 3 (primitive-load "/gnu/store/j80xdprnwwcslyq8gnj34jmymid…")
>> In mumi/jobs.scm:
>> 147:19 2 (worker-loop _)
>> 114:18 1 (process-next #<procedure 7efc2c1e1c80 at mumi/jobs.scm…>)
>> In unknown file:
>> 0 (mu-message-send #<message "issues.guix.gnu.org@elephl…> …)
>> ---- mumi.mailer.log.zst
>> ERROR: In procedure mu-message-send:
>> In procedure module-lookup: Unbound variable: mu-debug
>
> When playing with the Guile interface of Mailutils, I remember you had
> to define that variable because ‘mu-message-send’ would look it up in
> the current module (argh!):
>
> ;; This variable is looked up by 'mu-message-send', uh!
> (define-public mu-debug 0)

I pushed a patch to fix this in Mailutils in commit
a5fb1f4eeb7563bd8519660c452a45afecd296c6, and also submitted it
upstream.

I guess we could try re-enabling the comments via the Web interface of
mumi?

Thanks,
Ludo’.
F
F
Felix Lechner wrote on 8 Feb 19:09 +0100
(no subject)
(address . control@debbugs.gnu.org)
87h6ii6d58.fsf@lease-up.com
reassign 65858 mumi
reassign 65809 mumi
reassign 49295 mumi
reassign 64833 mumi
reassign 54204 mumi
reassign 68920 mumi
reassign 55765 mumi
reassign 65923 mumi
reassign 63507 mumi
reassign 60226 mumi
reassign 63936 mumi
reassign 60951 mumi
reassign 66027 mumi
thanks
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 49295@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 49295
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch