Hi,
I'm struggling to get Satchmo installed on my OSX box. Perhaps I
misread the installation instructions, but it seems to say that i can
run the simple store project by running the webserver from that
directory. I *can* run the server, but I get the following errors when
I try to access "/" or any other valid page:
~~~~~~~~~~~~~~~~~~~~~~~~~
TemplateSyntaxError at /
Caught an exception while rendering: need more than 1 value to unpack
Original Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/django/template/debug.py",
line 71, in render_node
result = node.render(context)
File "/Library/Python/2.5/site-packages/django/template/
__init__.py", line 936, in render
dict = func(*args)
File "/Library/Python/2.5/site-packages/Satchmo-0.9_pre-py2.5.egg/
satchmo_store/shop/templatetags/satchmo_util.py", line 207, in
satchmo_search_form
url = urlresolvers.reverse('satchmo_search')
File "/Library/Python/2.5/site-packages/django/core/
urlresolvers.py", line 350, in reverse
*args, **kwargs)))
File "/Library/Python/2.5/site-packages/django/core/
urlresolvers.py", line 275, in reverse
possibilities = self.reverse_dict.getlist(lookup_view)
File "/Library/Python/2.5/site-packages/django/core/
urlresolvers.py", line 195, in _get_reverse_dict
self._populate()
File "/Library/Python/2.5/site-packages/django/core/
urlresolvers.py", line 175, in _populate
for name in pattern.reverse_dict:
File "/Library/Python/2.5/site-packages/django/core/
urlresolvers.py", line 195, in _get_reverse_dict
self._populate()
File "/Library/Python/2.5/site-packages/django/core/
urlresolvers.py", line 164, in _populate
for pattern in reversed(self.url_patterns):
File "/Library/Python/2.5/site-packages/django/core/
urlresolvers.py", line 245, in _get_url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns",
self.urlconf_module)
File "/Library/Python/2.5/site-packages/django/core/
urlresolvers.py", line 240, in _get_urlconf_module
self._urlconf_module = import_module(self.urlconf_name)
File "/Library/Python/2.5/site-packages/django/utils/importlib.py",
line 35, in import_module
__import__(name)
File "/Library/Python/2.5/site-packages/Satchmo-0.9_pre-py2.5.egg/
payment/urls.py", line 30, in <module>
urlpatterns += make_urlpatterns()
File "/Library/Python/2.5/site-packages/Satchmo-0.9_pre-py2.5.egg/
payment/urls.py", line 27, in make_urlpatterns
patterns.append(url(config_value(key, 'URL_BASE'), [urlmodule]))
File "/Library/Python/2.5/site-packages/django/conf/urls/
defaults.py", line 33, in url
urlconf_module, app_name, namespace = view
ValueError: need more than 1 value to unpack
~~~~~~~~~~~~~~~~~~~~~~~~~
I see that there was a logged issue about this (http://bitbucket.org/
chris1610/satchmo/issue/844/valueerror-need-more-than-1-value-to-
unpack-on-django-trunk-rev11250-and) that was set to "resolved", and
the related discussion:
http://groups.google.com/group/satchmo-users/browse_thread/thread/4d49ac0e41092e34
I tried the changes suggested in these threads, but to no effect.
I'm running Leopard, and:
Python 2.5.1 (r251:54863, Feb 6 2009, 19:02:12)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
>>> import django
>>> django.VERSION
(1, 1, 1, 'final', 0)
>>> import satchmo_store
>>> satchmo_store.VERSION
(0, 9, 'pre')
>>>
thanks,
--derek
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---