unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luis Felipe <luis.felipe.la@protonmail.com>
To: guix-devel <guix-devel@gnu.org>
Subject: website: A little help running the website locally
Date: Fri, 21 May 2021 13:53:43 +0000	[thread overview]
Message-ID: <7J0Os8AqtTsZsgEUulhpYRPleaTDMYhVMegwvV0wAyWEiIC3qgMnFU-XqKWx7L7-lmruN9ZImzE4Kx7GMr9t-lT31jf_v9Mk2bYcrXBTCoY=@protonmail.com> (raw)

Hi,

I've never been able to build and run the internationalized website correctly following the instructions on the README. I even thought there was a typo in the instructions (https://issues.guix.gnu.org/47623), but it seems there is actually a particular problem on my side that I don't know how to resolve. So I could use a little help.

The problem seems to be that the instructions on the README expect a "$HOME/.guix-profile/lib/locale" directory to exist, but it doesn't exist here. There is a "$HOME/.guix-profile/lib/locales" directory instead (note the plural name).

I've tried building and running the website using the "locales" directory to work around the issue. It used to build most of the time, but with enconding issues. Running the website almost always failed with some error about invalid arguments to "setlocale"), so I used plane "haunt serve".

Currently, though, using guix 1f68568 and guix website f7ca68f, building fails for me everytime I run this:

★★★★★★★★★★★★★★★★★★★★
$ GUIX_WEB_SITE_LOCAL=yes guix environment -C -m manifest.scm -E GUIX_LOCPATH -E LANG --share=$HOME/.guix-profile/lib/locales -E GUIX_WEB_SITE_LOCAL --share=/tmp -- haunt build
guile: warning: failed to install locale
Backtrace:
           2 (primitive-load "/gnu/store/yzaxlqmiraznba4yf2cyqpyla9q?")
In haunt/ui.scm:
    131:2  1 (haunt-main _ "build")
In unknown file:
           0 (setlocale 6 "")

ERROR: In procedure setlocale:
In procedure setlocale: Invalid argument
★★★★★★★★★★★★★★★★★★★★


So I haven't been able to work much on the website for a long time. I don't know what's going on...


---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/


             reply	other threads:[~2021-05-21 13:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-21 13:53 Luis Felipe [this message]
2021-05-21 16:04 ` website: A little help running the website locally Tissevert
2021-05-21 16:38   ` Julien Lepiller
2021-05-21 16:48     ` Tissevert
2021-05-21 18:12       ` Luis Felipe
2021-05-21 18:17         ` Julien Lepiller
2021-05-21 18:33           ` Luis Felipe
2021-05-21 18:43             ` Luis Felipe
2021-05-21 18:55               ` Luis Felipe
2021-05-21 18:52             ` Julien Lepiller
2021-05-21 19:02               ` Luis Felipe
2021-05-21 19:24                 ` Julien Lepiller
2021-05-21 19:28                   ` Luis Felipe
2021-05-22 15:46                     ` Julien Lepiller
2021-05-22 18:04                       ` Luis Felipe
2021-05-26 13:46                       ` gauthier
2021-05-27 19:38                         ` Luis Felipe
2021-05-21 17:36   ` Luis Felipe

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='7J0Os8AqtTsZsgEUulhpYRPleaTDMYhVMegwvV0wAyWEiIC3qgMnFU-XqKWx7L7-lmruN9ZImzE4Kx7GMr9t-lT31jf_v9Mk2bYcrXBTCoY=@protonmail.com' \
    --to=luis.felipe.la@protonmail.com \
    --cc=guix-devel@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).