what adapter are you using. What is your URI string (without passwords please)?
On Monday, 4 September 2017 09:53:46 UTC-5, Yan Wong wrote: > > With this code, I now find that with the latest version of web2py > (2.15.4), I get > > File "applications/XXX/models/db.py", line 46, in <module> > db._adapter.types = copy.copy(db._adapter.types) > AttributeError: can't set attribute > > I have deleted the copy.copy line, so that I am modifying the adapter > straight away. I guess this is OK? Could someone confirm? > > Cheers > > Yan > > On Tuesday, 12 January 2016 19:56:13 UTC, Alfonso Serra wrote: >> >> Excuse me, one last question. >> >> Is it really necesary? >> import copy >> db._adapter.types = copy.copy(db._adapter.types) >> >> or modify the adapter right away will work? It looks like it does, but i >> dont know if theres any implication by skiping copy. >> >> Thanks >> >> -- 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 Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

