It seems to me that Robert's suggestion might be correct. Anyway, the 
problem is in your Python environment - you're saying that you use Red Hat 
64-bit but no released version of Red Hat comes with Python 2.7.x so I'm 
assuming you've installed this version of Python yourself. This leads me to 
conclusion that a few standard python modules might be missing.

Regards,
Ales


On Wednesday, November 14, 2012 12:11:06 PM UTC+1, Roberto Perdomo wrote:
>
>
> El 14/11/2012 07:44, "gabriele dantona" <[email protected] <javascript:>> 
> escribió:
> >
> > Hello,
>
> Hi,
>
> > I've installed web2py on Linux Redhat 64bit with Python 2.7.3.
> >
> > After starting the server, the first request fails with this stack 
> trace. Anyone can help please?
> > Thanks
> >
> > friol@test:~/web2py> python web2py.py --ip 192.168.168.131
> > 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)
>
> What database are you using? May be using Sqlite, and this not appear on 
> this list, install it first.
>
> Show us your model.
>
> > WARNING:web2py:GUI not available because Tk library is not installed
> > choose a password:
> > please visit:
> >         http://192.168.168.131: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
> >
> > -- 
> >  
> >  
> >  
>  

-- 



Reply via email to