have you changed datatype for some field? i.e: if you changed from datetime
to date, or from string to date and are using SQLITE, it will be not
possible to execute the ALTER table. You need to change it on SQLITEMANAGER
or recreate the database.

On Tue, Feb 28, 2012 at 4:20 AM, Hassan Alnatour <halna...@gardeniatelco.com
> wrote:

> Dear All,
>
> i have an error can you help me  ..  This is the error ..
>
> Traceback (most recent call last):
>  File "C:\web2py\gluon\restricted.py", line 204, in restricted
>    exec ccode in environment
>  File "C:\web2py\applications\Golden_Star\views\default/
> Courses.html", line 41, in <module>
>    padding:10px;
>  File "C:\web2py\gluon\dal.py", line 6333, in select
>    return self.db._adapter.select(self.query,fields,attributes)
>  File "C:\web2py\gluon\dal.py", line 1282, in select
>    rows = response(sql)
>  File "C:\web2py\gluon\dal.py", line 1272, in response
>    self.execute(sql)
>  File "C:\web2py\gluon\dal.py", line 1359, in execute
>    return self.log_execute(*a, **b)
>  File "C:\web2py\gluon\dal.py", line 1353, in log_execute
>    ret = self.cursor.execute(*a, **b)
>  File "C:\Python27\lib\sqlite3\dbapi2.py", line 66, in
> convert_timestamp
>    datepart, timepart = val.split(" ")
> ValueError: need more than 1 value to unpack
> ERROR SNAPSHOT
> <type 'exceptions.ValueError'>(need more than 1 value to unpack)
>
>


-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to