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

"Salz, Rich" <rsalz@akamai.com> Tue, 19 May 2020 13:29 UTC

Return-Path: <rsalz@akamai.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 367203A0410 for <tools-discuss@ietfa.amsl.com>; Tue, 19 May 2020 06:29:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.2
X-Spam-Level:
X-Spam-Status: No, score=-0.2 tagged_above=-999 required=5 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.com
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 e_kk9EL19DeE for <tools-discuss@ietfa.amsl.com>; Tue, 19 May 2020 06:29:33 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 12FDB3A040F for <tools-discuss@ietf.org>; Tue, 19 May 2020 06:29:32 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.42/8.16.0.42) with SMTP id 04JDOCME024479; Tue, 19 May 2020 14:29:29 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=jan2016.eng; bh=ySLXZoqNMuSxB/VRObVYEzaskluEyMv1WMGfja6Kvj0=; b=QwLYvkkXKWFeIBmL6jkBtfZEXumfg3t51R/M8Q5BnNUrHdmGkJ+SfBTui080pzM7tLtK 1GCsDbCF01Yeu0Uxk+8e0h5rszVh3pDrDY2RR+G8VQf4c36imd4D/9Syf3L/p7xKDBE+ GiVKJgtNVJWIOyq/gJbD2cw7GhpBom3RmePCFyTfIKvvdHH190OI0sZcEpVi4C441wko y9X95OJrx/2luGk3ivXSuwYxkEO4jmuWZABFCixGja9NWzwisBRuMxp7Beh3hIWCIMDp BD7wxqzCNaK1gXFxS1l7h7xDS6A4QDdAtnnBiDL9W9WBjT5HkLdKw5aEK1PPAihDOaw+ 0A==
Received: from prod-mail-ppoint7 (a72-247-45-33.deploy.static.akamaitechnologies.com [72.247.45.33] (may be forged)) by m0050096.ppops.net-00190b01. with ESMTP id 3128kdmnkm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 May 2020 14:29:29 +0100
Received: from pps.filterd (prod-mail-ppoint7.akamai.com [127.0.0.1]) by prod-mail-ppoint7.akamai.com (8.16.0.27/8.16.0.27) with SMTP id 04JDJjXm032636; Tue, 19 May 2020 09:29:22 -0400
Received: from email.msg.corp.akamai.com ([172.27.165.112]) by prod-mail-ppoint7.akamai.com with ESMTP id 314g89g10u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 19 May 2020 09:29:22 -0400
Received: from USTX2EX-DAG1MB3.msg.corp.akamai.com (172.27.165.121) by ustx2ex-dag1mb2.msg.corp.akamai.com (172.27.165.120) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 19 May 2020 08:29:22 -0500
Received: from USTX2EX-DAG1MB3.msg.corp.akamai.com ([172.27.165.121]) by ustx2ex-dag1mb3.msg.corp.akamai.com ([172.27.165.121]) with mapi id 15.00.1497.006; Tue, 19 May 2020 08:29:22 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Henrik Levkowetz <henrik@levkowetz.com>, Jim Fenton <fenton@bluepopcorn.net>, "tools-discuss@ietf.org" <tools-discuss@ietf.org>
Thread-Topic: [Tools-discuss] setting up for code sprint tomorrow
Thread-Index: AQHWLU3lx1xWdeEAb06RnIHEhi/F6qiu3EcA///DYICAAO8YAIAAHYgA///M4QA=
Date: Tue, 19 May 2020 13:29:21 +0000
Message-ID: <B5B69861-7E0B-4152-AAA2-98B41E859CA6@akamai.com>
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>
In-Reply-To: <d1c6a326-4c59-921e-3678-20b3b05ff397@levkowetz.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.37.20051002
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.43.139]
Content-Type: text/plain; charset="utf-8"
Content-ID: <A454861FCB2FE34F8900ABE3C370A487@akamai.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.676 definitions=2020-05-19_04:2020-05-19, 2020-05-19 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2004280000 definitions=main-2005190119
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.676 definitions=2020-05-19_04:2020-05-19, 2020-05-19 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 adultscore=0 mlxlogscore=999 mlxscore=0 suspectscore=0 malwarescore=0 cotscore=-2147483648 bulkscore=0 phishscore=0 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005190120
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/HdNIMzaxYmYKoHwgFrkeVd3MbuI>
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:29:35 -0000

Do I need to always run under the python venv?

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=>)... 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|: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
    >