Re : i18n guix module error when opening shell after guix home reconfigure

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Roland Everaert
Owner
unassigned
Submitted by
Roland Everaert
Severity
normal
Merged with
R
R
Roland Everaert wrote on 1 Feb 2022 16:32
(name . Holger Peters)(address . holger.peters@posteo.de)(address . bug-guix@gnu.org)
ci8GgZQNcWNufyzzpVPmo9Hw6IIEpwppDMrrgvcZqSXenweTFw2AI-dxI48qevQnOggpTTIc2mLuekQR0NDbiG5zL20E9EsZnFIb20C48rA=@protonmail.com
Ok, how to revert to the commit before that one, are you aware of any plan for a fix in a not so distant future?

Thanks for delving into the abyss for us ;)

Roland Everaert
---
Use the F.O.S.S., Luke

Sent with ProtonMail Secure Email.

------- Original Message -------

Le samedi 29 janvier 2022 à 14:19, Holger Peters <holger.peters@posteo.de> a écrit :

Toggle quote (159 lines)
> Hi,
>
> An error message about guix i18n has appeared for a while now when using guix with guix home:
>
> Backtrace:
>
> 9 (primitive-load "/home/holger/.guix-home/on-first-login")
>
> In ice-9/eval.scm:
>
> 721:20 8 (primitive-eval (begin (use-modules (guix i18n)) (# …) …))
>
> In ice-9/psyntax.scm:
>
> 1230:36 7 (expand-top-sequence ((begin (use-modules (guix …)) …)) …)
>
> 1090:25 6 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
>
> 1222:19 5 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
>
> 259:10 4 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
>
> In ice-9/boot-9.scm:
>
> 3927:20 3 (process-use-modules )
>
> 222:17 2 (map1 (((guix i18n))))
>
> 3928:31 1 ( ((guix i18n)))
>
> 3329:6 0 (resolve-interface (guix i18n) #:select _ #:hide _ # _ # …)
>
> The same error message has also appeared on other people’s machines. I think this commit is the one introducing the imports which give the error message: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=cde3376b35222f46f8a82e7668a1a6fd42c08754
>
> > Anfang der weitergeleiteten Nachricht:
> >
> > Von: Roland Everaert via help-guix@gnu.org
> >
> > Betreff: i18n guix module error when opening shell after guix home reconfigure
> >
> > Datum: 5. Januar 2022 um 11:00:38 MEZ
> >
> > An: "help-guix@gnu.org" help-guix@gnu.org
> >
> > Antwort an: Roland Everaert r.everaert@protonmail.com
> >
> > Hello,
> >
> > First, happy new year and best wishes for this year.
> >
> > I have updated my guix home configuration to use my zsh config instead of a blank bash configuration.
> >
> > Unfortunatelly, when I logout and login again, I face the following errors:
> > ---------------------------------------------------------------------------
> >
> > Backtrace:
> >
> > 9 (primitive-load "/home/roland/.guix-home/on-first-login")
> >
> > In ice-9/eval.scm:
> >
> > 721:20 8 (primitive-eval (begin (use-modules (guix i18n)) (# …) …))
> >
> > In ice-9/psyntax.scm:
> >
> > 1230:36 7 (expand-top-sequence ((begin (use-modules (guix …)) …)) …)
> >
> > 1090:25 6 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
> >
> > 1222:19 5 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
> >
> > 259:10 4 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
> >
> > In ice-9/boot-9.scm:
> >
> > 3927:20 3 (process-use-modules )
> >
> > 222:17 2 (map1 (((guix i18n))))
> >
> > 3928:31 1 ( ((guix i18n)))
> >
> > 3329:6 0 (resolve-interface (guix i18n) #:select _ #:hide _ # _ # …)
> >
> > ice-9/boot-9.scm:3329:6: In procedure resolve-interface:
> >
> > no code for module (guix i18n)
> > ----------------------------------------------------------------------------------------
> >
> > However, the command guix home reconfigure home-config.scm does not generate any error, so I don't understand why guix complain about a missing module related to internationalization.
> >
> > I am using guix, the package manager, on a Fedora 34 distribution.
> >
> > Below is my home-config.scm file content:
> >
> > (use-modules (gnu home)
> >
> > (gnu home services)
> >
> > (gnu home services shells)
> >
> > (gnu services)
> >
> > (gnu packages admin)
> >
> > (gnu packages python-xyz)
> >
> > (gnu packages password-utils)
> >
> > (gnu packages dunst)
> >
> > (gnu packages disk)
> >
> > (gnu packages backup)
> >
> > (gnu packages libreoffice)
> >
> > (gnu packages guile)
> >
> > (gnu packages xdisorg)
> >
> > (gnu packages tls)
> >
> > (gnu packages vpn)
> >
> > (gnu packages terminals)
> >
> > (guix gexp))
> >
> > (home-environment
> >
> > (packages (list htop glances password-store dunst ranger restic hunspell
> >
> > ;; hunspell-dict-fr hunspell-dict-en
> >
> > ;; guile
> >
> > neofetch xdotool openssl openvpn xscreensaver alacritty))
> >
> > (services
> >
> > (list
> >
> > (service home-zsh-service-type
> >
> > (home-zsh-configuration
> >
> > (xdg-flavor? #t)
> >
> > (zshrc (list (local-file "zshrc"))))))))
> > ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> >
> > Any idea what might cause such trouble?
> >
> > Roland Everaert
> > ---------------
> >
> > Use the F.O.S.S., Luke
> >
> > Sent with ProtonMail Secure Email.
L
L
Ludovic Courtès wrote on 4 Feb 2022 22:48
control message for bug #53701
(address . control@debbugs.gnu.org)
87leyqmhfu.fsf@gnu.org
merge 53701 53621
quit
L
L
Ludovic Courtès wrote on 5 Feb 2022 01:01
Re: bug#53621: i18n guix module error when opening shell after guix home reconfigure
(name . Roland Everaert)(address . r.everaert@protonmail.com)
87leyqkwqo.fsf_-_@gnu.org
Hi,

Fixed in 41efa45508b292d947371dd6b9df943c33727c3d, thanks!

Ludo’.
Closed
R
R
Roland Everaert wrote on 8 Feb 2022 16:00
(name . Ludovic Courtès)(address . ludo@gnu.org)
JDRGNI8-_tpu29gDKvQ_61PzHXchvlRQR6jj9kMylEZApfqbrjEk_U8zfExJVHv-NLxDW8OfafC-kgiBh7zm0Z-FNtJ_ORFtFVkG-jl3st8=@protonmail.com
Hello,

I performed an update today and I can confirm that the reported error has disappeared.

Thank you for the follow-up and fix.


Regards,

Roland Everaert
---
Use the F.O.S.S., Luke

Sent with ProtonMail Secure Email.

------- Original Message -------

Le samedi 5 février 2022 à 01:01, Ludovic Courtès <ludo@gnu.org> a écrit :

Toggle quote (5 lines)
> Hi,
>
> Fixed in 41efa45508b292d947371dd6b9df943c33727c3d, thanks!
>
> Ludo’.
Closed
?