so, the string object,  val is not composed of two substrings separated by 
a space.  There are
no spaces in the val string, based on that error.

The way the statement looks, I would say it is expecting a time string of 
the format:

dd/mm/yy hh:mm

or similar

On Tuesday, January 7, 2014 1:10:45 PM UTC-5, Akash Agrawall wrote:
>
>  Traceback (most recent call last):
>   File 
> "/home/hornet632/webapps/joyofreading/web2py/applications/AK_M14/controllers/appadmin.py",
>  line 243, in select
>     limitby=(start, stop))
>   File "/home/hornet632/webapps/joyofreading/web2py/gluon/dal.py", line 
> 10335, in select
>     return adapter.select(self.query,fields,attributes)
>   File "/home/hornet632/webapps/joyofreading/web2py/gluon/dal.py", line 2388, 
> in select
>     return super(SQLiteAdapter, self).select(query, fields, attributes)
>   File "/home/hornet632/webapps/joyofreading/web2py/gluon/dal.py", line 1831, 
> in select
>     return self._select_aux(sql,fields,attributes)
>   File "/home/hornet632/webapps/joyofreading/web2py/gluon/dal.py", line 1796, 
> in _select_aux
>     self.execute(sql)
>   File "/home/hornet632/webapps/joyofreading/web2py/gluon/dal.py", line 1916, 
> in execute
>     return self.log_execute(*a, **b)
>   File "/home/hornet632/webapps/joyofreading/web2py/gluon/dal.py", line 1910, 
> in log_execute
>     ret = self.cursor.execute(command, *a[1:], **b)
>   File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 66, in 
> convert_timestamp
>     datepart, timepart = val.split(" ")
> ValueError: need more than 1 value to unpack
>
>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to