[web2py] web2py UnicodeDecodeError: 'utf8' codec can't decode byte 0xc7 in position 15: invalid continuation

2016-02-04 Thread Fábio Filho
I'm using a firebird legacy database and when I make this query: dbFb.INVENTORY.CODE==3 i got this output error: UnicodeDecodeError: 'utf8' codec can't decode byte 0xc7 in position 15: invalid continuation *there is a field called 'name', and when dbFb.INVENTORY.CODE==3,* *the field name

[web2py] web2py fails to read words in utf8 format with db.executesql()

2016-01-31 Thread Fábio Filho
I'm having a problem with my web2py website When I execute a sql command, for all fields that has "ç", I got this message: 'utf8' codec can't decode byte 0xc7 in position 15: invalid continuation byteError This is my method: def get_something(): mRow=dbFb.executesql("select first 1

[web2py] Re: Interact Web2Py App with Android App Security

2015-10-03 Thread Fábio Filho
upport ? web2py's default use session > cookies, but you need to get to the login page and obtain one before > hitting a protected page > > On Friday, October 2, 2015 at 11:06:25 PM UTC+2, Fábio Filho wrote: >> >> I'm sorry by my english >> >> How can i c

[web2py] Interact Web2Py App with Android App Security

2015-10-02 Thread Fábio Filho
I'm sorry by my english How can i connect my android application in my web2py site using auth authentication (@auth.requires_login)? I need make a secure connection between them for example: Web2Py Side : @auth.requires_login() def get_examplet(): return "{'code':'0'}" Android

[web2py] Re: Importing Data / Force Record ID #s To Remain As Specified in the CSV

2015-07-19 Thread Fábio Filho
Massimo, It's doesn't works for me. I have two columns: tbState.id and tbState.Name . I need to keep this id because i am using it in another table. i'm using the following code in shell tool: db.tbState.import_from_csv_file(open('db_tbState.csv'), map = {}) Thaks On Thursday, January