I am fixing missing underscore (though I know the command is not
important in this thread)
python manage.py satchmo_check
On 17 dub, 23:20, hynekcer <[email protected]> wrote:
> Please look at satchmo.log or enable it first. Send the report
> byhttp://dpaste.com/ orhttp://pastebin.org/because they are good for
> long code lines.
>
> You send only a secondary or even a tertially report from webserver
> log. (The first was the original error which may or may not be report
> some details. The second was the error, why it was not possible to
> display diagnostic web page, e.g. because database with site
> configuration not found. The third was the exception that only should
> terminate the program finally.)
>
> The second error could be according your tertial report:
> A) missing database or database connection or permissions to db socket
> or to file.
> B) missing table "livesettings_setting" (did you run syncdb yes?)
> C) broken db transaction by a previous failed sql command.
>
> --
> Problem will come usually not only the one currently observed. For the
> future I recommend
> 1) run
> python manage.py satchmocheck
> 2) verify the applicacion by running development server
> python manage.py runserver
> and connect browser e.g. by ssh to port 8000 if it is remote.
> Demo projects created by clonesatchmo.py are very good for testing and
> for start. Then drop the demo database or everything except
> settings.py and other *.py in the project root directory. Current
> configuration files are longer examples in documentatuion.
>
> Skipping any data is not your problem now. The application should not
> raise any errors without data, but for meaningful operation it is
> necessary to add configuration record byhttp://localhost:8000/admin/
> into /admin/sites/site/ and /admin/shop/config/ For shipping or
> translations you should configure some country etc. Look also at
> livesettinghttp://localhost:8000/settings/
>
> --Hynek
>
> On 17 dub, 20:07, Darren Hollenbeck <[email protected]> wrote:
>
>
>
>
>
>
>
> > Per instructions onhttp://www.satchmoproject.com/docs/dev/settings.htmlI
> > got through step 4 on "Test and Install the data" - I did not perform the
> > (optional) steps, since I want no data on a new store site. I get the
> > following uncaught exception from django-livesettings (and results in 500
> > error on browser).
>
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] mod_wsgi
> > (pid=8738): Exception occurred processing WSGI script
> > '/home/docroots/liftoff-express/django/liftoff/apache/django.wsgi'.
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] Traceback (most
> > recent call last):
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 272,
> > in __call__
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] response =
> > self.get_response(request)
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 169,
> > in get_response
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] response =
> > self.handle_uncaught_exception(request, resolver, sys.exc_info())
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 214,
> > in handle_uncaught_exception
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] if
> > resolver.urlconf_module is None:
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/usr/lib/python2.6/site-packages/django/core/urlresolvers.py", line 274,
> > in _get_urlconf_module
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157]
> > self._urlconf_module = import_module(self.urlconf_name)
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/usr/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in
> > import_module
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157]
> > __import__(name)
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/home/docroots/liftoff-express/django/liftoff/urls.py", line 3, in <module>
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] from
> > satchmo_store.urls import urlpatterns
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/usr/lib/python2.6/site-packages/Satchmo-0.9.3-py2.6.egg/satchmo_store/urls/__init__.py",
> > line 28, in <module>
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] from default
> > import urlpatterns as defaultpatterns
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/usr/lib/python2.6/site-packages/Satchmo-0.9.3-py2.6.egg/satchmo_store/urls/default.py",
> > line 9, in <module>
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157]
> > admin.autodiscover()
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/usr/lib/python2.6/site-packages/django/contrib/admin/__init__.py", line
> > 26, in autodiscover
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157]
> > import_module('%s.admin' % app)
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/usr/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in
> > import_module
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157]
> > __import__(name)
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/usr/lib/python2.6/site-packages/Satchmo-0.9.3-py2.6.egg/product/admin.py",
> > line 140, in <module>
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] class
> > CategoryOptions(admin.ModelAdmin):
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/usr/lib/python2.6/site-packages/Satchmo-0.9.3-py2.6.egg/product/admin.py",
> > line 142, in CategoryOptions
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] if
> > config_value('SHOP','SHOW_SITE'):
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/usr/lib/python2.6/site-packages/django_livesettings-1.4_11-py2.6.egg/livesettings/functions.py",
> > line 204, in config_value
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] return
> > config_get(group, key).value
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/usr/lib/python2.6/site-packages/django_livesettings-1.4_11-py2.6.egg/livesettings/values.py",
> > line 371, in value
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] val =
> > self._value()
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] File
> > "/usr/lib/python2.6/site-packages/django_livesettings-1.4_11-py2.6.egg/livesettings/values.py",
> > line 328, in _value
> > [Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] raise
> > SettingNotSet("Startup error, couldn't load %s.%s" %(self.group.key,
> > self.key))
> > *[Tue Apr 17 13:02:10 2012] [error] [client 69.41.94.157] SettingNotSet:
> > ("Startup error, couldn't load SHOP.SHOW_SITE", None)*
--
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.