bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot easily contribute to the wiki


From: Thomas Schwinge
Subject: Re: Cannot easily contribute to the wiki
Date: Wed, 26 Sep 2018 10:21:45 +0200
User-agent: Notmuch/0.9-125-g4686d11 (http://notmuchmail.org) Emacs/25.2.2 (x86_64-pc-linux-gnu)

Hi!

On Mon, 24 Sep 2018 11:19:42 -0400, Joshua Branson <jbranso@fastmail.com> wrote:
> A few years ago I had the Hurd wiki cloned locally, and I could rather
> trivially set it up.  However, following the online guide a few days
> ago, I'm running into some issues.
> 
> https://www.gnu.org/software/hurd/contributing/web_pages.html
> 
> I've cloned the repo.  I've run
> 
> $ apt-get install ikiwiki libyaml-syck-perl markdown
> libsearch-xapian-perl texinfo
> 
> Neither of these commands work in the web pages directory:
> 
>  ikiwiki --setup ikiwiki.setup
> 
> ./render_locally
> 
> 
> They both fail with "Failed to load plugin, Ikiwiki::Plugin::field".

Please always quote the exact log what you did and what happened;
copy'n'paste from your terminal.

> Basically getting all of ikiwiki's plugins needed to run the hurd wiki
> is a bit of a pain.

That's why these non-standard "field" etc. plugins are shipped inside the
Hurd "web" repository, see ".library/IkiWiki/Plugin/".

> This is not a complaint just an observation and a request for help.

Thanks for reporting.


I'm aware of one problem that is seen with "recent" verions of Perl
(don't know when exactly this started), which indeed makes the "getfield"
plugin fail to load:

    $ ./render_locally 
    Failed to load plugin IkiWiki::Plugin::getfield: Unescaped left brace in 
regex is illegal here in regex; marked by <-- HERE in m/{{ <-- HERE 
\$([-\w/]+#)?[-\w]+}}/ at [...]/.library/IkiWiki/Plugin/getfield.pm line 68.
    Compilation failed in require at (eval 94) line 1.
    BEGIN failed--compilation aborted at (eval 94) line 1.

(This, or something similar, also happens when pushing to darnassus.)

I already have identified a fix, and will push that in the next days.


Grüße
 Thomas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]