Re: [ZODB-Dev] Re: Relstorage
Anton Stonor wrote: I just had a look at this and am capable of reproducing it (on Plone 3.1.1) -- but also with filestorage! So it doesn't really look like a RelStorage issue to me. Thanks for working on this, Anton. I think I can call this issue closed WRT RelStorage. Shane ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] Re: Relstorage
This appears to be a CMFEditions problem not a RelStorage problem. The ways to escalate a bug: Write a test case that demonstrates the bug. Do it yourself. a. Ensure tests fail reliably b. Email the author with failing tests cases and software versions to allow him to reproduce c. Hope that arthur cares enough to run your tests on the software packages and fixes it. I have a feeling its CMFEditions because he is trying to do fancy stuff with the transaction note(s) in the ZODB. At a gut level: I feel 100x more comfortable with Shane's code (ZODB/RelStoage) than CMFEditions. Which is notoriously insane. alan On Wed, Apr 23, 2008 at 4:10 AM, Ben Mason [EMAIL PROTECTED] wrote: We're currently benchmarking RelStorage to see if it's a viable alternative to ZEO. We've come across the following problem: When trying to revert to an old version of a page, we get a unicode error: Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Products.CMFCore.FSPythonScript, line 140, in __call__ Module Shared.DC.Scripts.Bindings, line 313, in __call__ Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module Products.CMFCore.FSPythonScript, line 196, in _exec Module None, line 22, in revertversion - FSPythonScript at /plone/revertversion used for /plone/front-page - Line 22 Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 292, in save Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 454, in _recursiveSave Module Products.CMFEditions.ArchivistTool, line 288, in save Module Products.CMFEditions.ZVCStorageTool, line 232, in save Module Products.CMFEditions.ZVCStorageTool, line 391, in _applyOrCheckin Module Products.CMFEditions.ZVCStorageTool, line 505, in _encodeMetadata UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128) All that has been done here is... Click Edit on the front page of a clean Plone site, click Save. Go to the History tab and click on 'Revert to this revision' This doesn't happen if we're using the traditional Data.fs way of storing data. Anyone know what is going on? Thanks Ben ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev -- Alan Runyan Enfold Systems, Inc. http://www.enfoldsystems.com/ phone: +1.713.942.2377x111 fax: +1.832.201.8856 ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] Re: Relstorage
Alan Runyan wrote: I have a feeling its CMFEditions because he is trying to do fancy stuff with the transaction note(s) in the ZODB. At a gut level: I feel 100x more comfortable with Shane's code (ZODB/RelStoage) than CMFEditions. Which is notoriously insane. Thanks. :-) However, early versions of RelStorage handled transaction metadata encoding incorrectly. Ben, what version of RelStorage are you using? Shane ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] Re: Relstorage
Shane, I'm using this buildout for Plone 3: http://svn.plone.org/svn/collective/collective.relstorage/trunk/ Which is using RelStorage from: svn://svn.zope.org/repos/main/relstorage/trunk/relstorage Thanks Ben On 23/04/2008 16:12, Shane Hathaway [EMAIL PROTECTED] wrote: Alan Runyan wrote: I have a feeling its CMFEditions because he is trying to do fancy stuff with the transaction note(s) in the ZODB. At a gut level: I feel 100x more comfortable with Shane's code (ZODB/RelStoage) than CMFEditions. Which is notoriously insane. Thanks. :-) However, early versions of RelStorage handled transaction metadata encoding incorrectly. Ben, what version of RelStorage are you using? Shane -- Ben Mason Technical Director Sharkbyte Studios Ltd 6 Hay's Lane, London Bridge, London, SE1 2HB Web: sharkbyte.co.uk Tel: 020 7394 7886 Please send all support queries to [EMAIL PROTECTED] This message may contain confidential and/or privileged information. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return E-mail. ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] Re: RelStorage Oracle Barf...
Shane Hathaway wrote: http://ora-24813.ora-code.com/ That page suggests you may be running different versions of Oracle on the client and server. I'm sure there are other possibilities, of course. Indeed, hopefully Guy will take a look some time. I should stress that this error was extremely infrequent... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev