If it works from the command line but not in mod-python then I expect it has to do with the environment that mod-python is running in.
Does it work just from the dev server? -Chris On Sun, Jan 25, 2009 at 8:59 AM, Anthony Cintron <[email protected]>wrote: > Ah, yes, I forgot to mention. I did do exactly that. It looked fine. Shall > re-install app_plugins? > > Anthony CintronInteractive Developer > ------------------------------------------- > Email: <[email protected]>[email protected] > Web: sweetiesandgangsters.net > Blog: codegasm.blogspot.com > > On Jan 25, 2009, at 9:53 AM, 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]> > [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 -~----------~----~----~----~------~----~------~--~---
