Re: [web2py] Re: Trying to create a DAL connection and getting some errors...

2012-05-24 Thread Jason Brower
I made the change and I was able to get the connection. I noticed the comment in the shell. I was trying to make the connection and it was one possible reason why it was not working. BR, J On 05/24/2012 08:53 PM, Massimo Di Pierro wrote: ? where are you reading that? You can create tables dyna

Re: [web2py] Re: Trying to create a DAL connection and getting some errors...

2012-05-24 Thread Massimo Di Pierro
? where are you reading that? You can create tables dynamically. Your problem is the bug discussed here: self.driver = drivers.get('pg8000') should be self.driver = self.drivers.get('pg8000') This is a known bug fixed in trunk some time ago. On Wednesday, 23 May 2012 11:14:01 UTC-5, enco

Re: [web2py] Re: Trying to create a DAL connection and getting some errors...

2012-05-23 Thread Jason Brower
And I just noticed the comment here: "Creating new tables dynamically is not allowed." Isn't this just what I am about to do? --- BR, Jason Brower On 05/23/2012 07:04 PM, Massimo Di Pierro wrote: This has been fixed in trunk some time ago self.driver = drivers.get('pg8000') should be self.d

[web2py] Re: Trying to create a DAL connection and getting some errors...

2012-05-23 Thread Massimo Di Pierro
This has been fixed in trunk some time ago self.driver = drivers.get('pg8000') should be self.driver = self.drivers.get('pg8000') On Wednesday, 23 May 2012 11:01:59 UTC-5, encompass wrote: > > In the console I type this: > db2 = DAL('postgres://postgres:@localhost:5432/postgres')