Can you please download and try trunk? It should be fixed there.

On Thursday, 13 March 2014 20:23:09 UTC-5, drayco wrote:
>
> We use extensive SQLTABLE and in this moment we have a lot of errors 
> similar to
>
> File "/home/drayco/web2py/gluon/sqlhtml.py", line 2929, in __init__
>     columns = 
> ['.'.join(sqlrows.db._adapter.REGEX_TABLE_DOT_FIELD.match(c).groups()) for c 
> in sqlrows.colnames]
> AttributeError: 'NoneType' object has no attribute 'groups'
>
> All code work with web2py 2.8.3 but when we upgrade to web2py 2.9.4, 
> This is our code
> totalPagos = 
> SQLTABLE(db((db.pagos.created_on>inicio)&(db.pagos.created_on<fin)).\
>                               select(db.pagos.id.count()), headers={'COUNT(
> pagos.id)':'Total Pagos'})
> We are in the similar situation
>
> El jueves, 13 de marzo de 2014 09:49:01 UTC-6, Fcosqui escribió:
>>
>> Hi !
>>
>> I have 2.9.4-stable version on my Server1 and 2.8.2-stable version on my 
>> Server2. 
>>
>> the same Application and query on Server1 and Server2:
>>
>> rows = SQLTABLE(db(db.info).select(db.info.name, db.info.number.count(), 
>> orderby=db.info.number, groupby=db.info.number))
>>
>> Server2 : Correct answer
>>
>> Server1 : <type 'exceptions.AttributeError'> 'NoneType' object has no 
>> attribute 'groups'
>>
>>
>> ¿¿??.
>>
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to