i updated from 1.69 to 1.72 and my program now crashes with the following error:
Traceback (most recent call last): File "/home/david/Desktop/web2py/gluon/restricted.py", line 184, in restricted exec ccode in environment File "/home/david/Desktop/web2py/applications/DavidsData/controllers/ tms.py", line 420, in <module> File "/home/david/Desktop/web2py/gluon/globals.py", line 103, in <lambda> self._caller = lambda f: f() File "/home/david/Desktop/web2py/applications/DavidsData/controllers/ tms.py", line 212, in students if studentInfo==None and step>1: File "/home/david/Desktop/web2py/gluon/sql.py", line 633, in __eq__ return self.as_dict() == other.as_dict() AttributeError: 'NoneType' object has no attribute 'as_dict' i found the offending line: if studentInfo==None and step>1: if i change the type from None to a string type it works fine. what happened? studentInfo either returns database info or None. Does anybody have a clue what happened? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---