On 3 May 2013, at 4:49 AM, Nader Emami <n.em...@gmail.com> 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 socket socket.getaddrinfo(socket.getfqdn(), 0) > > Nader > > > On 3 May 2013 13:10, 黄祥 <steve.van.chris...@gmail.com> wrote: > 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.py", line 27, in <module> > gluon.widget.start(cron=True) > File "/home/nader/web2py/gluon/widget.py", line 1054, in start > (options, args) = console() > File "/home/nader/web2py/gluon/widget.py", line 921, in console > if not is_loopback_ip_address(ip[4][0])])) > File "/home/nader/web2py/gluon/utils.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 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.