i've noticed that shutting web2py server down and restarting solves the problem. are those modules loaded at startup times? how to debug them? thanks
On 31 Gen, 14:42, pistacchio <[email protected]> wrote: > i think the problem is a bit deeper.. after having changed the name it > started working with the new version, but it contained an error (a > variable not define because i mistyped it). i corrected the error and > it keeps on yielding it and referring to a line number that does not > exist anymore, like if the module was cached and the server (web2py > develop server under mac) doesn't update to the current version. any > help? > > On 31 Gen, 12:05, pistacchio <[email protected]> wrote: > > > > > Hi, > > i have a file named bb.py in my application's modules directory. i > > import it with local_import('bb'). i made some changes to it and i > > notice that the program no longer loads them (but keeps working like > > it were using an older version). so i renamed the file to bb2.py and > > it kept working. if i use local_import('bb2'), it correctly loads the > > newer version. > > > so, where is local_import looking for modules? i don't know where it > > is getting that older version, but should't the modules dir of the > > current application the first place to look for? thanks -- 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.

