Thanks for the heads up. I switched to memcache as suggested and it's
exactly what I wanted. No automatically growing tables, and error
tickets are indeed still stored by google which is the only place I
ever access them anyway.
On Apr 14, 4:34 pm, howesc wrote:
> i went through this in GAE a
i went through this in GAE as well, and figured this out:
#get the storage, and tickle the right part to get the database
table
ts = TicketStorage(db=request.tickets_db)
table_obj = ts._get_table(ts.db, ts.tablename,
request.application)
if table_obj:
table_obj.truncate()
Just to be certain I have upgrade to the latest web2py and nothing has
changed.
On Apr 14, 2:26 pm, Chris S wrote:
> Oh, I'm running web2py Version 1.66.2 I believe. I haven't worked on
> this project since that was the current version. Updating shouldn't
> break anything right? If so I can
Oh, I'm running web2py Version 1.66.2 I believe. I haven't worked on
this project since that was the current version. Updating shouldn't
break anything right? If so I can give that a shot.
On Apr 14, 2:24 pm, Chris S wrote:
> Sure thing.
>
> In my default.py I have defined:
>
> -
Sure thing.
In my default.py I have defined:
-
def removeticket():
from google.appengine.ext.db import GqlQuery
from google.appengine.ext import db as gdb
import datetime
#Define number of days to keep ticket
OldestTicket=14
today = datetime.datetime.
This is not a Python error
> KindError: No implementation for kind
can we see the complete traceback and the code that triggers it?
On Apr 14, 1:40 pm, Chris S wrote:
> I'm trying to use a function that I can call via a cron job to remove
> old tickets and sessions. When I try to call the funct
6 matches
Mail list logo