If something changed (as now pg adapter supports pg8000 driver), old
uri strings would have to be accepted also. I'd say it's is a bug.
There seems to be a list/dict conflict in dal.
On Mar 10, 2:16 pm, Bruce Wade wrote:
> db_users = DAL('postgres://warplyde_fto:password@localhost/warplyde_fto')
Line 1999 in trunk:
self.driver = drivers.get('pg8000')
Should be:
self.driver = self.drivers.get('pg8000')
On Mar 10, 8:07 pm, Alan Etkin wrote:
> If something changed (as now pg adapter supports pg8000 driver), old
> uri strings would have to be accepted also. I'
fixing in trunk (while at PyCon print)
On Saturday, 10 March 2012 17:16:57 UTC-6, Alan Etkin wrote:
>
> Line 1999 in trunk:
> self.driver = drivers.get('pg8000')
> Should be:
> self.driver = self.drivers.get('pg8000')
>
> On Mar 10, 8:07 pm, Alan Etkin wrote:
Curious if the issue I have with my app coulb become from the new pg8000
driver??
https://groups.google.com/forum/?fromgroups#!searchin/web2py/%5Bweb2py%5D$20my$20app$20not$20works$20with$20web2py$201.99.7/web2py/i7wx6JVTOtw/JlaULRp8G0AJ
Do I have to change anything in my connection string with t
I had to change my connection string to this:
db_users = DAL('postgres:psycopg2://warplyde_fto:password@localhost
/warplyde_fto')
On Mon, Mar 12, 2012 at 7:23 AM, Richard Vézina wrote:
> Curious if the issue I have with my app coulb become from the new pg8000
> driver??
>
>
> https://groups.goo
Thank for the answer!
But unfortunately for me it's not the origin of my problem it seems.
Richard
On Mon, Mar 12, 2012 at 11:12 AM, Bruce Wade wrote:
> I had to change my connection string to this:
>
> db_users = DAL('postgres:psycopg2://warplyde_fto:password@localhost
> /warplyde_fto')
>
>
>
Why are you doing this: auth=Auth(globals(),db) ? globals will not even be
processed it will only look at the first param and set it to db if the db
(second param) doesn't exist.
auth = Auth(db) is how it should be
Also I think this is where your problem is:
auth.settings.table_user = auth_table #
Finally you are missing some required fields in your new auth table:
Look at: http://web2py.com/books/default/chapter/29/9#Customizing-Auth to
see the required fields.
On Mon, Mar 12, 2012 at 8:46 AM, Bruce Wade wrote:
> Why are you doing this: auth=Auth(globals(),db) ? globals will not even
>
Thanks for your help.
I am developping this app since pretty old version of web2py, I wrote that
2 years ago, so...
I will try the thing you mention and I report back...
On Mon, Mar 12, 2012 at 11:49 AM, Bruce Wade wrote:
> Finally you are missing some required fields in your new auth table:
>
9 matches
Mail list logo