[storm] Problem after upgrading storm

Edoardo Serra edoardo.serra at satisfly.com
Fri Jan 22 15:16:53 GMT 2010


Hi all,
	I have an application running under zope3 (3.3.1) on debian lenny.

I just upgraded from storm 0.12 to 0.15.0.99.
The web application works as expecet but unit tests are broken:

From the zope instance directory I launch the tests:
$ ./bin/test -vpu1 

Failed example:
   transaction.get().commit()
Exception raised:
   Traceback (most recent call last):
   [...]
     File "/usr/local/lib/python2.4/site-packages/storm/references.py", line 703, in unlink
       local_store.remove_flush_order(remote_info, local_info)
     File "/usr/local/lib/python2.4/site-packages/storm/store.py", line 421, in remove_flush_order
       self._order[pair] -= 1
   KeyError: ({'primary_vars': (<storm.variables.IntVariable object at 0xb6af948c>,), 'invalidated': True, 'store': <storm.store.Store object at 0xb6c1e8cc>, 'sequence': 2}, {'primary_vars': (<storm.variables.IntVariable object at 0xb6afe66c>,), <storm.references.Relation object at 0xb6af534c>: {'flush_order': set([{'primary_vars': (<storm.variables.IntVariable object at 0xb6af948c>,), 'invalidated': True, 'store': <storm.store.Store object at 0xb6c1e8cc>, 'sequence': 2}])}, 'invalidated': True, 'store': <storm.store.Store object at 0xb6c1e8cc>, 'sequence': 2})

Could somebody help me debugging this issue?

Tnx in advance

Regards

Edoardo Serra

SATISFLY Limited

39/F, One Exchange Square
8 Connaught Place, Central
Hong Kong S.A.R.




More information about the storm mailing list