[web2py] Re: Syntax Error "unknown app...."

2018-07-12 Thread Anthony
> > Hi, thanks for your response. That seems like a good solution and I think > I'm going to go that way, but I still ask ... > Is there a possibility to change the code in rewrite.py so that it does not > throw the error, but does not include that domain in the list and make a > log

[web2py] Re: row.update_record() leaves row as None (only sometimes)

2018-07-12 Thread Leonel Câmara
What virtual method? What does update_tsv do? I can guess it's related to some csv representation but that's not a regular row method. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Interesting Project

2018-07-12 Thread greenpoise
Been jumping around different python frameworks and stumbled into Websauna . Its built on top of Pyramid (Pylons). I share it here because I thought it borough a few things from web2py (or so it looks like) and perhaps it has a few features web2py can borough from.

[web2py] Re: row.update_record() leaves row as None (only sometimes)

2018-07-12 Thread Lisandro
Thank you Leonel for your time. The code I showed is a bit simplified. I do some validation in deed (to requests.vars and request.args). Even though, if there is a problem with request.vars (for example, if request.vars.age is a string that is not a digit), the update_record would throw some

[web2py] Re: row.update_record() leaves row as None (only sometimes)

2018-07-12 Thread Leonel Câmara
You are not validating request.vars.name nor request.vars.age. Is it possible something weird is going on there? Also you're not checking if row is None initially after you get it using request.args(0). Other than that, I don't see how this is even possible. Because a None Row should cause

[web2py] row.update_record() leaves row as None (only sometimes)

2018-07-12 Thread Lisandro
Hi there! I'm having this weird issue where, after doing a row.update_record(), the row object ends up being None. The scenario is simple: it is a function that receives a post with some data, creates a dictionary with the data, updates de row, and finally calls a virtual method of the row.

[web2py] Re: Syntax Error "unknown app...."

2018-07-12 Thread fiubarc
Hi, thanks for your response. That seems like a good solution and I think I'm going to go that way, but I still ask ... Is there a possibility to change the code in rewrite.py so that it does not throw the error, but does not include that domain in the list and make a log warining?

Re: [web2py]

2018-07-12 Thread Martin Weissenboeck
Sorry, wrong address. Martin Weissenboeck schrieb am Do., 12. Juli 2018, 15:25: > -- > 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