Its beginning to look like this problem IS in web2py - 

The actions I took -
  - duplicate menu.py (macOS names the copy "menu copy.py) and rename the 
original file something like menu_old.py and leave that renamed file in the 
models directory as reference backup
  - using the menu copy.py as a starting point, rename it menu.py  and 
experiment with the proposed changes, save the file and restart the app to 
see the result

  and the result seems, at least for me, to be that AS LONG AS THE 
MENU_OLD.PY file remains in the models directory, web2py continues to pick 
IT up as menu.py, rather than the modified file

It seems, if I remove the menu_old file from the models directory, web2py 
is then triggered to look for menu.py again and picks up the new file

At least that's the way it looks right now. Anyone seen something similar?


On Friday, May 25, 2018 at 9:11:15 AM UTC-7, jim kaubisch wrote:
>
> Only two "compile" options show, no "remove compiled" option. I assume 
> that the app is NOT compiled?
>
> Stumbled on the answer...
> I'm using TextMate2 to edit. Once I not only saved but CLOSED the menu.py 
> file and reopened it, it all worked like normal - presumably some corner 
> case bug :-(
>
> Thanks for coming to the rescue !
>
> On Thursday, May 24, 2018 at 10:34:11 PM UTC-7, 黄祥 wrote:
>>
>> ok, target spotted, seems your webapp is compiled, so please uncompile 
>> your web app first (via web2py app admin), then change your code (menu), 
>> then refresh your browser.
>>
>> best regards,
>> stifan
>>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to