unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* website: A little help running the website locally
@ 2021-05-21 13:53 Luis Felipe
  2021-05-21 16:04 ` Tissevert
  0 siblings, 1 reply; 18+ messages in thread
From: Luis Felipe @ 2021-05-21 13:53 UTC (permalink / raw)
  To: guix-devel

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/


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-05-27 19:39 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21 13:53 website: A little help running the website locally Luis Felipe
2021-05-21 16:04 ` 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

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