delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/01/13/01:00:07

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=ne09GW2WIfznH2bV
WjXMnMZsS3uRrSLwVMYiwb3zZ12Y6kX9qeitv+rym3aD93WjOHFdvv/ljrA4UttR
pGtBDNNNLi0t40od9KmQ5dpaZARcEMLI4qMkNYabas5uUlgrzD0hPnhO8bEtnOe9
m7olkpvOKFW7+nHMJTu8t/L1GOg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; s=default; bh=HSEMjyurDipPADeuxq+I2S
xoNDU=; b=ARULH6lV+wXaFfuyCHu5oqByh6yn5jFJa0ih3aMLpxZN2YNNhltKXM
AZbS6ErC1dsfnbGbQWMSy7k98dzeTsXzrOh+OlwjPy6kpjr8oKOe+L9ryl9/BbMc
DI+FjtNx9ZO4EWDO+aPivwytXyevV8mhqvv91Q2G9988+6Ju9xhuQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_00,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,HTML_MESSAGE,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 spammy=H*Ad:D*jp, D*hotmail.com, ios, iOS
X-HELO: NAM11-DM6-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EPcLEyWsniWCuzUeyHtmPYs6yPsPGTCRAFczuuHRCQ++3DLW0UOvseQTDj5u5Wb11t3HKHGakAO5hkXbpOv3dGoE/463dSGSHTAJkHBDIQ+S8Pl/q/vNK5CGnAXdZ8rb9JW6R28gg6JBO+lJPazsZd17LZqWka6Asyd0RbHgRiz1swSe8mgSPGfmgeXMb7IA820Yiv3nRQBOviFjb04yA6bclcAjpDjzNwlTSZVJL+016S6uGIiRMlzegBSXaGPQA8A06cfE+r0EgeSC8d9A2Ywmta/4NoasGZYYeagMDR6S8JVo3y9LU2zG4h+QF3P+qMYEOeBMlPmwGHx+mpWegg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m3oo97EZ4UmYWuSlHOqSoUd+W3jTA8bUxNIHpS7n1F8=; b=Q1hoZjZWanSGowK1QL/Id712KWs4A29G5CsVWBSHrhpTrPSpLev7/B9YslkCYiQoFstsfhZcM164RadSwQhxNik8AnT9As4lG5TEHXlCmP9e45gd/Uy0LQXvpnZI0VcLGTSaimN/bAp52HxlIOcZyZyJvAOjkjr++X+364WcAUbg6ZQ4z86F8+ULhM3xNmKJfHK4UirGfBONYrlKCtjyTc/Zy6BG1wmv0QSzWEaGrpB9R26hUOH0mF77xOOLSSiIkuWeWZJOiImRDYLeZz/OH+mQJjgYdeu7FaB1L1m7L141E87zAIHIfaGWmIDIbbx7bu0ETE5DS+zV+5u9Lv6E+g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m3oo97EZ4UmYWuSlHOqSoUd+W3jTA8bUxNIHpS7n1F8=; b=PLk3MkYqL3gTnmflWdPXGeWdkdf5ArAFEh7anVIh9FDIjViJnTA463dY2j9kVb47E2eyIXfgKKfVilBpTpOzBsg0P/hItdObtC06dYNkwJep5p8WG3s+HiUVx8zxBWwEv3d0b/MIM/mN4laxqVQftBR6+8npiPegIZAIqEbQ5OQebyhQeVXvihKDksIpW6nhO4skSuLlDFgePGbMNG/2rCo3bIVimE3Ojce8tuoXOIehrZ00AC135VjUFlKbNqmjXfvyGLOvqkMjf3tWQTuKhIg1wkTSBz9Os7nPISbCvyQe6+DSFgk1O+XfOOGQKhjDnXKKs52kWqn6iwI5fiDXPQ==
From: Henry Goss <sin_vraal AT hotmail DOT com>
To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>,
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: bash 127 errors after upgrade and other install errors
Date: Mon, 13 Jan 2020 05:59:04 +0000
Message-ID: <CH2PR10MB42140B006CA2A80BC26F4D498C350@CH2PR10MB4214.namprd10.prod.outlook.com>
References: <CH2PR10MB421401F71EF79CA2003BFAD68C350 AT CH2PR10MB4214 DOT namprd10 DOT prod DOT outlook DOT com> <20200113112754 DOT 3ef22bc5f6574c15d8128f1e AT nifty DOT ne DOT jp> <CH2PR10MB4214B159F0618FFD1D52D7748C350 AT CH2PR10MB4214 DOT namprd10 DOT prod DOT outlook DOT com>,<20200113145121 DOT 1abdfe49d5556b45c8b3a54a AT nifty DOT ne DOT jp>
In-Reply-To: <20200113145121.1abdfe49d5556b45c8b3a54a@nifty.ne.jp>
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 00D5xhwC021294

Thanks. Thought I was going nuts.


In the case of 1) I’ll see if I can narrow down the process to reproduce.

Worst case I can do a reinstall and solve it.

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Sent: Sunday, January 12, 2020 9:51:21 PM
To: cygwin AT cygwin DOT com <cygwin AT cygwin DOT com>
Cc: Henry Goss <sin_vraal AT hotmail DOT com>
Subject: Re: bash 127 errors after upgrade and other install errors

On Mon, 13 Jan 2020 04:21:58 +0000
Henry Goss wrote:
> Sure, here are the steps to reproduce either. Run on windows 10.
>
> RE: working installation:
> 1) open setup program. tick python3.6, python3.6 dev tools. Install.
> The new installer doesn't recognize the old version of python. I don't recall the old installation method. But If it was not done with setup, it was done with apt-cyg
>
> When I install, setup attempts the following:
> Uninstall python3-setuptools 34.3.2-1 (automatically added)
> Install crypto-policies 20190218-1 (automatically added)
> Install libcrypt2 4.4.4-1 (automatically added)
> Install libgdbm6 1.18.1-1 (automatically added)
> Install libgdbm_compat4 1.18.1-1 (automatically added)
> Install libnsl2 1.2.0-1 (automatically added)
> Install libssl1.1 1.1.1d-1 (automatically added)
> Install libtirpc-common 1.1.4-1 (automatically added)
> Install libtirpc3 1.1.4-1 (automatically added)
> Install python-pip-wheel 19.2.3-1 (automatically added)
> Install python-setuptools-wheel 41.2.0-1 (automatically added)
> Install python36 3.6.9-1
> Install python36-devel 3.6.9-1
> Install python36-setuptools 41.2.0-1 (automatically added)
>
> This breaks python.
>
> At some point, you an uninstall, reinstall, etc and get python working. However it will still lead to the problem with python and selenium below
>
>
> MYSQL
> Uninstall mysql 10.1.30-1 (automatically added)
> Uninstall openssl-devel 1.0.2o-1 (automatically added)
> Install crypto-policies 20190218-1 (automatically added)
> Install libgdbm6 1.18.1-1 (automatically added)
> Install libgdbm_compat4 1.18.1-1 (automatically added)
> Install libmariadb-devel 3.0.9-1 (automatically added)
> Install libmariadb3 3.0.9-1 (automatically added)
> Install libssl-devel 1.1.1d-1 (automatically added)
> Install libssl1.1 1.1.1d-1 (automatically added)
> Install mariadb-common 3.0.9-1 (automatically added)
> Install mysql 10.3.14-1
> Install mysql-devel 10.3.14-1
>
> This breaks mysql.
>
> 2) steps to reproduce python selenium.
> - Run set, select emacs, python 3.5,6 or 7 and associated dev tools.
> - install.
> - from prompt:
>        - python -m ensurepip --default-pip
>        -pip3.6 install selenium
>        "
>                pip3.6 freeze
>          selenium==3.141.0
>          urllib3==1.25.7
>        "
>        Sample python test code.
>        from selenium import webdriver
>
>        EXE_PATH = r'/cygdrive/c/webdriver/chromedriver.exe';
>        #driver = webdriver.Chrome(executable_path=EXE_PATH)
>
>        #driver = webdriver.Chrome(executable_path=EXE_PATH, service_args=["--verbose", "--log-path=run.log"])
>        driver = webdriver.Chrome(service_args=["--verbose", "--log-path=run.log"])
>        driver.get('https://google.com')
> - at this point, the program will hang. It looks like its waiting to connect to chromedriver.
>  running task manager on windows 10, will yield two python3.x processes. This may be expected behavior, I presume its opened with a fork and the child process socket is not closed. Closing the child causes the main to run, cutting the main breaks execution. This appears to be a problem with any python 3.x installation I have done.
>
> Cancelling via ctrl-c yields the following:
> Traceback (most recent call last):
>   File "test.py", line 20, in <module>
>     driver = webdriver.Chrome()
>   File "/usr/lib/python3.6/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in __init__
>     self.service.start()
>   File "/usr/lib/python3.6/site-packages/selenium/webdriver/common/service.py", line 76, in start
>     stdin=PIPE)
>   File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
>     restore_signals, start_new_session)
>   File "/usr/lib/python3.6/subprocess.py", line 1318, in _execute_child
>     part = os.read(errpipe_read, 50000)
> KeyboardInterrupt

Thanks for the report.

I could not reproduce the problem 1).

As for the problem 2), it seems to be the same problem with
https://www.cygwin.com/ml/cygwin/2020-01/msg00093.html.

I already submitted a patch for that issue:
https://www.cygwin.com/ml/cygwin-patches/2020-q1/msg00010.html.

I confirmed the problem 2) is fixed with this patch.

Please wait for the new cygwin release.

--
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019