Re: [ZODB-Dev] Relstorage 1.4b3 error
On Wed, Feb 24, 2010 at 12:14 PM, Shane Hathaway sh...@hathawaymix.orgwrote: Santi Camps wrote: * Module relstorage.cache, line 294, in after_tpc_finish * Module memcache, line 360, in incr * Module memcache, line 384, in _incrdecr ValueError: invalid literal for int(): NOT_FOUND This means that in some circumstances, the memcache module you chose returns 'NOT_FOUND' when a cache entry is missing. That's broken behavior in the memcache module. Please try the pylibmc_wrapper module instead. I have found pylibmc to be not only faster but more reliable than the other memcache modules. But if I'm correct, pylibmc (0.9) required by RelStorage don't run with Python 2.4.x or I'm doing something wrong. Cheers, Shane -- Rudá Porto Filgueiras http://python-blog.blogspot.com http://twitter.com/rudaporto ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] Relstorage 1.4b3 error
Rudá Porto Filgueiras wrote: But if I'm correct, pylibmc (0.9) required by RelStorage don't run with Python 2.4.x or I'm doing something wrong. Did you try pylibmc with Python 2.4? It might just work. Shane ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] Relstorage 1.4b3 error
On Thu, Feb 25, 2010 at 4:30 PM, Shane Hathaway sh...@hathawaymix.orgwrote: Rudá Porto Filgueiras wrote: But if I'm correct, pylibmc (0.9) required by RelStorage don't run with Python 2.4.x or I'm doing something wrong. Did you try pylibmc with Python 2.4? It might just work. I try it and don't work, because it uses with keyword introduced on Python 2.5. :-( Shane -- Rudá Porto Filgueiras http://python-blog.blogspot.com http://twitter.com/rudaporto ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] Relstorage 1.4b3 error
Santi Camps wrote: * Module relstorage.cache, line 294, in after_tpc_finish * Module memcache, line 360, in incr * Module memcache, line 384, in _incrdecr ValueError: invalid literal for int(): NOT_FOUND This means that in some circumstances, the memcache module you chose returns 'NOT_FOUND' when a cache entry is missing. That's broken behavior in the memcache module. Please try the pylibmc_wrapper module instead. I have found pylibmc to be not only faster but more reliable than the other memcache modules. Shane ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev
[ZODB-Dev] Relstorage 1.4b3 error
Hi Shane (and others) I'm just testing Relstorage 1.4b3 ... it has exciting new features :-) !! I've started testing memcached integration, and in few hours I've had this error twice: - Module ZPublisher.Publish, line 121, in publish - Module Zope2.App.startup, line 240, in commit - Module transaction._manager, line 96, in commit - Module Products.CPSCompat.PatchZODBTransaction, line 175, in commit - Module transaction._transaction, line 441, in _commitResources - Module ZODB.Connection, line 715, in tpc_finish - Module relstorage.storage, line 825, in tpc_finish - Module relstorage.storage, line 845, in _finish - Module relstorage.cache, line 294, in after_tpc_finish - Module memcache, line 360, in incr - Module memcache, line 384, in _incrdecr ValueError: invalid literal for int(): NOT_FOUND Retrying the request solve the problem, but I report it to you to be known (in fact, I don't know if the problem is in relstorage or in memcache). I'm working with python2.4.6 and python-memcache module version 1.40 Thanks a lot for this new release of relstorage, the performance testings are amazing -- Santi Camps KMKey hacker (http://www.kmkey.com) Earcon S.L. (http://www.earcon.com) ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev