js-shield
[Top][All Lists]
Advanced

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

Re: Locally generated website


From: Ricardo Lafuente
Subject: Re: Locally generated website
Date: Fri, 13 May 2022 14:51:56 +0100

Sorry about this! We were developing using our system libraries and so this error didn't pop over here.

We're now working on the "website-may" branch where a fix for this is available. Just delete the ".env" directory and run "make install", and make html should work (with some warnings -- we'll deal with those later)

On 2022-04-26 15:47, Libor Polčák wrote:
Hello all,

if someone tries to build website locally, you might encounter error like:

AttributeError: module 'jinja2.ext' has no attribute 'with_'


As a workaround, I suggest modifying website/requirements.txt:

diff --git a/website/requirements.txt b/website/requirements.txt
index 758f617..94cffe8 100644
--- a/website/requirements.txt
+++ b/website/requirements.txt
@@ -1,4 +1,4 @@
 pelican==4.6.0
 Markdown==3.3.4
 comment-parser==1.2.3
-jinja2>=3.0
+jinja2<3.1


I will let Manufactura folks to decide if this is a proper fix or a different fix should be pushed to the repository.

Best wishes

Libor




reply via email to

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