[community] ERROR WHEN SETTING UP A LOCAL VERSION OF THE TOR SUPPORT PORTAL

gus gus at torproject.org
Wed Apr 1 04:06:19 UTC 2020


Hi, 

You will find more online support joining us on #tor-www. I'm around,
every day @ 1300 UTC. And I'm happy to help you to compile the website
locally.

About your error: probably you're trying to compile a website that is
not "tpo" website. So the instructions are a slightly different: instead
of 'tpo', you should enter the directory that you git cloned. 

cheers,
Gus

On Mon, Mar 30, 2020 at 04:54:29PM +0100, Nkep Renate wrote:
> Hello everyone.
> 
> Hope this email finds you well.
> 
> I am an Outreachy applicant and I have been going through this document:
> https://gitlab.torproject.org/torproject/web/tpo/-/wikis/Compiling-a-local-version-of-the-website
> in
> other to setup the support portal locally and work on some issues.
> 
> I followed the steps and when I got to the part where I had to enter the
> tpo/lego directory, I realized the directory wasn't found. Don't know where
> I went wrong.
> 
> I continued till I got to the command: lektor build, but I got the error
> home/renate/.local/lib/lektor/lib/python3.6/site-packages/pkg_resources/__init__.py",
> line 2456, in resolve
>     module = __import__(self.module_name, fromlist=['__name__'], level=0)
> 
> except IOError, e: SyntaxError: invalid syntax
> 
> Understanding where the error came from, I realized it had something to do
> with the __init__.py file.  I tried googling but didn't come out with
> anything meaningful.
> 
> Don't know if I didn't follow the steps well, or something else. Please I
> need help on this.
> 
> Thanks

> _______________________________________________
> tor-community-team mailing list
> tor-community-team at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-community-team


-- 
The Tor Project
Community Team Lead
http://expyuzz4wqqyqhjn.onion/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-community-team/attachments/20200401/bfe870e7/attachment.sig>


More information about the tor-community-team mailing list