Everything has been good for days. But I have had this happen multiple times in the last few hours. I make changes to a module or controller file, save it, refresh the app but the old code still runs. I was working in both the IDE that comes with web2py and Visual Studio Code.
I eventually found that i can use the 'Remove Compiled' menu option which i assume forces a recompile of somethings - I think that helps most times. Sometimes the menu option is not available so i have to first use the 'Compile' menu option then the 'Remove Compiled'. I also tried stopping and starting the server (on Windows). And clearing the cache and what not. It seemed to start happening after i added a module that held code used by a table definition to COMPUTE a field value. Anyhow, i am not looking for a specific answer to my problem. I would just like to understand how the compiling of code works and what can cause this sort of problem (is this normal? have i probably done something stupid? is there a better way to fix these issues?). I have googled a lot but didn't really get much insight into this issue and web2py specifically. Thanks -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/119bc11d-b2a4-4d9c-9f44-3697d7178e64%40googlegroups.com.