The way you installed it is probably okay, but now I have a feeling it
may have been installed all along. Now that it can't find
satchmo_store.shop I'm inclined to think this is a problem having to
do with the way that apache is configured. It seems like you may not
have added your python packages to the sys.path that apache is using.
Have a look at this django.wsgi file of mine:
import os
import sys
import site
site.addsitedir('/usr/local/python-envs/satch/lib/python2.5/site-packages')
os.environ['DJANGO_SETTINGS_MODULE'] = 'passion.settings'
sys.path.append('/usr/local/python-envs/satch/src/passion')
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
---------------- EOF ---------------------
So in my httpd.conf file I have pointed apache (using a
WSGIScriptAlias) to the django.wgi file you see above. The django.wsgi
file adds my site-packages directory as a site dir. The site-packages
directory is where I have a link to the satchmo apps,
django-threaded-mulithost, etc. I also append a directory to my
sys.path because I have some custom django apps that live there.
But then again, now that I think about it further, these steps might
not be necessary for you. I had to do this because I am using
virtualenv to create a 'sandbox' for my django project.
But at any rate, the bottom line is that I am betting you have these
applications installed, but you simply do not have apache configured
quite right and so it can't find those packages.
Hope that helps,
--Stuart
On Fri, Dec 10, 2010 at 5:06 PM, jc <[email protected]> wrote:
> Ugh, I just cd'ed into the directory (it was already on server) and hg
> clone http://bitbucket.org/bkroeze/django-threaded-multihost/ && cd /
> path/to/django-threaded-multihost && python setup.py install. :/ I
> wonder if that'll cause problems "down the road" (the way it was
> installed). Anyway, I ran the app again and it seemed to have gotten
> rid of the error, could be wrong as it now gives me:
> ImproperlyConfigured: Error importing middleware
> satchmo_store.shop.SSLMiddleware: "No module named
> satchmo_store.shop.SSLMiddleware" <-- Is this in anyway connected to
> the django-threaded-multihost module or do you think I might be ok.
> I'll post my other error (and search this group) for a fix of this
> error. :D
>
> thanks again for the help, probably could of solved this without it.
> o/
>
> j.
>
> On Dec 10, 6:02 pm, Stuart Laughlin <[email protected]> wrote:
>> Assuming you followed the Quick Start closely, I think at this point
>> you just need to:
>>
>> pip install -e
>> hg+http://bitbucket.org/bkroeze/django-threaded-multihost/#egg=django-th...
>>
>> Would be comforting if someone else would chime in and endorse this
>> suggestion, but at any rate I think that would work.
>>
>> --Stuart
>>
>>
>>
>>
>>
>>
>>
>> On Fri, Dec 10, 2010 at 4:56 PM, jc <[email protected]> wrote:
>> > I used
>> > this:http://www.satchmoproject.com/docs/dev/quickstart.html#install-satchm...
>> > ...I wonder how I missed it? What are my options now? Will I need to
>> > start all over again? Or can I "hg
>> > clonehttp://bitbucket.org/bkroeze/django-threaded-multihost/"
>> > "cd /path/to/django-threaded-multihost" "python setup.py install". I'm
>> > not sure how I could do that and have it in my current project.
>>
>> > j.
>>
>> > On Dec 10, 5:46 pm, Stuart Laughlin <[email protected]> wrote:
>> >> If you did the quick start
>> >> (http://www.satchmoproject.com/docs/dev/quickstart.html) that should
>> >> have been installed when you pointed pip at the requirements file
>> >> (http://bitbucket.org/chris1610/satchmo/raw/tip/scripts/requirements.txt).
>> >> Otherwise it is step 5 under Installing Dependencies in the
>> >> installation guide
>> >> (http://www.satchmoproject.com/docs/dev/new_installation.html#installi...).
>>
>> >> --Stuart
>>
>> >> On Fri, Dec 10, 2010 at 4:39 PM, jc <[email protected]> wrote:
>> >> > Anyone familiar with this error and what *where* the problem might?
>> >> > I'm getting this in my server logs.
>>
>> >> > thanks,
>> >> > j.
>>
>> >> > --
>> >> > 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
>> >> > athttp://groups.google.com/group/satchmo-users?hl=en.
>>
>> > --
>> > 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
>> > athttp://groups.google.com/group/satchmo-users?hl=en.
>
> --
> 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.
>
>
--
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.