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, 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\x00\x00\x00')), (2, 1, 6, '', > ('127.0.0.1', 0)), (2, 2, 17, '', ('127.0.0.1', 0)), (2, 3, 0, '', > ('127.0.0.1', 0))] > > > On 3 May 2013 16:36, Massimo Di Pierro <massimo....@gmail.com<javascript:> > > wrote: > >> 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: >>> >>> >>> 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 <module> >>> gluon.widget.start(cron=True) >>> File "/home/nader/web2py/gluon/widg**et.py", line 1054, in start >>> (options, args) = console() >>> File "/home/nader/web2py/gluon/widg**et.py", line 921, in console >>> if not is_loopback_ip_address(ip[4][0**])])) >>> File "/home/nader/web2py/gluon/util**s.py", line 306, in >>> is_loopback_ip_address >>> if ip.count('.') == 3: # IPv4 >>> AttributeError: 'int' object has no attribute 'count' >>> >>> Would somebody help me to solve this problem? >>> >>> Best regards, >>> >>> Nader >> >> -- >> >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "web2py-users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/web2py/t_11PX-hYt0/unsubscribe?hl=en. >> To unsubscribe from this group and all its topics, send an email to >> web2py+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > Nader >
-- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.