Re: [SQLObject] SQLObjectNotFound when creating a new row instance

2008-02-19 Thread Oleg Broytmann
On Tue, Feb 19, 2008 at 06:38:26PM +0100, Sophana wrote: > Could you please explain the process of creating a new row instance? SQLObject.__init__() calls ._create() that calls .set() with sqlmeta._creating set; .set() collects the initializations values in ._SO_createValues dictionary; ._creat

Re: [SQLObject] SQLObjectNotFound when creating a new row instance

2008-02-19 Thread Sophana
Oleg Broytmann a écrit : > On Tue, Feb 19, 2008 at 04:35:24PM +0100, Sophana wrote: > >> SQLObjectNotFound: The object StateActive by the ID 208879 does not exist >> > >IWBN to turn on debugging (db_uri="...?debug=1"), redirect stdout to > a logfile and watch the log. What is the result

Re: [SQLObject] SQLObjectNotFound when creating a new row instance

2008-02-19 Thread Oleg Broytmann
On Tue, Feb 19, 2008 at 04:35:24PM +0100, Sophana wrote: > SQLObjectNotFound: The object StateActive by the ID 208879 does not exist IWBN to turn on debugging (db_uri="...?debug=1"), redirect stdout to a logfile and watch the log. What is the result of "QueryOne result" before the exception? O

[SQLObject] SQLObjectNotFound when creating a new row instance

2008-02-19 Thread Sophana
Hi My web service is sometimes throwing a weird exception: I get an SQLObjectNotFound exception during a new row instance creation. This does happen not very often (once a week) but it is quite regular. Does someone has an idea why? Thanks backtrace: ... r=StateActive(user=user,spot=spot,curSta