It's as if any attempt to read tables based on the db object causes this error.
I was getting this error where IS_IN_DB that references other tables as base tables. I've moved all those references from the models completely and now I'm getting the error when I attempt to log in to the app. Very strange On Saturday, October 21, 2023 at 4:45:09 PM UTC-5 vald...@gmail.com wrote: > Hi Guys, > > I recently upgraded an app I wrote with web2py about 4 years ago to work > with Python 3. > I got a lot of this <class 'AttributeError'> 'CommonDialect' object has > no attribute 'eq' error until I removed the requires=IS_IN_DB() > references to other tables and put the majority of the references into a > separate model file named so it would load last. It now works on my local > machine. > I've since moved the code to the production server and it worked at first > and then the same error started again, this time with it having a problem > with the model file that was set to load last. I have tried deleting the > web2py installation downloaded a fresh copy to no avail. > > Please help. > > > -- 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 web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/a904baa0-d8a6-4100-9d3c-ddeed250b84bn%40googlegroups.com.