[web2py] Re: Operational Error

2011-03-11 Thread pbreit
Those are good points. But I think my suggestions are still good advice. The book deletes a lot of stuff for length reasons. And while you *can* change the db name, it's a good idea not to when you are learning since many code samples will re-use the same names throughout. Changing the db name p

[web2py] Re: Operational Error

2011-03-11 Thread Massimo Di Pierro
There is nothing wrong with this approach. It is possible that you have some unwanted hidden char in the code. Email me the db.py file and I will take a look. Massimo On Mar 10, 10:51 pm, Eduardo wrote: > Hello, > > I generated a new simple app  through "New Simple Application" and > then change

[web2py] Re: Operational Error

2011-03-11 Thread Eduardo
Thanks for replying, pbreit. Interesting enough, the capital letter was the only persistent cause of error. I had to reinstall web2py to finally fix that. I still need to question your 3 suggestions, though: 1) The reason why I completely rewrote db.py with only those lines is because we are tol

[web2py] Re: Operational Error

2011-03-10 Thread pbreit
I'm not sure the exact problem. Did it show you what line of code caused the error? I would suggest starting over and just putting this at the bottom of db.py (starting at about line 80). This worked OK for me. db.define_table('estudantes', Field('nome'), Field('pais'), Field('nasc