Your cache settings should be in your local_settings.py file. Your DB_ENGINE variable doesn't have to be the full dotted path. sqlite3 should be sufficient
I doubt this is the problem but I thought I'd mention it. Also, please use dpaste.com (or something similar) to post links to your full config files. Thanks, Chris On Wed, Apr 7, 2010 at 11:20 AM, Ricko <[email protected]> wrote: > Hi Chris, > > I'm not sure about the cache backend, where do I look? > > My DB is sqlite3. > > I can't see any livesettings config settings in my settings.py file. > Should they be there, is that the problem?Here is my settings.py file: > > import os > > DIRNAME = os.path.abspath(os.path.dirname(__file__)) > LOCAL_DEV = True > > MEDIA_ROOT = '/Users/ricko/Documents/Django Projects/Consortium/DEV/ > www/artvswall/static' > MEDIA_URL = 'http://artvswall.com/static/' > > > AUTHENTICATION_BACKENDS = ( > 'satchmo_store.accounts.email-auth.EmailBackend', > 'django.contrib.auth.backends.ModelBackend' > ) > > #### Satchmo unique variables #### > from django.conf.urls.defaults import patterns, include > SATCHMO_SETTINGS = { > 'SHOP_BASE' : '/store', > 'MULTISHOP' : False, > 'SHOP_URLS' : > patterns('satchmo_store.shop.views',) > } > > # Load the local settings > from local_settings import * > > > DEBUG = True > TEMPLATE_DEBUG = DEBUG > > ADMINS = ( > # ('Your Name', '[email protected]'), > ) > > MANAGERS = ADMINS > > DATABASE_ENGINE = 'django.db.backends.sqlite3' > DATABASE_NAME = 'artvswall.sqlite3' > DATABASE_USER = '' > DATABASE_PASSWORD = '' > DATABASE_HOST = '' > DATABASE_PORT = '' > > # Local time zone for this installation. Choices can be found here: > # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name > # although not all choices may be available on all operating systems. > # If running in a Windows environment this must be set to the same as > your > # system time zone. > TIME_ZONE = 'America/Chicago' > > # Language code for this installation. All choices can be found here: > # http://www.i18nguy.com/unicode/language-identifiers.html > LANGUAGE_CODE = 'en-us' > > SITE_ID = 1 > > # If you set this to False, Django will make some optimizations so as > not > # to load the internationalization machinery. > USE_I18N = False > > > # URL prefix for admin media -- CSS, JavaScript and images. Make sure > to use a > # trailing slash. > # Examples: "http://foo.com/media/", "/media/". > ADMIN_MEDIA_PREFIX = '/media/' > > # List of callables that know how to import templates from various > sources. > TEMPLATE_LOADERS = ( > 'django.template.loaders.filesystem.load_template_source', > 'django.template.loaders.app_directories.load_template_source', > # 'django.template.loaders.eggs.load_template_source', > ) > > > MIDDLEWARE_CLASSES = ( > "django.middleware.common.CommonMiddleware", > "django.contrib.sessions.middleware.SessionMiddleware", > "django.middleware.locale.LocaleMiddleware", > "django.contrib.auth.middleware.AuthenticationMiddleware", > "django.contrib.flatpages.middleware.FlatpageFallbackMiddleware", > "django.middleware.doc.XViewMiddleware", > "threaded_multihost.middleware.ThreadLocalMiddleware", > "satchmo_store.shop.SSLMiddleware.SSLRedirect") > > ROOT_URLCONF = 'artvswall.urls' > > TEMPLATE_DIRS = (os.path.join(DIRNAME, "templates")) > > TEMPLATE_CONTEXT_PROCESSORS = > ('satchmo_store.shop.context_processors.settings', > 'django.core.context_processors.auth', > 'django.core.context_processors.i18n', > ) > > > INSTALLED_APPS = ( > 'django.contrib.sites', > 'satchmo_store.shop', > 'django.contrib.admin', > 'django.contrib.auth', > 'django.contrib.admindocs', > 'django.contrib.contenttypes', > 'django.contrib.comments', > 'django.contrib.sessions', > 'django.contrib.sitemaps', > 'django.contrib.flatpages', > 'registration', > 'keyedcache', > 'livesettings', > 'l10n', > 'sorl.thumbnail', > 'satchmo_store.contact', > 'tax', > 'tax.modules.no', > 'tax.modules.area', > 'tax.modules.percent', > 'shipping', > 'product', > 'payment', > 'payment.modules.giftcertificate', > 'satchmo_utils', > 'app_plugins', > 'artvswall.website', > ) > > > On Apr 7, 6:21 am, Chris Moffitt <[email protected]> wrote: > > What cache backend and db are you using? > > > > For some reason, livesettings isn't picking up the config values. > Sometimes > > a db or cache misconfiguration can cause oddities. > > > > -Chris > > > > On Tue, Apr 6, 2010 at 11:06 PM, Ricko <[email protected]> wrote: > > > OK, I ran a syncdb and it gives me the following: > > > > > Not synced (use migrations): > > > - product > > > (use ./manage.py migrate to migrate these) > > > > > Don't know what to do with this statement. Also, in the log file after > > > I try to go to the URLhttp://127.0.0.1:8000/ > > > > > Tue, 06 Apr 2010 21:05:29 payment.urls DEBUG Found payment > > > processor: DUMMY, adding urls at ^dummy/ > > > Tue, 06 Apr 2010 21:05:29 payment.urls DEBUG Found payment > > > processor: PAYPAL, adding urls at ^paypal/ > > > Tue, 06 Apr 2010 21:05:29 configuration DEBUG SettingNotSet: > > > PRODUCT.NUM_DISPLAY > > > > > Does this help? > > > > > Rick > > > > > On Apr 6, 8:44 pm, Ricko <[email protected]> wrote: > > > > Hi Chris, > > > > > > Tried running the clonesatchmo script, exactly the same error as > > > > above. I also have a known working Satchmo store from a friend, and I > > > > get the same error again, it's systematic. > > > > I checked my site-packages dir, and I have both plugins installed, or > > > > they are in that Dir. > > > > > > In any case, there is something wrong with the live settings I'm > > > > guessing? > > > > > > Rick > > > > > > On Apr 6, 7:40 pm, Chris Moffitt <[email protected]> wrote: > > > > > > > Sorry to hear it's been such a difficult install for you. > > > > > > > Instead of going into simple or skeleton, try using the > clonesatchmo.py > > > > > script to create your store.. > > > > > > > python clonesatchmo.py --skel=/path/to/skeleton > > > > > > > Also, double check and make sure you have django_livesettings and > > > > > django_keyedcache installed. > > >http://www.bitbucket.org/bkroeze/django-keyedcache/overview/http://ww. > .. > > > > > > > -Chris > > > > > > > On Tue, Apr 6, 2010 at 9:14 PM, Ricko <[email protected]> > wrote: > > > > > > Hi All, > > > > > > > > After my abortive attempt to get Satchmo to work before, I > abandoned > > > > > > that build and downloaded the latest build from Mercurial. I have > > > > > > installed every dependency from the installation guide, including > > > ones > > > > > > that aren't required. > > > > > > > > From reading the installation, I am under the impression that > after > > > > > > doing everything required, I should be able to go the example > stores > > > > > > in the Satchmo dir, such as 'Skeleton' and 'Simple' and just > python > > > > > > manage.py runserver, and it should all work, to play around with. > > > > > > > > I try this on the 'Simple' Dir, and this is the stack I get: > > > > > > > > Environment: > > > > > > > > Request Method: GET > > > > > > Request URL:http://127.0.0.1:8000/ > > > > > > Django Version: 1.1.1 > > > > > > Python Version: 2.5.1 > > > > > > 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', > > > > > > 'south', > > > > > > 'keyedcache', > > > > > > 'livesettings', > > > > > > 'l10n', > > > > > > 'satchmo_utils.thumbnail', > > > > > > 'satchmo_store.contact', > > > > > > 'tax', > > > > > > 'tax.modules.no', > > > > > > 'tax.modules.area', > > > > > > 'tax.modules.percent', > > > > > > 'shipping', > > > > > > 'product', > > > > > > 'payment', > > > > > > 'payment.modules.dummy', > > > > > > 'payment.modules.paypal', > > > > > > 'satchmo_ext.satchmo_toolbar', > > > > > > 'satchmo_utils', > > > > > > 'app_plugins', > > > > > > 'simple.localsite'] > > > > > > 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') > > > > > > > > Traceback: > > > > > > File > "/Library/Python/2.5/site-packages/django/core/handlers/base.py" > > > > > > in get_response > > > > > > 92. response = callback(request, *callback_args, > > > > > > **callback_kwargs) > > > > > > File "/Library/Python/2.5/site-packages/Satchmo-0.9_1-py2.5.egg/ > > > > > > satchmo_store/shop/views/home.py" in home > > > > > > 17. featured = display_featured() > > > > > > File "/Library/Python/2.5/site-packages/Satchmo-0.9_1-py2.5.egg/ > > > > > > product/views/__init__.py" in display_featured > > > > > > 87. num_to_display = > config_value('PRODUCT','NUM_DISPLAY') > > > > > > File > "/Library/Python/2.5/site-packages/django_livesettings-1.4_3- > > > > > > py2.5.egg/livesettings/functions.py" in config_value > > > > > > 204. return config_get(group, key).value > > > > > > File > "/Library/Python/2.5/site-packages/django_livesettings-1.4_3- > > > > > > py2.5.egg/livesettings/functions.py" in config_get > > > > > > 149. return ConfigurationSettings().get_config(group, > key) > > > > > > File > "/Library/Python/2.5/site-packages/django_livesettings-1.4_3- > > > > > > py2.5.egg/livesettings/functions.py" in get_config > > > > > > 66. raise SettingNotSet('%s config group > does > > > > > > not exist' % group) > > > > > > > > Exception Type: SettingNotSet at / > > > > > > Exception Value: > > > > > > > > Something seems to be wrong with the 'LIvesettings' plugin. Can > > > anyone > > > > > > help? > > > > > > > > I would love to get Satchmo running, but it is proving incredibly > > > > > > difficult, just seems to be one issue after another. > > > > > > > > Cheers > > > > > > Rick > > > > > > > > -- > > > > > > 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]<satchmo-users%[email protected]> > <satchmo-users%[email protected]<satchmo-users%[email protected]> > > > > > <satchmo-users%[email protected]<satchmo-users%[email protected]> > <satchmo-users%[email protected]<satchmo-users%[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]<satchmo-users%[email protected]> > <satchmo-users%[email protected]<satchmo-users%[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]<satchmo-users%[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.
