Thank you Chris.
I'm now having another problem.
I checked the DB and confirmed configurable_configurableproduct table is
missing.
How should I fix this?
Thank you!
Environment:
Request Method: GET
Request URL: http://localhost:8000/product/fruit-crate/
Django Version: 1.2.1
Python Version: 2.6.4
Installed Applications:
['django.contrib.sites',
'satchmo_store.shop',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.comments',
'django.contrib.sessions',
'django.contrib.sitemaps',
'registration',
'sorl.thumbnail',
'keyedcache',
'livesettings',
'l10n',
'satchmo_utils.thumbnail',
'satchmo_store.contact',
'tax',
'tax.modules.no',
'tax.modules.area',
'tax.modules.percent',
'shipping',
'satchmo_store.contact.supplier',
'shipping.modules.tiered',
'shipping.modules.tieredweight',
'satchmo_ext.newsletter',
'satchmo_ext.recentlist',
'product',
'product.modules.configurable',
'product.modules.custom',
'satchmo_ext.product_feeds',
'satchmo_ext.brand',
'payment',
'payment.modules.purchaseorder',
'payment.modules.giftcertificate',
'payment.modules.authorizenet',
'satchmo_ext.satchmo_toolbar',
'satchmo_utils',
'shipping.modules.tieredquantity',
'satchmo_ext.tieredpricing',
'debug_toolbar',
'app_plugins',
'large.localsite',
'django.contrib.flatpages',
'south']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware',
'threaded_multihost.middleware.ThreadLocalMiddleware',
'satchmo_store.shop.SSLMiddleware.SSLRedirect',
'satchmo_ext.recentlist.middleware.RecentProductMiddleware',
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware')
Traceback:
File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py" in
get_response
100. response = callback(request, *callback_args,
**callback_kwargs)
File
"/usr/local/lib/python2.6/dist-packages/Satchmo-0.9_2-py2.6.egg/product/views/__init__.py"
in get_product
125. subtype_names = product.get_subtypes()
File
"/usr/local/lib/python2.6/dist-packages/Satchmo-0.9_2-py2.6.egg/product/models.py"
in get_subtypes
1027. subclass = getattr(self, subtype.lower())
File "/usr/lib/pymodules/python2.6/django/db/models/fields/related.py"
in __get__
226. rel_obj =
self.related.model._base_manager.using(db).get(**params)
File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in get
336. num = len(clone)
File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in __len__
81. self._result_cache = list(self.iterator())
File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in iterator
269. for row in compiler.results_iter():
File "/usr/lib/pymodules/python2.6/django/db/models/sql/compiler.py" in
results_iter
672. for rows in self.execute_sql(MULTI):
File "/usr/lib/pymodules/python2.6/django/db/models/sql/compiler.py" in
execute_sql
727. cursor.execute(sql, params)
File "/usr/lib/pymodules/python2.6/django/db/backends/util.py" in execute
15. return self.cursor.execute(sql, params)
File "/usr/lib/pymodules/python2.6/django/db/backends/mysql/base.py" in
execute
86. return self.cursor.execute(query, args)
File "/usr/lib/pymodules/python2.6/MySQLdb/cursors.py" in execute
166. self.errorhandler(self, exc, value)
File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py" in
defaulterrorhandler
35. raise errorclass, errorvalue
Exception Type: DatabaseError at /product/fruit-crate/
Exception Value: (1146, "Table
'my_store.configurable_configurableproduct' doesn't exist")
Chris Moffitt wrote:
You need to add the various product modules to your settings. Here's
what I have in my test env:
'product',
'product.modules.configurable',
'product.modules.custom',
'product.modules.downloadable',
'product.modules.subscription',
-Chris
--
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.