From mboxrd@z Thu Jan 1 00:00:00 1970 From: sirgazil Subject: bug#26006: [Website] Integral update proposal Date: Sat, 17 Jun 2017 11:41:04 -0500 Message-ID: References: <57bc6255-c3a1-61e2-fee4-5b6f523a9885@zoho.com> <87injztuax.fsf@gnu.org> <877f0d65qe.fsf@gnu.org> <877f0cjtul.fsf@gnu.org> <493e9e04-fc8f-2a77-0927-a862f174aa55@zoho.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------DD9B8262DC33DF832F626E8B" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMGW6-0006WC-No for bug-guix@gnu.org; Sat, 17 Jun 2017 12:24:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMGW2-00041G-90 for bug-guix@gnu.org; Sat, 17 Jun 2017 12:24:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50905) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dMGW2-000415-5f for bug-guix@gnu.org; Sat, 17 Jun 2017 12:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dMGW2-0006sY-00 for bug-guix@gnu.org; Sat, 17 Jun 2017 12:24:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Catonano Cc: 26006@debbugs.gnu.org This is a multi-part message in MIME format. --------------DD9B8262DC33DF832F626E8B Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit On 17/06/17 11:09, Catonano wrote: > 2017-06-17 17:46 GMT+02:00 sirgazil >: > > On 17/06/17 02:16, Catonano wrote: >> >> >> 2017-06-17 6:57 GMT+02:00 Catonano > >: >> >> >> >> 2017-06-16 16:46 GMT+02:00 sirgazil > >: >> >> >> >> I'm fine with investigating the missing parts before or >> after moving to >> guix-artwork.git. >> >> >> For what it's worth, I vouch for moving all to gnu.org >> and possibly expressing the issues in the >> appropriate debbugs instance >> >> Then, I might be able to collaborate in sorting out some issues >> >> I never used Mercurial. I should learn from scratch. >> >> Also, I can't access the issues on bitbucket because the >> login doesn't work in Icecat (plus some nonsense about >> upgrading my account and coming mobile apps that require me >> some voodoo right now) >> >> So I can't see the issues at >> https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open >> >> >> >> I managed to install mercurial, but I can't build it >> >> [env]$ haunt build >> Backtrace: >> In ice-9/boot-9.scm: >> 2986:16 19 (try-module-autoload _ _) >> 2316:4 18 (save-module-excursion #> ice-9/boo…>) >> 3006:22 17 (_) >> In unknown file: >> 16 (primitive-load-path "apps/blog/utils" #> 11d0…>) >> In ice-9/eval.scm: >> 721:20 15 (primitive-eval (define-module (apps blog utils) # >> (…) …)) >> In ice-9/psyntax.scm: >> 1234:36 14 (expand-top-sequence ((define-module (apps blog #) # >> …)) …) >> 1181:24 13 (parse _ (("placeholder" placeholder)) ((top) #(# # >> …)) …) >> 284:10 12 (parse _ (("placeholder" placeholder)) (()) _ c&e >> (eval) …) >> In ice-9/eval.scm: >> 293:34 11 (_ #) >> In ice-9/boot-9.scm: >> 2866:4 10 (define-module* _ #:filename _ #:pure _ #:version _ >> # _ …) >> 2879:24 9 (_) >> 230:29 8 (map1 (((apps aux lists)) ((apps aux web)) ((haunt >> …)) …)) >> 230:29 7 (map1 (((apps aux web)) ((haunt post)) ((ice-9 #)) >> (#) …)) >> 230:29 6 (map1 (((haunt post)) ((ice-9 match)) ((srfi >> srfi-1)) …)) >> 230:29 5 (map1 (((ice-9 match)) ((srfi srfi-1)) ((srfi #)) >> (#) …)) >> 230:29 4 (map1 (((srfi srfi-1)) ((srfi srfi-19)) ((#)) ((# >> #)) #)) >> 230:29 3 (map1 (((srfi srfi-19)) ((syntax-highlight)) ((# #)) #)) >> 230:17 2 (map1 (((syntax-highlight)) ((syntax-highlight #)) (#))) >> 2795:6 1 (resolve-interface _ #:select _ #:hide _ #:prefix _ >> # _ …) >> In unknown file: >> 0 (scm-error misc-error #f "~A ~S" ("no code for >> modu…" …) …) >> > > Catonano, could you try without an environment? > > $ cd /path/to/guixsd-website > $ guix package -i git glibc-locales guile@2.2 > guile-syntax-highlight guix haunt > > I actually work without environments, and it works, but will try > to reproduce that error. > > > You're right. Like this, it's working > > It's building the pages right now ! Catonano, to avoid building all the packages (3-4 minutes in this machine), you should run the build like this: $ GUIX_WEB_SITE_LOCAL=yes haunt build Also, this way, the website URLs are modified to work locally, and only 300 packages will be built for testing. If you run: $ haunt build It will build the website for production, which uses the gnu.org URL path for projects, so running "haunt serve" after that won't display the website correctly. In this case, what I do is use python server, and not haunt server. Like so: $ haunt build $ cd /tmp/gnu/ $ python3 -m http.server Then you can visit http://localhost:8000/, and the site should work as if it were in production. -- https://sirgazil.bitbucket.io/ --------------DD9B8262DC33DF832F626E8B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 17/06/17 11:09, Catonano wrote:
2017-06-17 17:46 GMT+02:00 sirgazil <sirgazil@zoho.com>:
On 17/06/17 02:16, Catonano wrote:


2017-06-17 6:57 GMT+02:00 Catonano <catonano@gmail.com>:


2017-06-16 16:46 GMT+02:00 sirgazil <sirgazil@zoho.com>:
 
I'm fine with investigating the missing parts before or after moving to
guix-artwork.git.

For what it's worth, I vouch for moving all to gnu.org and possibly expressing the issues in the appropriate debbugs instance

Then, I might be able to collaborate in sorting out some issues

I never used Mercurial. I should learn from scratch.

Also, I can't access the issues on bitbucket because the login doesn't work in Icecat (plus some nonsense about upgrading my account and coming mobile apps that require me some voodoo right now)

So I can't see the issues at

I managed to install mercurial, but I can't build it

[env]$ haunt build
Backtrace:
In ice-9/boot-9.scm:
  2986:16 19 (try-module-autoload _ _)
   2316:4 18 (save-module-excursion #<procedure 11b0d50 at ice-9/boo…>)
  3006:22 17 (_)
In unknown file:
          16 (primitive-load-path "apps/blog/utils" #<procedure 11d0…>)
In ice-9/eval.scm:
   721:20 15 (primitive-eval (define-module (apps blog utils) # (…) …))
In ice-9/psyntax.scm:
  1234:36 14 (expand-top-sequence ((define-module (apps blog #) # …)) …)
  1181:24 13 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
   284:10 12 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
In ice-9/eval.scm:
   293:34 11 (_ #<module (#{ g66}#) 11c2d20>)
In ice-9/boot-9.scm:
   2866:4 10 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
  2879:24  9 (_)
   230:29  8 (map1 (((apps aux lists)) ((apps aux web)) ((haunt …)) …))
   230:29  7 (map1 (((apps aux web)) ((haunt post)) ((ice-9 #)) (#) …))
   230:29  6 (map1 (((haunt post)) ((ice-9 match)) ((srfi srfi-1)) …))
   230:29  5 (map1 (((ice-9 match)) ((srfi srfi-1)) ((srfi #)) (#) …))
   230:29  4 (map1 (((srfi srfi-1)) ((srfi srfi-19)) ((#)) ((# #)) #))
   230:29  3 (map1 (((srfi srfi-19)) ((syntax-highlight)) ((# #)) #))
   230:17  2 (map1 (((syntax-highlight)) ((syntax-highlight #)) (#)))
   2795:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)


Catonano, could you try without an environment?

$ cd /path/to/guixsd-website
$ guix package -i git glibc-locales guile@2.2 guile-syntax-highlight guix haunt

I actually work without environments, and it works, but will try to reproduce that error.

You're right. Like this, it's working

It's building the pages right now !

Catonano, to avoid building all the packages (3-4 minutes in this machine), you should run the build like this:

$ GUIX_WEB_SITE_LOCAL
=yes haunt build

Also, this way, the website URLs are modified to work locally, and only 300 packages will be built for testing.

If you run:

$ haunt build

It will build the website for production, which uses the gnu.org URL path for projects, so running "haunt serve" after that won't display the website correctly. In this case, what I do is use python server, and not haunt server. Like so:

$ haunt build
$ cd /tmp/gnu/
$ python3 -m http.server

Then you can visit http://localhost:8000/, and the site should work as if it were in production.

-- 
https://sirgazil.bitbucket.io/
--------------DD9B8262DC33DF832F626E8B--