ValueError: unknown address family 10 | sockaddr = (inet_ntop(AF_INET6, res), port, 0, 0)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 |
From: Todd Wilson <t...@salesloft.com>
Date: Mon, 21 May 2012 19:30:21 -0700 (PDT)
Local: Mon, May 21 2012 10:30 pm
Subject: ValueError: unknown address family 10 | sockaddr = (inet_ntop(AF_INET6, res), port, 0, 0)
On certain URLs, I get this error that I've been unable to solve: > 1. File > "/usr/local/python27/lib/python2.7/site-packages/gevent/socket.py", line > 637, in create_connection > 2. for res in getaddrinfo(host, port, 0, SOCK_STREAM): > 3. File > "/usr/local/python27/lib/python2.7/site-packages/gevent/socket.py", line > 777, in getaddrinfo > 4. sockaddr = (inet_ntop(AF_INET6, res), port, 0, 0) > 5. ValueError: unknown address family 10 > 6. <Greenlet at 0x2f37190: <bound method Request.send of <Request > [GET]>>(prefetch=True)> failed with ValueError
Also: >>> from gevent import socket >>> socket.AF_INET6
10 >>> print socket.inet_ntop(socket.AF_INET6, '\0' * 16)
Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: unknown address family 10 This only occurs for me on CentOS 6.2. Any ideas what I'm missing?
You must Sign in before you can post messages.
You do not have the permission required to post.
|
 |
From: Antonin AMAND <antonin.am...@gmail.com>
Date: Tue, 22 May 2012 14:42:53 +0200
Local: Tues, May 22 2012 8:42 am
Subject: Re: [gevent] ValueError: unknown address family 10 | sockaddr = (inet_ntop(AF_INET6, res), port, 0, 0)
> This only occurs for me on CentOS 6.2. Any ideas what I'm missing?
What does the same code do if you import socket from standard python
socket module ?
You must Sign in before you can post messages.
You do not have the permission required to post.
|
 |
From: Todd Wilson <t...@salesloft.com>
Date: Tue, 22 May 2012 11:23:54 -0700 (PDT)
Local: Tues, May 22 2012 2:23 pm
Subject: Re: [gevent] ValueError: unknown address family 10 | sockaddr = (inet_ntop(AF_INET6, res), port, 0, 0)
Ah, oops. Does the same thing. Sorry for posting it here! Any ideas?
On Tuesday, May 22, 2012 6:42:53 AM UTC-6, gwik wrote: > > This only occurs for me on CentOS 6.2. Any ideas what I'm missing? > What does the same code do if you import socket from standard python > socket module ?
You must Sign in before you can post messages.
You do not have the permission required to post.
|
 |
From: Antonin AMAND <antonin.am...@gmail.com>
Date: Wed, 23 May 2012 03:23:07 +0200
Local: Tues, May 22 2012 9:23 pm
Subject: Re: [gevent] ValueError: unknown address family 10 | sockaddr = (inet_ntop(AF_INET6, res), port, 0, 0)
> Ah, oops. Does the same thing. Sorry for posting it here!
> Any ideas?
Python not compiled with ipv6 support ?
You must Sign in before you can post messages.
You do not have the permission required to post.
|
|
|