[storm] Problem after upgrading storm

Jamu Kakar jkakar at kakar.ca
Fri Jan 22 23:44:49 GMT 2010


Hi Edoardo,

On Fri, Jan 22, 2010 at 7:16 AM, Edoardo Serra
<edoardo.serra at satisfly.com> wrote:
> 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?

Woah, interesting.  The best way we can help you is if you could
post a small example that reproduces the problem.

Thanks,
J.



More information about the storm mailing list