Open owensk opened 10 years ago
On a fresh install of Ubuntu 12.04 LTS, perform the following steps.
In Shell: apt-get install python-pip memcached python-dev libmemcached-dev pip install pylibmc
In Python 2,7,3: import pylibmc mc = pylibmc.Client(["127.0.0.1:11211"]) mc.set("test", 3, -1)
Exception raised from pylibmc: Traceback (most recent call last): File "", line 1, in _pylibmc.ClientError: error 9 from memcached_set: CLIENT ERROR
In Memcached Log: set test 2 18446744073709551615 1
Expected in Memcached Log: set test 2 -1 1
Note: In order to see the observed and expected values in the memcached log, I had to uncomment the "-vv" line in /etc/memcached.conf to enable verbose logging.
Thank you for reporting this, @owensk!
On a fresh install of Ubuntu 12.04 LTS, perform the following steps.
In Shell: apt-get install python-pip memcached python-dev libmemcached-dev pip install pylibmc
In Python 2,7,3: import pylibmc mc = pylibmc.Client(["127.0.0.1:11211"]) mc.set("test", 3, -1)
Results:
Exception raised from pylibmc: Traceback (most recent call last): File "", line 1, in
_pylibmc.ClientError: error 9 from memcached_set: CLIENT ERROR
In Memcached Log: set test 2 18446744073709551615 1
Expected in Memcached Log: set test 2 -1 1