Can you try it from the shell?

python web2py.py -S welcome
>>> cache.disk.clear()


On May 3, 9:29 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> can you show the complete traceback? Do you have the latest web2py?
> This seems to work for me.
>
> On May 3, 6:25 pm, Avik Basu <avikb...@gmail.com> wrote:
>
> > Hi,
>
> > I have installed a site on dreamhost and whenever I issue the command
> > "cache.disk.clear" in an action, I get an "invalid function" error.
>
> > I thought this could be a permissions problem for the cache directory
> > or cache.shelve, so I added read/write permissions for everyone, but
> > it didn't seem to work.
>
> > Aache.ram.clear seems to work just fine.  Any ideas?
>
> > Avik

Reply via email to