It feels like you're trying to do the most complicated setup scenarios.
Mod_python and memcache are fine but I think they are trickier to setup than
say the file cache and fcgi or wsgi. If everything is working on your dev
server, then it's all a mod_python environment issue and I'm just not the
expert on that environment. I personally run fastcgi but hear that wsgi is
as good or better.

-Chris

2009/1/27 Anthony Cintron <[email protected]>

> I'm using memcache...
> In my vhost.conf I've added:
>
> PythonImport /var/django-projects/mysite/cache_file.py store
> SetEnv PYTHON_EGG_CACHE /var/django-projects/store/cache_director
>
> In my local_settings.py I have:
>
> CACHE_BACKEND = "memcached://store.sweetiesandgangsters.net:11211/"
>
>
>
> On Jan 27, 2009, at 8:20 AM, Chris Moffitt wrote:
>
> What cache settings are you using? It looks like your cache isn't working
> properly. This will cause all sorts of problems.
>
> -Chris
>
> 2009/1/26 Anthony Cintron <[email protected]>
>
>>
>> I made some progress on my errors. I ran a python manage.py test and
>> received the following error:
>>
>> http://dpaste.com/hold/113402/
>>
>>
>>
>> On Jan 26, 2009, at 12:36 AM, Garfeild wrote:
>>
>> >
>> > And what about my error?
>> >
>> > On 25 янв, 17:53, Chris Moffitt <[email protected]> wrote:
>> >> It looks like it doesn't like the app_plugins install.
>> >>
>> >> If you run the dev server, does it work properly? Can you import it
>> >> from the
>> >> command line?
>> >>
>> >> Python 2.5.2 (r252:60911, Oct  5 2008, 19:29:17)
>> >> [GCC 4.3.2] on linux2
>> >> Type "help", "copyright", "credits" or "license" for more
>> >> information.
>> >>
>> >>>>> import app_plugins
>> >>
>> >> -Chris
>> >>
>> >> On Sat, Jan 24, 2009 at 8:54 PM, Anthony Cintron
>> >> <[email protected]>wrote:
>> >>
>> >>
>> >>
>> >>> Hi All,
>> >>
>> >>> I am new to Django as well as to Satchmo. I installed Django last
>> >>> week
>> >>> on my dedicated virtual server at Media Temple. After installation
>> >>> of
>> >>> Djanog I followed up with a Satchmo install. My Django install was
>> >>> successful, unfortunately, satchmo, not so much.  I added
>> >>> app_plugins
>> >>> to my symbolic link but still get an error. I also configured my
>> >>> conf
>> >>> file.
>> >>
>> >>> // vhost.conf - CONF SETUP
>> >>> <Location "/">
>> >>>     SetHandler python-program
>> >>>     PythonPath "['/var/django-projects'] + sys.path"
>> >>>     PythonHandler django.core.handlers.modpython
>> >>>     SetEnv DJANGO_SETTINGS_MODULE mystore.settings
>> >>>     SetEnv PYTHON_EGG_CACHE /var/django-projects/mystore/
>> >>> cache_directory
>> >>>     PythonDebug on
>> >>>     PythonInterpreter mystore
>> >>> </Location>
>> >>
>> >>> <Location "/media">
>> >>>     SetHandler None
>> >>> </Location>
>> >>
>> >>> <LocationMatch "\.(jpg|gif|png)$">
>> >>>     SetHandler None
>> >>> </LocationMatch>
>> >>
>> >>> /// ERROR I'M RECEIVING
>> >>
>> >>> Mod_python error: "PythonHandler django.core.handlers.modpython"
>> >>
>> >>> Traceback (most recent call last):
>> >>
>> >>>   File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
>> >>> 299, in HandlerDispatch
>> >>>     result = object(req)
>> >>
>> >>>   File "/usr/lib/python2.4/site-packages/django/core/handlers/
>> >>> modpython.py", line 228, in handler
>> >>>     return ModPythonHandler()(req)
>> >>
>> >>>   File "/usr/lib/python2.4/site-packages/django/core/handlers/
>> >>> modpython.py", line 191, in __call__
>> >>>     self.load_middleware()
>> >>
>> >>>   File "/usr/lib/python2.4/site-packages/django/core/handlers/
>> >>> base.py", line 40, in load_middleware
>> >>>     raise exceptions.ImproperlyConfigured, 'Error importing
>> >>> middleware %s: "%s"' % (mw_module, e)
>> >>
>> >>> ImproperlyConfigured: Error importing middleware
>> >>> satchmo_store.shop.SSLMiddleware: "No module named app_plugins"
>> > >
>>
>>
>>
>>
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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