Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #102561

Re: Exception handling for socket.error in Python 3.5/RStudio

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Bernardo Sulzbach <mafagafogigante@gmail.com>
Newsgroups comp.lang.python
Subject Re: Exception handling for socket.error in Python 3.5/RStudio
Date Fri, 5 Feb 2016 19:37:19 -0200
Lines 16
Message-ID <mailman.21.1454708251.2317.python-list@python.org> (permalink)
References <1067e50c-bcbd-464e-8013-754bd66fda91@googlegroups.com> <CAPTjJmrUBWC1h-Fzxu0_RfdfBVZLr83ZvOxaUNBREQ7EXWznfA@mail.gmail.com> <mailman.19.1454706532.2317.python-list@python.org> <f18c9de8-c575-4025-b6a9-93254d0b990f@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de CN5YFR9GhS37ZLM/zk4CHQ5ydA6XG/8SWzUooiK+C8fw==
Return-Path <mafagafogigante@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.023
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'subject:Python': 0.05; 'importerror:': 0.05; 'python': 0.10; '_ssl': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:handling': 0.16; 'wrote:': 0.16; 'seems': 0.23; 'ticket': 0.23; 'import': 0.24; 'header:In- Reply-To:1': 0.24; 'url:bugs': 0.24; "i've": 0.25; 'header:User- Agent:1': 0.26; 'coding': 0.27; 'subject:/': 0.30; 'code': 0.30; "can't": 0.32; 'related': 0.32; 'source': 0.33; 'url:python': 0.33; 'message-id:@gmail.com': 0.34; 'received:google.com': 0.35; 'but': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'to:addr :python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:localhost.localdomain': 0.38; 'received:209': 0.38; 'received:localdomain': 0.38; 'received:209.85.220': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'email addr:gmail.com': 0.62; 'charset:windows-1252': 0.62; 'believe': 0.66; 'online': 0.71
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=qKWksiOJIBfRk2f9sX2LNAg8V+wa4m+X5htlN4wzkbQ=; b=skyrtwAxeAAJSOh7i8YXU0lNh39zBxtcn0zjBpMlmUmHDHzrEGnnctB+McQp5xepeQ bBh4h1QRhJ/12+H8Szej5oCw87tizAkGPsLUJLlCyrCdQjcBCNQrokGHdrFx/xHV1hof kmHd4I0JQ1oni+xPPBsf1KZe9GVtrjpZTnzk58IDh+67bIip00JkJjzJPvoPAAfSIcxP +gOUQomKEdfO1OJEZ17dAhgyyeo6DGuyfaBmRQVVvWLyN/oZuAMCo+Y33MoTLyfOqyYP vhIrI74ZShbPreS7rQvZnszyGCG5cyC0poOQnE+BXC2oKi5CNOB2rhSwVYkfIyJhr5IB Yv9g==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=qKWksiOJIBfRk2f9sX2LNAg8V+wa4m+X5htlN4wzkbQ=; b=X/8SfXBRfY+UXqk1oHJPqh6PztRZNzSkhEVrn/jYvEimPhb+Ue4rS7eVcNuiua2QBg xE8SixlYk3ZaWQVnT0uQxyalIagaYwzNGZuVz7r4WnVJKlmW4tzE2GPAJ9rfKutTedlu Q/gu6Bt1xejMkdVyRTqzwQWPwYZXz5f/GwAwF4ekkeydDqGz054CxbJJUQhGK47Kxykf n5mRvPpAdXd2S/RqI8C61z7P8Q5/SF+JdgH3RyAvgZPi/IpxhmQdh59JrQXzeObgzUtb C7vtx7bW74nJNcR9zSOZTiWiVFXNNGMqHGn9WmREa2AN+DnGCwxN3jIHeG4sRAHsKpqP YIbw==
X-Gm-Message-State AG10YOTE9LQWvugKdEBag+UXQxjjGeWHNWLLuGO5uPkxCH15rXNPyJkhZqImsNWoiXVQsA==
X-Received by 10.55.73.199 with SMTP id w190mr19218752qka.77.1454708242977; Fri, 05 Feb 2016 13:37:22 -0800 (PST)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
In-Reply-To <f18c9de8-c575-4025-b6a9-93254d0b990f@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21rc2
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:102561

Show key headers only | View raw


On 02/05/2016 07:26 PM, shaunak.bangale@gmail.com wrote:
>
>     from _ssl import RAND_status, RAND_egd, RAND_add
> ImportError: cannot import name 'RAND_egd'
>

I believe I've already seen this issue myself. It has to do with 
LibreSSL not having RAND_egd for some reason I can't recall.

This seems to be the related ticket https://bugs.python.org/issue21356

On 02/05/2016 07:26 PM, shaunak.bangale@gmail.com wrote:
 > I am new to coding and this code has been borrowed from an online
 > source but I can see same code working on mac+Rstudio+python combo.

Are you sure that the Python you talk about is 3.5?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Exception handling for socket.error in Python 3.5/RStudio shaunak.bangale@gmail.com - 2016-02-05 11:58 -0800
  Re: Exception handling for socket.error in Python 3.5/RStudio Nathan Hilterbrand <nhilterbrand@gmail.com> - 2016-02-05 15:07 -0500
    Re: Exception handling for socket.error in Python 3.5/RStudio shaunak.bangale@gmail.com - 2016-02-05 12:11 -0800
      Re: Exception handling for socket.error in Python 3.5/RStudio shaunak.bangale@gmail.com - 2016-02-05 12:17 -0800
  Re: Exception handling for socket.error in Python 3.5/RStudio "Martin A. Brown" <martin@linux-ip.net> - 2016-02-05 12:08 -0800
    Re: Exception handling for socket.error in Python 3.5/RStudio shaunak.bangale@gmail.com - 2016-02-05 12:22 -0800
  Re: Exception handling for socket.error in Python 3.5/RStudio "Martin A. Brown" <martin@linux-ip.net> - 2016-02-05 12:44 -0800
  Re: Exception handling for socket.error in Python 3.5/RStudio "Martin A. Brown" <martin@linux-ip.net> - 2016-02-05 13:01 -0800
  Re: Exception handling for socket.error in Python 3.5/RStudio Chris Angelico <rosuav@gmail.com> - 2016-02-06 08:01 +1100
  Re: Exception handling for socket.error in Python 3.5/RStudio Bernardo Sulzbach <mafagafogigante@gmail.com> - 2016-02-05 19:08 -0200
    Re: Exception handling for socket.error in Python 3.5/RStudio shaunak.bangale@gmail.com - 2016-02-05 13:26 -0800
      Re: Exception handling for socket.error in Python 3.5/RStudio Bernardo Sulzbach <mafagafogigante@gmail.com> - 2016-02-05 19:37 -0200
  Re: Exception handling for socket.error in Python 3.5/RStudio shaunak.bangale@gmail.com - 2016-02-05 13:57 -0800
  Re: Exception handling for socket.error in Python 3.5/RStudio Chris Angelico <rosuav@gmail.com> - 2016-02-06 08:57 +1100
  Re: Exception handling for socket.error in Python 3.5/RStudio shaunak.bangale@gmail.com - 2016-02-05 14:35 -0800
    Re: Exception handling for socket.error in Python 3.5/RStudio Chris Angelico <rosuav@gmail.com> - 2016-02-06 13:04 +1100
  Re: Exception handling for socket.error in Python 3.5/RStudio Shaunak Bangale <shaunak.bangale@gmail.com> - 2016-02-05 13:50 -0700
  Re: Exception handling for socket.error in Python 3.5/RStudio Shaunak Bangale <shaunak.bangale@gmail.com> - 2016-02-05 14:00 -0700
  Re: Exception handling for socket.error in Python 3.5/RStudio Shaunak Bangale <shaunak.bangale@gmail.com> - 2016-02-05 14:15 -0700
  Re: Exception handling for socket.error in Python 3.5/RStudio dieter <dieter@handshake.de> - 2016-02-07 09:23 +0100
    Re: Exception handling for socket.error in Python 3.5/RStudio shaunak.bangale@gmail.com - 2016-02-08 00:04 -0800
      Re: Exception handling for socket.error in Python 3.5/RStudio shaunak.bangale@gmail.com - 2016-02-19 10:07 -0800

csiph-web