It seems to work fine from the interactive shell.  And after I ran
that command from the interactive shell, I think that I no longer have
the "invalid function" when calling the action.  So, perhaps it was a
problem with items that were accumulating in the cache.  I'll report
back if it breaks again.
Avik

On May 3, 10:30 pm, mdipierro <[email protected]> wrote:
> Can you try it from the shell?
>
> python web2py.py -S welcome
>
> >>> cache.disk.clear()
>
> On May 3, 9:29 pm, mdipierro <[email protected]> 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 <[email protected]> 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