I updated my trunk (from about a month ago) and when I did that I got
this error from mod_python and when running the tests:

 satchmo.configuration.models.SettingNotSet

Any idea what is going on (looks like it has to do with 'LANGUAGE',
'ALLOW_PRODUCT_TRANSLATIONS')

I noticed this changes set from 2 weeks ago: 
http://www.satchmoproject.com/trac/changeset/1592

Not being familiar enough with the config system, am I missing some
setting?

Here is the error I get back from mod_python:

ServerName:     '127.0.1.1'
DocumentRoot:   '/var/www/'

URI:            '/settings/'
Location:       '/'
Directory:      None
Filename:       '/var/www/settings'
PathInfo:       '/'

Phase:          'PythonHandler'
Handler:        'django.core.handlers.modpython'

Traceback (most recent call last):

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1128, in _execute_target
    result = object(arg)

  File "/usr/lib/python2.5/site-packages/django/core/handlers/
modpython.py", line 222, in handler
    return ModPythonHandler()(req)

  File "/usr/lib/python2.5/site-packages/django/core/handlers/
modpython.py", line 185, in __call__
    self.load_middleware()

  File "/usr/lib/python2.5/site-packages/django/core/handlers/
base.py", line 38, in load_middleware
    mod = __import__(mw_module, {}, {}, [''])

  File "/usr/lib/python2.5/site-packages/satchmo/recentlist/
middleware.py", line 10, in <module>
    kwargs={'product_slug': 'FAKE'})

  File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py",
line 252, in reverse
    *args, **kwargs)))

  File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py",
line 226, in reverse
    possibilities, pattern = self.reverse_dict.get(lookup_view, [(),
()])

  File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py",
line 153, in _get_reverse_dict
    if not self._reverse_dict and hasattr(self.urlconf_module,
'urlpatterns'):

  File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py",
line 197, in _get_urlconf_module
    self._urlconf_module = __import__(self.urlconf_name, {}, {}, [''])

  File "/var/django/django_projects/lyp_website/urls.py", line 17, in
<module>
    admin.autodiscover()

  File "/usr/lib/python2.5/site-packages/django/contrib/admin/
__init__.py", line 40, in autodiscover
    __import__("%s.admin" % app)

  File "/usr/lib/python2.5/site-packages/satchmo/product/admin.py",
line 102, in <module>
    class CategoryOptions(admin.ModelAdmin):

  File "/usr/lib/python2.5/site-packages/satchmo/product/admin.py",
line 107, in CategoryOptions
    if config_value('LANGUAGE', 'ALLOW_PRODUCT_TRANSLATIONS'):

  File "/usr/lib/python2.5/site-packages/satchmo/configuration/
functions.py", line 205, in config_value
    return config_get(group, key).value

  File "/usr/lib/python2.5/site-packages/satchmo/configuration/
values.py", line 323, in value
    val = self._value()

  File "/usr/lib/python2.5/site-packages/satchmo/configuration/
values.py", line 293, in _value
    raise SettingNotSet("Startup error, couldn't load %s.%s" %
(self.group.key, self.key))

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