Try just: $ python web2py.py And direct your URL to http://localhost:8000
On Tue, Nov 13, 2012 at 3:44 PM, gabriele dantona <[email protected]> wrote: > > Hello, I've installed the source code of web2py on Linux Redhat, but when I > do the first call (via web browser) I have this call stack trace: > > test@test01:~/web2py> python web2py.py --ip xxx.xxx.xxx.xxx > web2py Web Framework > Created by Massimo Di Pierro, Copyright 2007-2012 > Version 2.2.1 (2012-10-21 16:57:04) stable > Database drivers available: MySQL(pymysql), PostgreSQL(pg8000), > IMAP(imaplib) > WARNING:web2py:GUI not available because Tk library is not installed > choose a password: > please visit: > http://xxx.xxx.xxx.xxx:8000 > use "kill -SIGTERM 4341" to shutdown the web2py server > DEBUG: connect attempt 0, connection error: > Traceback (most recent call last): > File "/home/aomoper/web2py/gluon/dal.py", line 6755, in __init__ > self._adapter = ADAPTERS[self._dbname](**kwargs) > File "/home/aomoper/web2py/gluon/dal.py", line 2079, in __init__ > if do_connect: self.find_driver(adapter_args) > File "/home/aomoper/web2py/gluon/dal.py", line 695, in find_driver > raise RuntimeError, "no driver available %s" % self.drivers > TypeError: not all arguments converted during string formatting > DEBUG: connect attempt 1, connection error: > Traceback (most recent call last): > File "/home/aomoper/web2py/gluon/dal.py", line 6755, in __init__ > self._adapter = ADAPTERS[self._dbname](**kwargs) > File "/home/aomoper/web2py/gluon/dal.py", line 2079, in __init__ > if do_connect: self.find_driver(adapter_args) > File "/home/aomoper/web2py/gluon/dal.py", line 695, in find_driver > raise RuntimeError, "no driver available %s" % self.drivers > TypeError: not all arguments converted during string formatting > DEBUG: connect attempt 2, connection error: > Traceback (most recent call last): > File "/home/aomoper/web2py/gluon/dal.py", line 6755, in __init__ > self._adapter = ADAPTERS[self._dbname](**kwargs) > File "/home/aomoper/web2py/gluon/dal.py", line 2079, in __init__ > if do_connect: self.find_driver(adapter_args) > File "/home/aomoper/web2py/gluon/dal.py", line 695, in find_driver > raise RuntimeError, "no driver available %s" % self.drivers > TypeError: not all arguments converted during string formatting > DEBUG: connect attempt 3, connection error: > Traceback (most recent call last): > File "/home/aomoper/web2py/gluon/dal.py", line 6755, in __init__ > self._adapter = ADAPTERS[self._dbname](**kwargs) > File "/home/aomoper/web2py/gluon/dal.py", line 2079, in __init__ > if do_connect: self.find_driver(adapter_args) > File "/home/aomoper/web2py/gluon/dal.py", line 695, in find_driver > raise RuntimeError, "no driver available %s" % self.drivers > TypeError: not all arguments converted during string formatting > DEBUG: connect attempt 4, connection error: > Traceback (most recent call last): > File "/home/aomoper/web2py/gluon/dal.py", line 6755, in __init__ > self._adapter = ADAPTERS[self._dbname](**kwargs) > File "/home/aomoper/web2py/gluon/dal.py", line 2079, in __init__ > if do_connect: self.find_driver(adapter_args) > File "/home/aomoper/web2py/gluon/dal.py", line 695, in find_driver > raise RuntimeError, "no driver available %s" % self.drivers > TypeError: not all arguments converted during string formatting > > Anyone can help? > > Python version is 2.7.3. > > Thanks > Gabriele > > -- > > > --

