Re: [Tools-discuss] setting up for code sprint tomorrow

Henrik Levkowetz <henrik@levkowetz.com> Tue, 19 May 2020 13:36 UTC

Return-Path: <henrik@levkowetz.com>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B654B3A040C; Tue, 19 May 2020 06:36:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level:
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0SbQH2iThkfn; Tue, 19 May 2020 06:35:56 -0700 (PDT)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [64.170.98.42]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1D0D93A0420; Tue, 19 May 2020 06:35:56 -0700 (PDT)
Received: from h-202-242.a357.priv.bahnhof.se ([158.174.202.242]:61129 helo=tannat.local) by zinfandel.tools.ietf.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <henrik@levkowetz.com>) id 1jb2PK-0006Bd-2Z; Tue, 19 May 2020 06:35:51 -0700
To: "Salz, Rich" <rsalz=40akamai.com@dmarc.ietf.org>, Jim Fenton <fenton@bluepopcorn.net>, "tools-discuss@ietf.org" <tools-discuss@ietf.org>
References: <99A9F020-83BC-4C3B-B8F4-BC9DA28A508F@akamai.com> <bcbbaa9d-ed69-d9c3-4486-bafe32d085a5@bluepopcorn.net> <4B0B9324-3474-42F1-8018-119775806434@akamai.com> <85cc3076-9831-61ec-e84e-4b9a6a1b7af7@levkowetz.com> <d1c6a326-4c59-921e-3678-20b3b05ff397@levkowetz.com> <B5B69861-7E0B-4152-AAA2-98B41E859CA6@akamai.com>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <b0661856-b76b-94dd-71e9-63e4ce05e3f5@levkowetz.com>
Date: Tue, 19 May 2020 15:35:29 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <B5B69861-7E0B-4152-AAA2-98B41E859CA6@akamai.com>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dsPflRl9e4pSfNqnfVjs6A1kPMt4TJTmD"
X-SA-Exim-Connect-IP: 158.174.202.242
X-SA-Exim-Rcpt-To: tools-discuss@ietf.org, fenton@bluepopcorn.net, rsalz=40akamai.com@dmarc.ietf.org
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on zinfandel.tools.ietf.org)
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/LA1l1z7aYKuFRVvYpxgsWFDRHtg>
Subject: Re: [Tools-discuss] setting up for code sprint tomorrow
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 May 2020 13:36:06 -0000

On 2020-05-19 15:29, Salz, Rich wrote:
> Do I need to always run under the python venv?

Anything else courts unexpected issues, so pretty much 'Yes'.


> On 5/19/20, 8:33 AM, "Henrik Levkowetz" <henrik@levkowetz.com> wrote:
> 
> 
>     I've found one additional tweak that's needed:
> 
>     After the release of 6.130.1, a new version of the 'django-cors-headers'
>     package has come out, and it's incompatible with Django 1.11.
> 
>     In order to fix this, please run, in the docker container, after you've
>     run 'pip install -r requirements.txt', this command:
> 
>       $ pip install "django-cors-headers<3.3"
> 
>     Best regards,
> 
>     	Henrik
> 
> 
> 
>     On 2020-05-19 12:46, Henrik Levkowetz wrote:
>     > Hi Rich,
>     > 
>     > This seems like a different issue than I thought at first.  The issue with
>     > the database dump is real, but I think your issue below is that your
>     > environment isn't right.
>     > 
>     > As the first thing after starting and entering your docker container, please
>     > run, at the top of your working copy directory tree:
>     > 
>     >   $ python3.6 -m venv env
>     >   $ . env/bin/activate
>     >   $ pip install -r requirements.txt
>     > 
>     > in order to make sure that 1) you have a Python 3.6 environment in your
>     > container, and 2) you have the right python packages installed.
>     > 
>     > 
>     > Best regards,
>     > 
>     > 	Henrik
>     > 
>     > On 2020-05-19 02:30, Salz, Rich wrote:
>     >> Sam error, but I do see the Django files listed :(
>     >> 
>     >> From: Jim Fenton <fenton@bluepopcorn.net>
>     >> Date: Monday, May 18, 2020 at 8:08 PM
>     >> To: "tools-discuss@ietf.org" <tools-discuss@ietf.org>
>     >> Subject: Re: [Tools-discuss] setting up for code sprint tomorrow
>     >> 
>     >> 
>     >> I ran into the same thing. I pulled a copy of requirements3.txt from the "Vancouver" code sprint and so far so good. Running tests now.
>     >> On 5/18/20 12:52 PM, Salz, Rich wrote:
>     >> Just pulled the latest docker image, found ‘requirements.txt’ not ‘requirements3.txt’
>     >> Ran it and get errors. What am I missing? Tnx
>     >> 
>     >> DOCKER ~/dt/6.130.2.dev0$ ./docker/updatedb
>     >> Gathering info ...
>     >> Fetching database dump ...
>     >> --2020-05-18 15:46:53--  https://www.ietf.org/lib/dt/sprint/ietf_utf8.sql.gz<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_lib_dt_sprint_ietf-5Futf8.sql.gz&d=DwMDaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=4LM0GbR0h9Fvx86FtsKI-w&m=vge_0yXf1RGSxHQfO0GzEVeXcDhNPMSjWBnK1hoMrzE&s=TnApnnHg41Yab5Ip2MRftTlT9sMwRjGFi65hq6X-cXw&e=>
>     >> Resolving www.ietf.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ietf.org&d=DwMDaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=4LM0GbR0h9Fvx86FtsKI-w&m=vge_0yXf1RGSxHQfO0GzEVeXcDhNPMSjWBnK1hoMrzE&s=LZ6i4njzuxIEstjCfg0jh-09e6ZUQirhfzVANzcrzCA&e=> (www.ietf.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ietf.org&d=DwMDaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=4LM0GbR0h9Fvx86FtsKI-w&m=vge_0yXf1RGSxHQfO0GzEVeXcDhNPMSjWBnK1hoMrzE&s=LZ6i4njzuxIEstjCfg0jh-09e6ZUQirhfzVANzcrzCA&e=>)6ZUQirhfzVANzcrzCA&e=>)... 104.20.1.85, 104.20.0.85, 2606:4700:10::6814:55, ...
>     >> Connecting to www.ietf.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ietf.org&d=DwMDaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=4LM0GbR0h9Fvx86FtsKI-w&m=vge_0yXf1RGSxHQfO0GzEVeXcDhNPMSjWBnK1hoMrzE&s=LZ6i4njzuxIEstjCfg0jh-09e6ZUQirhfzVANzcrzCA&e=> (www.ietf.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ietf.org&d=DwMDaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=4LM0GbR0h9Fvx86FtsKI-w&m=vge_0yXf1RGSxHQfO0GzEVeXcDhNPMSjWBnK1hoMrzE&s=LZ6i4njzuxIEstjCfg0jh-09e6ZUQirhfzVANzcrzCA&e=>)|104.20.1.85|:443A&e=>)|104.20.1.85|:443... connected.
>     >> HTTP request sent, awaiting response... 200 OK
>     >> Length: 397663656 (379M) [application/x-gzip]
>     >> Saving to: '/home/rsalz/dt/6.130.2.dev0/data/ietf_utf8.sql.gz'
>     >> 
>     >> ietf_utf8.sql.gz    100%[===================>] 379.24M  6.41MB/s    in 57s
>     >> 
>     >> 2020-05-18 15:47:50 (6.66 MB/s) - '/home/rsalz/dt/6.130.2.dev0/data/ietf_utf8.sql.gz' saved [397663656/397663656]
>     >> 
>     >> Loading database ...
>     >> Traceback (most recent call last):
>     >>   File "/home/rsalz/dt/6.130.2.dev0/ietf/manage.py", line 13, in <module>
>     >>     from django.core.management import execute_from_command_line
>     >> ImportError: No module named django.core.management
>     >>  72KiB [ 110MiB/s] [>                                         ]  0%
>     >> updatedb(137): Command failed with error code 1 ([982] ./docker/updatedb )
>     >> 
>     >> 
>     >> 
>     >> 
>     >> ___________________________________________________________
>     >> 
>     >> Tools-discuss mailing list
>     >> 
>     >> Tools-discuss@ietf.org<mailto:Tools-discuss@ietf.org>
>     >> 
>     >> https://www.ietf.org/mailman/listinfo/tools-discuss<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_tools-2Ddiscuss&d=DwMDaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=4LM0GbR0h9Fvx86FtsKI-w&m=vge_0yXf1RGSxHQfO0GzEVeXcDhNPMSjWBnK1hoMrzE&s=ZdxzYdRaDnIfWJNz4qIAgecvaCayzQkmEGiVROu_u7U&e=>
>     >> 
>     >> 
>     >> 
>     >> Please report datatracker.ietf.org and mailarchive.ietf.org
>     >> 
>     >> bugs at http://tools.ietf.org/tools/ietfdb<https://urldefense.proofpoint.com/v2/url?u=http-3A__tools.ietf.org_tools_ietfdb&d=DwMDaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=4LM0GbR0h9Fvx86FtsKI-w&m=vge_0yXf1RGSxHQfO0GzEVeXcDhNPMSjWBnK1hoMrzE&s=CJJGTL93Cl_XHDjBbqIKbnnBdtirZcorBbhxge0LzyM&e=>
>     >> 
>     >> or send email to datatracker-project@ietf.org<mailto:datatracker-project@ietf.org>
>     >> 
>     >> 
>     >> 
>     >> Please report tools.ietf.org bugs at
>     >> 
>     >> http://tools.ietf.org/tools/issues<https://urldefense.proofpoint.com/v2/url?u=http-3A__tools.ietf.org_tools_issues&d=DwMDaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=4LM0GbR0h9Fvx86FtsKI-w&m=vge_0yXf1RGSxHQfO0GzEVeXcDhNPMSjWBnK1hoMrzE&s=kWr5y0tJMRYzjmAgSa6z1jtU6_8grpnyolic0B2FSLI&e=>
>     >> 
>     >> or send email to webmaster@tools.ietf.org<mailto:webmaster@tools.ietf.org>
>     >> 
>     >> 
>     >> 
>     >> ___________________________________________________________
>     >> Tools-discuss mailing list
>     >> Tools-discuss@ietf.org
>     >> https://www.ietf.org/mailman/listinfo/tools-discuss
>     >> 
>     >> Please report datatracker.ietf.org and mailarchive.ietf.org
>     >> bugs at http://tools.ietf.org/tools/ietfdb
>     >> or send email to datatracker-project@ietf.org
>     >> 
>     >> Please report tools.ietf.org bugs at
>     >> http://tools.ietf.org/tools/issues
>     >> or send email to webmaster@tools.ietf.org
>     >> 
>     > 
>     > 
>     > 
>     > ___________________________________________________________
>     > Tools-discuss mailing list
>     > Tools-discuss@ietf.org
>     > https://www.ietf.org/mailman/listinfo/tools-discuss
>     > 
>     > Please report datatracker.ietf.org and mailarchive.ietf.org
>     > bugs at http://tools.ietf.org/tools/ietfdb
>     > or send email to datatracker-project@ietf.org
>     > 
>     > Please report tools.ietf.org bugs at
>     > http://tools.ietf.org/tools/issues
>     > or send email to webmaster@tools.ietf.org
>     > 
> 
> 
> ___________________________________________________________
> Tools-discuss mailing list
> Tools-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/tools-discuss
> 
> Please report datatracker.ietf.org and mailarchive.ietf.org
> bugs at http://tools.ietf.org/tools/ietfdb
> or send email to datatracker-project@ietf.org
> 
> Please report tools.ietf.org bugs at
> http://tools.ietf.org/tools/issues
> or send email to webmaster@tools.ietf.org
>