I got it, new class was unregistered in the model environment inside the gluon.compileapp folder.
Thank you dear md, I'm loving & appreciating web2py's flexibility. On Nov 12, 10:34 pm, mdipierro <[email protected]> wrote: > I have no idea. Can you show use the code? > > On Nov 12, 1:51 pm, haftish21 <[email protected]> wrote: > > > > > mList is my class, to be used the same way as SQLField (to define new > > field d/t from SQLField). It 100% works on python shell, but on the > > model environment it raises the following trace... > > > Traceback (most recent call last): File "G:\get2GetHer\itcLessons\oSDI > > \proj+enkef\fivePythonWF\allWeb2py\web2pySource\web2pySource\gluon > > \restricted.py", line 107, in restricted exec ccode in environment > > File "C:/Users/.../applications/m4py/models/db.py", line 7, in > > <module> mList('mesay'), > > NameError: name 'mList' is not defined > > > What is wrong?? How could I fix this??? Can anyone help, plzzz...- Hide > > quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

