On 4/4/06, Patrick Coleman <[EMAIL PROTECTED]> wrote:

OK, found the problem (posting here for the next poor sod).

great it seems i was off.. sry about that

My database has a column 'expire' in a certain table. It appears that
when SQLObject calls expire() (line 778, dbconnection.py) on a cache
object from that table,

oh we should do something about those either as a patch to sqlobject or build into TG, there should be a list of invalid column names and fail to create the tables grafully, maybe with an exception.

rather than calling the expire method to expire
the object from cache it actually returns the value from the 'expire'
column, which being a Long of course isn't callable, hence the
exception above.

that is one  feature of python going wrong ...

I've submitted his as a bug to SQLObject
(http://sourceforge.net/tracker/index.php?func=detail&aid=1463974&group_id=74338&atid=540672 )

Cheers,
Patrick
--
http://www.labyrinthdata.net.au






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to