[ZODB-Dev] zodb 3.8.3 strip_versions missing some versions?

Christian Theune ct at gocept.com
Mon Nov 2 04:20:57 EST 2009


On 11/02/2009 10:04 AM, Chris Withers wrote:
> Hi All,
> 
> I'm upgrading a Zope 2.9.8 project to Zope 2.12 + zeoraid.
> 
> As I've done with previous projects, I run the .fs files through zodb 
> 3.8.3's strip_versions script. For both the storages in this project, 
> the script found no version records.
> 
> As a first step, I'm currently running the 2.9.8 app server against a 
> pair of zeo storage servers running zodb 3.9.3 and zeoraid 1.0b3
> 
> However, when I try and view the history tab of *any* page template 
> within the .fs files, even a newly created one, I get an assertion error 
> from zeoraid as gocept.zeoraid.storage.RAIDStorage's history method is 
> getting called with version passed as an integer 20.
> 
> Anyone have any idea what that 20 means and why it's being passed like that?

There's a size argument following the version which probably is not
being passed as a keyword argument so it looks like a slight API
incompatibility. I wonder whether ZEORaid should hack around that or
whether the caller should be changed.

Christian

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development



More information about the ZODB-Dev mailing list