this works! thanks... On Monday, June 8, 2015 at 6:52:35 AM UTC-5, Marin Pranjić wrote: > > You should be able to just write: > if not (op_rec and op_rec2 and op_rec3 and op_rec4) > > Marin > > On Mon, Jun 8, 2015 at 1:03 PM, Auden RovelleQuartz <oves...@gmail.com > <javascript:>> wrote: > >> What does this error mean - I never got it pre-pydal... >> >> { >> Ticket ID >> >> 24.211.17.122.2015-06-08.05-34-25.9f6361e2-d387-4cf8-adef-2216ad5c6476 >> <type 'exceptions.AttributeError'> 'NoneType' object has no attribute >> 'records'Versionweb2py™Version >> 2.11.2-stable+timestamp.2015.05.30.16.33.24PythonPython 2.7.3: >> /usr/bin/python (prefix: /usr)Traceback >> >> 1. >> 2. >> 3. >> 4. >> 5. >> 6. >> 7. >> 8. >> 9. >> 10. >> 11. >> 12. >> >> Traceback (most recent call last): >> File "/home/www-data/web2py/gluon/restricted.py", line 227, in restricted >> exec ccode in environment >> File >> "/home/www-data/web2py/applications/omniavx_cxn/controllers/public.py" >> <https://ovxdev.us/admin/default/edit/omniavx_cxn/controllers/public.py>, >> line 3343, in <module> >> File "/home/www-data/web2py/gluon/globals.py", line 412, in <lambda> >> self._caller = lambda f: f() >> File >> "/home/www-data/web2py/applications/omniavx_cxn/controllers/public.py" >> <https://ovxdev.us/admin/default/edit/omniavx_cxn/controllers/public.py>, >> line 920, in signup_captcha >> (op_rec == None) or (op_rec2 == None) or (op_rec3 == None) or (op_rec4 >> == None)): >> File "/home/www-data/web2py/gluon/packages/dal/pydal/objects.py", line >> 2506, in __eq__ >> return (self.records == other.records) >> AttributeError: 'NoneType' object has no attribute 'records' >> >> } >> >> -- >> 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+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > >
-- 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. For more options, visit https://groups.google.com/d/optout.