[web2py] Re: web2py internal error

2018-07-17 Thread Peter Hendriks
I can go in to the admin by typing https://www.maltaa-advies.nl/admin then I get the login screen for admin. Op dinsdag 17 juli 2018 00:12:29 UTC+2 schreef Dave S: > > > > On Monday, July 16, 2018 at 12:18:44 PM UTC-7, Peter Hendriks wrote: >> >> Ticket issued: >> malta_advies/141.8.9.39.2018-07

[web2py] Re: web2py internal error

2018-07-17 Thread Peter Hendriks
When web2py generates an error like that, the ticket that it links to contains details of what is causing the error. That ticket is also written to disk somewhere. You can check the web2py documentation for where the ticket is stored so you can look at it to determiner what is wrong. Thanks Gle

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

2018-07-17 Thread Lisandro
I don't think the code for update_tsv() is related, because the traceback shows that the error is produced even before looking for that method. I mean, the error says that the "row" object is None, therefor I think it would throw error calling any method. But anyway, in case it helps to figure

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

2018-07-17 Thread Leonel Câmara
In virtual methods you should not use row compact notation. You should use like row.content.title instead of row.title. So the error can be there. That said can I see the original code for the controller? Are you doing something like row = row.update_record(**data)? -- Resources: - http://web2

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

2018-07-17 Thread Malta Advies
Hello Leonel, I see you gave information to me about my eventually error code and also maybe how to solve this. I have to inform you that I'm not a developer despite. I try to get my site back on track. For this moment I do not have any help in my neighborhood. Sure you can see / have the contro

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

2018-07-17 Thread Leonel Câmara
Hey Peter, I was trying to help Lisandro, I'm not sure what error you're getting. I've seen in other thread that you're getting a ticket error but without looking at the ticket and your code I can't guess what's wrong. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

[web2py] Bot sends bad POST and triggers ValueError: Invalid boundary in multipart form: ''

2018-07-17 Thread Lisandro
Hi there! I'm just reporting this situation in case it's a bug, I'm not sure. I have a public webpage (no login required), and from time to time I see this error: ValueError: Invalid boundary in multipart form: '' The error is produced by a bot that sends a bad POST to an URL that doesn't eve

[web2py] Re: Why not to mention support to Python3 on the official sites main page?

2018-07-17 Thread Marcelo Huerta
El lunes, 16 de julio de 2018, 9:55:01 (UTC-3), Ari Lion BR Sp escribió: > > Hi, > > I wonder here why Python3 support is not mentioned at the official > web2py's website? > > I also wonder this. I think it might be because web2py hasn't been 100% in Python3? This is one of the issues which prev

Re: [web2py] Re: Why not to mention support to Python3 on the official sites main page?

2018-07-17 Thread Ari Sobel
I have been using *web2py *on *Python3 *for almost a *year*, with *no apparent issues.* My script to install it with nginx (adaptation from original - please fork and contribute): https://github.com/arisobel/web2py_scripts/blob/master/setup-web2py-nginx-p3-uwsgi-ubuntu.sh Ask everyone to try it.

[web2py] Re: Why not to mention support to Python3 on the official sites main page?

2018-07-17 Thread Anthony
It is mentioned here , but should be updated here and in the first three chapters of the book. Note, these updates can be made via pull requests to https://github.com/web2py/web2py (for the website, which is the "exa

[web2py] Re: Why not to mention support to Python3 on the official sites main page?

2018-07-17 Thread Ari Lion BR Sp
Thanks Marcelo Huerta / Anthony. Do you have tested python3? I can testify that perfomance improoves a lot. Whats lacking for official support announcement? Is there a list of issues for use under Python3? Thanks again, *Ari - Brazil* https://t.me/web2pybrasil (Brazillian Telegram Group) Em

Re: [web2py] Re: Why not to mention support to Python3 on the official sites main page?

2018-07-17 Thread Marcelo Huerta
El mar., 17 jul. 2018 a las 13:54, Ari Lion BR Sp () escribió: > Thanks Marcelo Huerta / Anthony. > > Do you have tested python3? > ​I don't have the infrastructure to perform testing best performed by the development team...​ > > I can testify that perfomance improoves a lot. Whats lacking fo

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

2018-07-17 Thread Leonel Câmara
I have to say I'm completely stumped. I don't see how this is even possible. Are you sure Line 301 is really the line after update_record? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py

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

2018-07-17 Thread Dave S
On Tuesday, July 17, 2018 at 4:50:02 PM UTC-7, Leonel Câmara wrote: > > I have to say I'm completely stumped. I don't see how this is even > possible. Are you sure Line 301 is really the line after update_record? > That should be verifiable with the full ticket, not just the stack trace. The ti

[web2py] OperationalError when using datetime

2018-07-17 Thread Maurice Waka
I have two problems; 1. When I successfully submit a form and try to retrieve the text for processing in the controller, I tend to get the previously submitted text and not the latest. I tried to get the latest database insert based on the current time using this code but get the op

[web2py] Re: OperationalError when using datetime

2018-07-17 Thread 黄祥
orderby should be table's field not a conditional comparison ref: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#orderby--groupby--limitby--distinct--having-orderby_on_limitby-left-cache for 2nd question: web2py auth.signature will cover to update value of field modi