The more I look at this the more I'm convinced this is going to be a
"kick myself" type error when someone points out just what I did
wrong, but I'm going crazy now so...

Yesterday I installed Satchmo tip and set about trying to build a
store.  I've stuck on 0.9.1 for a while so a few changes but I found
my way around.

Then I tried added product variations and it all went horribly wrong.

I made my three option groups and my product, then I tried creating my
first product variation to be greeted with the same error displayed
in: 
https://bitbucket.org/chris1610/satchmo/issue/1318/cant-add-more-than-one-product-variation#comment-531527
(I note that Anonymous there and myself are both using PostgreSQL)

Although I think our error is slightly different I went through that
and decided to randomly try the checkbox and create all product
variations, which surprisingly worked fine.  Not ideal since some
combinations are daft, but enough to get me one step further. And then
I hit this problem...

If I load a page for a plain product it loads fine.  If I load one for
a product with variations I get the following traceback:

Environment:


Request Method: GET
Request URL: http://love2tees.me/product/white-and-nerdy/

Django Version: 1.3.1
Python Version: 2.7.2
Installed Applications:
['django.contrib.sites',
 'django.contrib.messages',
 'satchmo_store.shop',
 'django.contrib.auth',
 'django.contrib.staticfiles',
 'django.contrib.admin',
 'django.contrib.admindocs',
 'django.contrib.contenttypes',
 'django.contrib.comments',
 'django.contrib.sessions',
 'django.contrib.sitemaps',
 'django_extensions',
 'registration',
 'keyedcache',
 'livesettings',
 'l10n',
 'sorl.thumbnail',
 'satchmo_store.contact',
 'tax',
 'tax.modules.no',
 'tax.modules.area',
 'tax.modules.percent',
 'shipping',
 'product',
 'product.modules.configurable',
 'payment',
 'payment.modules.dummy',
 'payment.modules.giftcertificate',
 'satchmo_utils',
 'app_plugins']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'threaded_multihost.middleware.ThreadLocalMiddleware',
 'satchmo_store.shop.SSLMiddleware.SSLRedirect')


Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/
base.py" in get_response
  111.                         response = callback(request,
*callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/site-packages/Satchmo-0.9.2-py2.7.egg/
product/views/__init__.py" in get_product
  159.     template = find_product_template(product,
producttypes=subtype_names)
File "/usr/local/lib/python2.7/site-packages/Satchmo-0.9.2-py2.7.egg/
product/views/__init__.py" in find_product_template
  32.     return select_template(templates)
File "/usr/local/lib/python2.7/site-packages/django/template/
loader.py" in select_template
  197.             return get_template(template_name)
File "/usr/local/lib/python2.7/site-packages/django/template/
loader.py" in get_template
  157.     template, origin = find_template(template_name)
File "/usr/local/lib/python2.7/site-packages/django/template/
loader.py" in find_template
  134.             source, display_name = loader(name, dirs)
File "/usr/local/lib/python2.7/site-packages/django/template/
loader.py" in __call__
  42.         return self.load_template(template_name, template_dirs)
File "/usr/local/lib/python2.7/site-packages/django/template/
loader.py" in load_template
  48.             template = get_template_from_string(source, origin,
template_name)
File "/usr/local/lib/python2.7/site-packages/django/template/
loader.py" in get_template_from_string
  168.     return Template(source, origin, name)
File "/usr/local/lib/python2.7/site-packages/django/template/base.py"
in __init__
  108.         self.nodelist = compile_string(template_string, origin)
File "/usr/local/lib/python2.7/site-packages/django/template/base.py"
in compile_string
  136.     return parser.parse()
File "/usr/local/lib/python2.7/site-packages/django/template/base.py"
in parse
  239.                     compiled_result = compile_func(self, token)
File "/usr/local/lib/python2.7/site-packages/django/template/
loader_tags.py" in do_extends
  214.     nodelist = parser.parse()
File "/usr/local/lib/python2.7/site-packages/django/template/base.py"
in parse
  239.                     compiled_result = compile_func(self, token)
File "/usr/local/lib/python2.7/site-packages/django/template/
defaulttags.py" in load
  1050.                 lib = get_library(taglib)
File "/usr/local/lib/python2.7/site-packages/django/template/base.py"
in get_library
  1007.             lib = import_library(taglib_module)
File "/usr/local/lib/python2.7/site-packages/django/template/base.py"
in import_library
  952.     app_module = import_module(app_path)
File "/usr/local/lib/python2.7/site-packages/django/utils/
importlib.py" in import_module
  35.     __import__(name)

Exception Type: ImportError at /product/white-and-nerdy/
Exception Value: No module named satchmo_utils


satchmo_utils imports fine in the shell, and although I've not checked
it's usage I haven't had the error appear on any other page at all.

Any tips/pointers/guiding hands most appreciated.

Cheers,
Kevin

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