Today I came across some unusual behaviour in web2py when I tried to install a compiled web2py application. Coming home I decided to see if I could replicate the same problem on my Mac (running macos Sierra) and found some equally unusual behaviour.
The problem can be easily demonstrated:
1. From the web2py website I downloaded the Mac version of web2py (for Normal Users) currently version 2.15.4-stable+timestamp.2017.09.02.04.02.22 (Running on Rocket 1.2.6, Python 2.7.3)
2. From the web2py administrative interface I then compiled the ‘welcome’ application which is a standard application which comes with web2py
3. I then ‘Packed’ this newly created compiled version of the standard 'welcome' application
4. I then Uploaded and installed this newly created compiled application using a different name for the application
5. The original uncompiled ‘welcome’ application still works but the compiled version of the same application gives:
invalid view (default/index.html)
Obviously all of this is done on the same (i.e. one) machine with the same web2py version, Python etc and yet the compiled version will not work but the uncompiled version will.
Am I missing something obvious?