Re: [ZODB-Dev] Relstorage 1.4b3 error

2010-02-25 Thread Rudá Porto Filgueiras
On Thu, Feb 25, 2010 at 4:30 PM, Shane Hathaway wrote:

> 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

2010-02-25 Thread Shane Hathaway
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

2010-02-25 Thread Rudá Porto Filgueiras
On Wed, Feb 24, 2010 at 12:14 PM, Shane Hathaway wrote:

> 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

2010-02-24 Thread Shane Hathaway
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