[web2py] How to solve '\x00' error

2018-11-30 Thread mostwanted
There was a electrical power cut in my area today, it happened while i was working on my application. When the power returned & I tried to continue with my application I got this error: *"'<'type 'exceptions.KeyError'> '\x00'"* Now my application is NOT working! This is not the first time, i ha

[web2py] Re: MySql encryption using DAL

2018-11-30 Thread appjarbiz
Thanks Massimo. These are the steps and syntax to connect to Amazon's RDS using SSL. *Step1:* Download Amazons's CA certificate from here: https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem and save it into web2py/applications/myapp/private/ssl/rds-combined-ca-bundle.pem *Step2:

[web2py] Re: Unexplicable error, any thoughts?

2018-11-30 Thread Val K
Instead just db.table[id] you can use db(db.table.id==...).select(... , for_update=True), it blocks the record from changes by others until transaction end -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.

[web2py] Re: Unexplicable error, any thoughts?

2018-11-30 Thread Lisandro
Thank you for your comments. I checked the locals in the detail of the error ticket, and also checked every code/args/vars section, but I didn't find anything interesting. Val's comment made me think again if something else could delete the record. This is a multi-user scenario and, in theory,

[web2py] Re: Unexplicable error, any thoughts?

2018-11-30 Thread Dave S
On Friday, November 30, 2018 at 10:54:14 AM UTC-8, Val K wrote: > > It seems that something deletes the record while your controller is > runnig. Is there another one that could do it? In addition, examine the locals in each frame as shown in the error ticket. There might be a hint of clue t

[web2py] Unexplicable error, any thoughts?

2018-11-30 Thread Val K
It seems that something deletes the record while your controller is runnig. Is there another one that could do it? -- 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 Iss

[web2py] Unexplicable error, any thoughts?

2018-11-30 Thread Lisandro
I've been dealing with this issue since some time now, but can't understand how can it even happen. It shouldn't. But it does :P In the past I had reported a very similar problem (probably related), but as I was using a very old web2py version, and considering that it was impossible that the pr