Anyway, this error is now caught in trunk and ignored (not a big deal). Try 
upgrade to trunk or the latest nightly built (in 5 minutes).

Massimo

On Thursday, 2 August 2012 09:51:37 UTC-5, Jonathan Lundell wrote:
>
> On 2 Aug 2012, at 7:26 AM, Mobility <f...@mobility-br.com> wrote:
>
> Did anyone succeed installing Web2py in Mountain Lion Server with 
> mod_wsgi? I have it installed and working in Lion but I cannot make it work 
> in Mountain Lion.
>
>
> What does hostname(1) give you? 
>
> You might try re-setting the hostname through the Sharing 
> system-preference pane.
>
>
> Em sexta-feira, 27 de julho de 2012 03h16min30s UTC-3, pbreit escreveu:
>>
>> 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