You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: