GNU bug report logs - #49295
mumi: mu-debug is unbound in mu-message-send

Previous Next

Package: mumi;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Wed, 30 Jun 2021 15:11:02 UTC

Severity: normal

Merged with 49968

To reply to this bug, email your comments to 49295 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#49295; Package guix. (Wed, 30 Jun 2021 15:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxime Devos <maximedevos <at> telenet.be>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 30 Jun 2021 15:11:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: bug-guix <at> gnu.org
Subject: mumi: mu-debug is unbound in mu-message-send
Date: Wed, 30 Jun 2021 17:09:59 +0200
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> 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 <at> 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 <at> elephl…> …)

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#49295; Package guix. (Fri, 09 Jul 2021 09:42:02 GMT) Full text and rfc822 format available.

Message #8 received at 49295 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 49295 <at> debbugs.gnu.org
Subject: Re: bug#49295: mumi: mu-debug is unbound in mu-message-send
Date: Fri, 09 Jul 2021 11:40:51 +0200
Hi,

Maxime Devos <maximedevos <at> 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 <at> 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 <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#49295; Package guix. (Tue, 17 Aug 2021 22:08:02 GMT) Full text and rfc822 format available.

Message #11 received at 49295 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: John Kehayias <john.kehayias <at> protonmail.com>, "49968 <at> debbugs.gnu.org"
 <49968 <at> debbugs.gnu.org>, 49295 <at> debbugs.gnu.org
Subject: Re: bug#49968: Fwd: issue website creates invalid comment expectations
Date: Wed, 18 Aug 2021 00:07:35 +0200
[Message part 1 (text/plain, inline)]
John Kehayias via Bug reports for GNU Guix schreef op di 10-08-2021 om 17:46 [+0000]:
> 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.

> 
> 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
[signature.asc (application/pgp-signature, inline)]

Merged 49295 49968. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 01 Sep 2021 16:45:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#49295; Package guix. (Wed, 01 Sep 2021 21:47:01 GMT) Full text and rfc822 format available.

Message #16 received at 49295 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 49295 <at> debbugs.gnu.org
Subject: Re: bug#49295: mumi: mu-debug is unbound in mu-message-send
Date: Wed, 01 Sep 2021 23:46:16 +0200
Hi,

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

> Maxime Devos <maximedevos <at> 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 <at> 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 <at> 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’.




bug reassigned from package 'guix' to 'mumi'. Request was from Felix Lechner <felix.lechner <at> lease-up.com> to control <at> debbugs.gnu.org. (Thu, 08 Feb 2024 18:11:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-mumi <at> gnu.org:
bug#49295; Package mumi. (Sun, 09 Mar 2025 06:05:01 GMT) Full text and rfc822 format available.

Message #21 received at 49295 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 49295 <at> debbugs.gnu.org, 49968 <at> debbugs.gnu.org,
 Maxime Devos <maximedevos <at> telenet.be>
Subject: Re: bug#49968: Fwd: issue website creates invalid comment expectations
Date: Sun, 09 Mar 2025 15:03:56 +0900
Hi Ludovic,

Ludovic Courtès <ludo <at> gnu.org> writes:

> Hi,
>
> Ludovic Courtès <ludo <at> gnu.org> skribis:

[...]

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

Since this feature has been broken repeatedly with nefarious
consequences (silently disappears user reported issues!), I think we
should come up with a test for it, if we want to re-enable it, so that
we can ensure it keeps working in the future.

-- 
Thanks,
Maxim




This bug report was last modified 96 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.