[web2py] Re: Can't run web2py because of socket.gethostbyname problem

2012-08-06 Thread Mobility
I tried the trunk version of Web2py and still got the same error message: Premature end of script headers: wsgihandler.py. Only to be clear, I do not have the host name problem mentioned in this discussion. I am using the mod_wsgi which came with the ML Server. Should I try to compile

[web2py] Re: Can't run web2py because of socket.gethostbyname problem

2012-08-06 Thread Mobility
No. I downloaded the trunk version of Web2py and got the same message error again: Premature end of script headers: wsgihandler.py. Only to be clear, I do not have the host name problem mentioned in this discussion. I am using mod_wsgi which came with ML Server. Should I try to compile a new

[web2py] Re: Can't run web2py because of socket.gethostbyname problem

2012-08-05 Thread Massimo Di Pierro
Is this resolved? It should be. On Friday, 3 August 2012 08:25:07 UTC-5, Mobility wrote: I am not getting host name. I can run web2py on local host. When I go to my test deployment machine with ML Server I first get an error saying that wsgihandler.py file does not have exec permission.

[web2py] Re: Can't run web2py because of socket.gethostbyname problem

2012-08-03 Thread Mobility
I am not getting host name. I can run web2py on local host. When I go to my test deployment machine with ML Server I first get an error saying that wsgihandler.py file does not have exec permission. After I give permission on the file, chmod a+x, it says gives me an error saying premature end

[web2py] Re: Can't run web2py because of socket.gethostbyname problem

2012-08-02 Thread Mobility
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. Em sexta-feira, 27 de julho de 2012 03h16min30s UTC-3, pbreit escreveu: This change is preventing me from starting web2py because of

Re: [web2py] Re: Can't run web2py because of socket.gethostbyname problem

2012-08-02 Thread Jonathan Lundell
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

Re: [web2py] Re: Can't run web2py because of socket.gethostbyname problem

2012-08-02 Thread Massimo Di Pierro
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

[web2py] Re: Can't run web2py because of socket.gethostbyname problem

2012-08-02 Thread pbreit
What's happening? Are you getting errors? One thing I noticed is that Mountain Lion broke some of my Python things (Mercurial, for example). I fixed everything by installing Xcode 4.4 (and Command Line Tools) and re-installing/upgrading some packages. I don't know the details but it seems like

[web2py] Re: Can't run web2py because of socket.gethostbyname problem

2012-07-27 Thread Massimo Di Pierro
Fixed in trunk now. 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

Re: [web2py] Re: Can't run web2py because of socket.gethostbyname problem

2012-07-27 Thread Jonathan Lundell
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