I think I deleted the model files, or the ones in database folder on purpose
(to disable the app temporarily), but then returned them back.

Only once I deleted the cache files, everything started working again
properly.

On Mon, Mar 14, 2011 at 6:57 PM, Massimo Di Pierro <
[email protected]> wrote:

> Are you sure you did not accidentally delete the model file that
> defines db or the file is not readable?
>
> On Mar 14, 4:51 pm, "Adnan S." <[email protected]> wrote:
> > Got this error and trying to understand what happened...
> >
> > I deployed the app to the server (copy/paste folder) and it worked
> > well, but after couple hours the part related to the db, out of a
> > sudden stopped working... The same app still works on the local
> > computer, and is accessing the same remote MySQL db.
> >
> > As I was typing this, I deleted the cache folder files:
> > cache.shelve.db and cache.lock, and everything started working again.
> >
> > Should I have deleted the cache files, and should I have set the time
> > shorter instead of 3600?
> >
> > I use it in one place to build a dropdown field:
> >         rows_inv =
> > db(db.inventory.company_id<0).select(db.inventory.ALL,
> > orderby=db.inventory.name, cache=(cache.ram,3600))
>



-- 

Thanks,
Adnan

Reply via email to