On 27 Jul 2012, at 7:32 AM, Massimo Di Pierro <massimo.dipie...@gmail.com> 
wrote:
> Fixed in trunk now.

One thing I found via Stack Overflow is that the old IPv6 configuration option 
of 'Off' is now gone, except that it's sticky from previous configurations. 
Some of these problems are apparently cleared up by changing the IPv6 to 
configure "Automatically". (That's in the Network system pref for the current 
network, Advanced... button, TCP/IP panel. (Once you change it, the "Off" 
option is gone, probably for the best.)

(I'm likewise Mountain Lion, Xcode 4.4, though I'm not sure Xcode is relevant 
here. And I see that the Off option is gone from Lion as well.)

> 
> On Friday, 27 July 2012 01:16:30 UTC-5, pbreit wrote:
> This change is preventing me from starting web2py because of a problem with 
> socket.gethostbyname():
> http://code.google.com/p/web2py/source/detail?r=36139e7a6c9c14983e0d09f626959beb8fcf9320
> 
> I'm on a Mac where I'm not exactly sure how hostnaming works. 
> socket.getfqdn() is returning some weird stuff, possibly IPv6 addresses.
> 
> Right now, socket.getfqdn() returns 'pb-dev' which socket.gethostbyname_ex is 
> choking on. I tried changing the HostName with scutil but got an even weirded 
> hostname: 
> '1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa'
> 
> Note, this is on Mountain Lion with Xcode 4.4 installed.
> 
> 
> Traceback (most recent call last):
>   File "web2py.py", line 25, in <module>
>     gluon.widget.start(cron=True)
>   File "/Users/pbreit/web2py/gluon/widget.py", line 895, in start
>     (options, args) = console()
>   File "/Users/pbreit/web2py/gluon/widget.py", line 803, in console
>     options.ips = [ip for ip in socket.gethostbyname_ex(socket.getfqdn())[2]
> socket.gaierror: [Errno 8] nodename nor servname provided, or not known
> 
> 


-- 



Reply via email to