Thank you for the replies.
I tried adding the satchmo app directory directly to the python path
in my httpd.conf file but with no luck.  I'll keep playing with
settings and hopefully I can figure out what is causing this to not
import.

On May 4, 5:02 pm, Laszlo Antal <[email protected]> wrote:
> Hi,
> I got similar errors on webfaction.
> I am using mod_wsgi, I had to add the satchmo app directory ro the
> python path in the projectname.wsgi file. After that everything was
> working fine.
>
> lzantal
>
> On Mon, 4 May 2009 2:07 pm, Chris Moffitt wrote:
> > I would guess it's some sort of path issue with mod_python (I think
> > that's what Webfaction uses).
>
> > -Chris
>
> > On Mon, May 4, 2009 at 3:01 PM, Zene <[email protected]> wrote:
>
> >> I have a custom product implemented as per the documentation at
> >>http://satchmoproject.com/docs/svn/custom-product.html. This works
> >> beautifully locally, and I can see the custom product in the Product
> >> Model Options multi-select in the Site Settings Admin area.
>
> >> However, as soon as I move this to my server (hosted by Webfaction) I
> >> get this error in the log:
> >> configuration WARNING Could not load product module configuration:
> >> product_shipping
>
> >> I have done a syncdb on the server and can see my 'product_shipping'
> >> model available in the admin. I can also add/edit items in this
> >> model, so everything appears to work as it should, it just fails to
> >> add to the Product Model Options.
>
> >> The interesting thing, is when I attempt to import from the shell it
> >> appears to work:
>
> >> [myproj...@web43 myproject]$ python2.5 manage.py shell
> >> Python 2.5.2 (r252:60911, Mar 5 2009, 19:41:25)
> >> [...]
> >>>>>  from satchmo_utils import load_module
> >>>>>  from satchmo_store.shop import get_satchmo_setting
> >>>>>  extra_product = get_satchmo_setting('CUSTOM_PRODUCT_MODULES')
> >>>>>  extra_product
> >> ['product_shipping']
> >>>>>  extra = extra_product[0]
> >>>>>  load_module("%s.config" % extra)
> >> <module 'product_shipping.config' from '/home/myproject/webapps/django/
> >> myproject_svn/myproject/apps/product_shipping/config.pyc'>
>
> >> Has anyone else experienced this problem?
>
> > Laszlo Antal
--~--~---------~--~----~------------~-------~--~----~
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