You can read more about the standard here [ wiki.debian.org ]
When new packages are added to Debian, one of the things that a packager might do, is to adjust paths (where necessary) to fit with that FHS.
web2py is not a new project, however it is new for Debian packaging.
I am currently experimenting with test .deb files which are being prepared for Debian, so as, to get a better feel for how web2py is likely to eventually install.
( Note: These are unofficial .deb files in their current state, so they should only be installed in a test environment / at users own risk )
Taking into account the FHS it would be really good if the caching (shelve) code here could be configurable.
Having the cache for the 'welcome' application at:
...might be possible with some configuration.
This is just a loose suggestion, as I do not personally know enough about Python shelve, and the dbm setup it uses to actually store a serialization.
If you see an error message like:
ERROR:web2py.cache:corrupted file: ~/web2py/applications/welcome/cache/cache.shelve
then it might just be that there is some setup error, that has made the Python shelve cache not be writeable.
( If you want to look more closely at try catch Python code, then look in web2py.gluon.cache )
Trying the following in a terminal:
if you see 'Permission denied', then you might want to look at your config more closely.
Does web2py require Java?
The answer is NO, but what might be puzzling is why you might ask that question.
Here the startup script starts the web2py local server, web2py cron, and then hands off to the system configured browser.
In my case x-www-browser is set to be Epiphany, and those OpenJDK Java messages, are Epiphany being chatty about loading it's Java web plugin.
Notes and Further Reading:
As I write this I am aware that version 1.93 of web2py is now available, and I will tomorrow purge and reinstall to bring my installation up to date with the latest test .deb
Although web2py does not require Java, there are some pages where you might see them mentioned together. Specifically web2py is capable of being made to work indirectly via Jython. However there are reasons why you might want to read up, before experimenting with such a path.