Public bug reported:

Binary package hint: python-memcache

Steps to reproduce:

sudo apt-get install python-memcache memcached
sudo sed -i s/no/yes/ /etc/default/memcached
python <<EOF
import memcache
mc = memcache.Client(['127.0.0.1:11211'], debug=0)
EOF

This gives:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "memcache.py", line 3, in <module>
    mc = memcache.Client(['127.0.0.1:11211'], debug=0)
AttributeError: 'module' object has no attribute 'Client'

Checked on karmic and lucid

ProblemType: Bug
Architecture: i386
Date: Tue Jun  1 18:59:12 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: wl
Package: python-memcache 1.40-2ubuntu1
PackageArchitecture: all
ProcEnviron:
 LC_TIME=en_DK.UTF-8
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-21.59-generic
SourcePackage: python-memcache
Uname: Linux 2.6.31-21-generic i686

** Affects: python-memcache (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
AttributeError: 'module' object has no attribute 'Client'
https://bugs.launchpad.net/bugs/588390
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to