[Twisted-Python] Re: examples/row_example.py DBError Row object not in cache

marjan cinober marjancinober at hotmail.com
Thu Jan 8 08:14:47 MST 2004


Hello

Thank you Dave for your fast reply, but it seems like I haven't managed to 
get rid of the problem by syncing with current CVS (today). And upgrading 
from Twisted 1.1.0 to 1.1.1 on Debian sarge - testing

Eroor message looks exactly the same
--- <exception caught here> ---
  File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line 
308, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "./row_example.py", line 58, in onInsert
    manager.deleteRow(newRoom).addCallback(onDelete)
  File 
"/usr/lib/python2.3/site-packages/twisted/enterprise/sqlreflector.py", line 
330, in deleteRow
    self.removeFromCache(rowObject)
  File "/usr/lib/python2.3/site-packages/twisted/enterprise/reflector.py", 
line 141, in removeFromCache
    raise DBError("Row object not in cache: %s", rowObject)
twisted.enterprise.util.DBError: ('Row object not in cache: %s', <Room 
#100001: newRoom1 (fred) (100,100)>)

On Sun, 04 Jan 2004 11:00:20, Dave Peticolas wrote:
>Re: examples/row_example.py  DBError Row object not in cache
>On Sat, 2004-01-03 at 11:13, marjan cinober wrote:
> > Still trying to test some postgersql access from twisted.
> > Unfortunate at running example ROW (Twisted Enterprise)
> > http://twistedmatrix.com/documents/examples/row_example.py
> >
> > got stuck at
> >   File "row_example.py", line 58, in onInsert
> >     manager.deleteRow(newRoom).addCallback(onDelete)
> >
> > Anybody has some clues?
>
>This was a bug. It should be fixed in CVS.
>
>dave

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail





More information about the Twisted-Python mailing list