Re: [web2py] Re: web2py doesn't start!

2013-05-04 Thread 黄祥
please go to http://web2py.com/init/default/download and then click source code in for testers coloumn On Saturday, May 4, 2013 10:43:26 AM UTC-4, Nader Emami wrote: > > which "trunk"? I don't see any one! > > > On 4 May 2013 16:10, Jonathan Lundell >wrote: > >> On 4 May 2013, at 2:09 AM, Nader E

Re: [web2py] Re: web2py doesn't start!

2013-05-04 Thread Nader Emami
which "trunk"? I don't see any one! On 4 May 2013 16:10, Jonathan Lundell wrote: > On 4 May 2013, at 2:09 AM, Nader Emami wrote: > > Thank you for your advice. I would explain what I have done to set-off the > IPV6 option. > > Firstly I have uncomment the statement "alias net-pf-10 off

Re: [web2py] Re: web2py doesn't start!

2013-05-04 Thread Jonathan Lundell
On 4 May 2013, at 2:09 AM, Nader Emami wrote: > Thank you for your advice. I would explain what I have done to set-off the > IPV6 option. > > Firstly I have uncomment the statement "alias net-pf-10 off # > IPv6" in the file "/etc/modprobe.d/aliases.conf" and then run "python > we

Re: [web2py] Re: web2py doesn't start!

2013-05-04 Thread Nader Emami
On 4 May 2013 11:09, "Nader Emami" wrote: > Thank you for your advice. I would explain what I have done to set-off the > IPV6 option. > > Firstly I have uncomment the statement "alias net-pf-10 off # > IPv6" in the file "/etc/modprobe.d/aliases.conf" and then run "python > web2py.py"

Re: [web2py] Re: web2py doesn't start!

2013-05-04 Thread Nader Emami
Thank you for your advice. I would explain what I have done to set-off the IPV6 option. Firstly I have uncomment the statement "alias net-pf-10 off # IPv6" in the file "/etc/modprobe.d/aliases.conf" and then run "python web2py.py". Unfortunately without any result, I got the same erro

Re: [web2py] Re: web2py doesn't start!

2013-05-03 Thread 黄祥
I think you need to edit /etc/modprobe.d/modprobe.conf and /etc/modprobe.d/aliases.conf. In the files I found out this: *Code:* # Uncomment the network protocols you don't want loaded: # alias net-pf-2 off# IPv4 alias net-pf-10 off # IPv6 after that please restart your n

Re: [web2py] Re: web2py doesn't start!

2013-05-03 Thread Nader Emami
No! Because I don't know how I can do it. Cheers! On 3 May 2013 20:53, 黄祥 wrote: > had you already try disable the ipv6 in your network configuration? > > > On Friday, May 3, 2013 1:02:21 PM UTC-4, Nader Emami wrote: > >> The output of "print socket.getaddrinfo(**socket.getfqdn(), 0)" is: >> >

Re: [web2py] Re: web2py doesn't start!

2013-05-03 Thread 黄祥
had you already try disable the ipv6 in your network configuration? On Friday, May 3, 2013 1:02:21 PM UTC-4, Nader Emami wrote: > > The output of "print socket.getaddrinfo(socket.getfqdn(), 0)" is: > > > [(10, 1, 6, '', (10, > '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')), (10, 2,

Re: [web2py] Re: web2py doesn't start!

2013-05-03 Thread Jonathan Lundell
Odd. Looks like misconfigured IPv6. Need to add a check to my patch to check for a string. On May 3, 2013, at 10:02 AM, Nader Emami wrote: > The output of "print socket.getaddrinfo(socket.getfqdn(), 0)" is: > > > [(10, 1, 6, '', (10, > '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x

Re: [web2py] Re: web2py doesn't start!

2013-05-03 Thread Nader Emami
The output of "print socket.getaddrinfo(socket.getfqdn(), 0)" is: [(10, 1, 6, '', (10, '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')), (10, 2, 17, '', (10, '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')), (10, 3, 0, '', (10, '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00

Re: [web2py] Re: web2py doesn't start!

2013-05-03 Thread Jonathan Lundell
On 3 May 2013, at 7:50 AM, Jonathan Lundell wrote: > On 3 May 2013, at 7:03 AM, Anthony wrote: >> Hmm, not sure what's going on then. > > My guess is that socket.getaddrinfo is returning an address that's in a > non-IP address family. We should probably be filtering on AF_INET and > AF_INET6.

Re: [web2py] Re: web2py doesn't start!

2013-05-03 Thread Jonathan Lundell
On 3 May 2013, at 7:03 AM, Anthony wrote: > Hmm, not sure what's going on then. My guess is that socket.getaddrinfo is returning an address that's in a non-IP address family. We should probably be filtering on AF_INET and AF_INET6. > > On Friday, May 3, 2013 9:53:10 AM UTC-4, Nader Emami wrote

[web2py] Re: web2py doesn't start!

2013-05-03 Thread Massimo Di Pierro
Can you please run a test for me? python >>> import socket >>> print socket.getaddrinfo(socket.getfqdn(), 0) what's the output? Anyway you can run it with web2py.py --nogui It is failing when making a guess for all your IP addresses. On Friday, 3 May 2013 02:30:01 UTC-5, Nader Emami wrote: > >

Re: [web2py] Re: web2py doesn't start!

2013-05-03 Thread Jonathan Lundell
On 3 May 2013, at 4:49 AM, Nader Emami wrote: > Thank for your email. I use Linux (gentoo) with Python-2.7.3. I have got > yesterday the web2py_src.zip: > (Version 2.4.6-stable+timestamp.2013.04.06.17.37.38) Run Python from the command line and run (and report) what you get from: import

[web2py] Re: web2py doesn't start!

2013-05-03 Thread Anthony
Hmm, not sure what's going on then. On Friday, May 3, 2013 9:53:10 AM UTC-4, Nader Emami wrote: > > I did the second one: "python web2py.py". > > On Friday, May 3, 2013 9:30:01 AM UTC+2, Nader Emami wrote: >> >> >> I would like to use the "web2py" framework. When I tried to run "*python >> web2p

Re: [web2py] Re: web2py doesn't start!

2013-05-03 Thread Nader Emami
I didn't install python from source, Gentoo did it. On Friday, May 3, 2013 2:00:39 PM UTC+2, 黄祥 wrote: > > i ran it on python 2.7.3 on lubuntu 12.10 and on centos 6.4 never get any > problems. did you installed python from souce? > > On Friday, May 3, 2013 7:49:34 AM UTC-4, Nader Emami wrote: >

[web2py] Re: web2py doesn't start!

2013-05-03 Thread Nader Emami
I did the second one: "python web2py.py". On Friday, May 3, 2013 9:30:01 AM UTC+2, Nader Emami wrote: > > > I would like to use the "web2py" framework. When I tried to run "*python > web2py*", I got the next error: > > Traceback (most recent call last): > File "web2py.py", line 27, in >

[web2py] Re: web2py doesn't start!

2013-05-03 Thread Anthony
Did you run "python web2py" or "python web2py.py"? On Friday, May 3, 2013 3:30:01 AM UTC-4, Nader Emami wrote: > > > I would like to use the "web2py" framework. When I tried to run "*python > web2py*", I got the next error: > > Traceback (most recent call last): > File "web2py.py", line 27, in

Re: [web2py] Re: web2py doesn't start!

2013-05-03 Thread 黄祥
i ran it on python 2.7.3 on lubuntu 12.10 and on centos 6.4 never get any problems. did you installed python from souce? On Friday, May 3, 2013 7:49:34 AM UTC-4, Nader Emami wrote: > > Thank for your email. I use Linux (gentoo) with Python-2.7.3. I have got > yesterday the web2py_src.zip: > (Ve

Re: [web2py] Re: web2py doesn't start!

2013-05-03 Thread Nader Emami
Thank for your email. I use Linux (gentoo) with Python-2.7.3. I have got yesterday the web2py_src.zip: (Version 2.4.6-stable+timestamp.2013.04.06.17.37.38) Nader On 3 May 2013 13:10, 黄祥 wrote: > what kind of os did you use and what version of web2py did you use? > > > On Friday, May 3, 2013 3:

[web2py] Re: web2py doesn't start!

2013-05-03 Thread 黄祥
what kind of os did you use and what version of web2py did you use? On Friday, May 3, 2013 3:30:01 AM UTC-4, Nader Emami wrote: > > > I would like to use the "web2py" framework. When I tried to run "*python > web2py*", I got the next error: > > Traceback (most recent call last): > File "web2py