Are you using conditional models (i.e., is your aa1.py model file inside /models/aa1/)?
On Monday, October 17, 2011 7:06:16 AM UTC-4, Vineet wrote: > > I downloaded dabo windows ver 1.99.2 > OS: Win7 64bit > > In old version: 1.92.1, I used to keep a 3rd party module named "dabo" > in "site-packages" dir (within web2py dir) & import them in the 1st > model file (named "aa1.py"). > Upon starting the app, this aa1.py is executed first, so that it was > available for all further model files, controller files. > > I tried the same thing in the latest version of web2py. > But the 3rd party module, which gets imported in the first model file, > is no longer available for subsequent models & controllers. > > *** aa1.py : 1st model file *** > import dabo > ... > ... > *** > > *** bb2.py : next model file *** > class myBizobj(dabo.biz.dBizobj); > ... > ... > *** > When controller action "/aa1" is called, > OK. No problem. > > When controller action "/bb2" is called, > NameError: name 'dabo' is not defined > > Is there any change in the latest version which is causing this > behaviour? > > ---Vineet

