You have to make sure that you have python-memcached in the same places that
you have your other python/django libraries.

I recommend using something like virtualenv to setup your working
environment and using something called SetupTools (easy_install) to install
the libraries you need.

Other than that, if you are at a command prompt type "python"
when you get the ">>>" then type:
import sys
print sys.path

The information that comes back is your PYTHON_PATH, wherever you have
python-memcached installed, make sure its in one of those directories...

On Mon, Nov 16, 2009 at 8:32 PM, lzantal <[email protected]> wrote:

>
> Hi,
>
> I find the error. python-memcached was not in the python path.
> Thank you for your reply
>
> lzantal
>
> On Nov 16, 10:02 am, Ryan Headley <[email protected]> wrote:
> > I have memcached listed in my settings file as such:
> >
> > CACHE_BACKEND = "memcached://127.0.0.1:11211/"
> >
> > Then I'm able to go into admin, and click on the link (lower right
> > underneath the settings area) and click on Cache Status and verify that
> its
> > running and getting hits.
> >
> > What is it that is giving you an issue?
> >
> >
> >
> > On Mon, Nov 16, 2009 at 11:56 AM, lzantal <[email protected]> wrote:
> >
> > > Hi
> > > On Nov 14, 2009, at 7:59 PM, lifewithryan <[email protected]>
> > > wrote:
> >
> > > > Yes, I've switched to python memcacjed and it's been fine for the
> past
> > > > 24 hours :)
> >
> > > Could you please share your settings?
> > > I have been trying to configure memcache with not much luck
> >
> > > Thank you
> >
> > > lzantal
> > > > Sent from my iPod
> >
> > > > On Nov 14, 2009, at 9:03 PM, Bruce Kroeze <[email protected]> wrote:
> >
> > > >> On Fri, Nov 13, 2009 at 5:14 PM, Ryan Headley
> > > >> <[email protected]> wrote:
> > > >>> I'm noticing that on my live site (using apache/mod_wsgi and
> > > >>> memcached) that
> > > >>> if I click on the "Cache Status" link, that it reports memcached as
> > > >>> being
> > > >>> down, but yet I can ssh into the machine and verify that memcached
> > > >>> is indeed
> > > >>> running.  If I bounce apache, then refresh the Cache Status page,
> > > >>> it shows
> > > >>> running again.
> >
> > > >>> I'm getting numerours logging errors on apache's error.log:
> >
> > > >>> mcm_get_line():1547: memcache(4) protocol error: no \r before \n
> >
> > > >> Try using the pure python memcached library, it works more reliably
> > > >> for me.
> >
> > > >> --
> > > >> Bruce Kroeze
> > > >>http://www.ecomsmith.com
> > > >> It's time to hammer your site into shape.
> >
> > --
> http://www.sudovi.com/http://www.twitter.com/lifewithryanhttp://www.thecommontongue.comhttp://www.lifewithryan.com/
> >
>


-- 
http://www.sudovi.com/
http://www.twitter.com/lifewithryan
http://www.thecommontongue.com
http://www.lifewithryan.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to