>>> satchmo_store.get_version()
'0.9-pre hg-unknown'

On Sep 9, 9:42 am, Chris Moffitt <[email protected]> wrote:
> What version of Satchmo are you using? Also, please 
> usehttp://dpaste.com/inthe future to post tracebacks.
>
> -Chris
>
> On Wed, Sep 9, 2009 at 11:32 AM, neridaj <[email protected]> wrote:
>
> > I'm using the layout suggested at:
> >http://gosatchmo.com/starting-a-new-store-real-world-project-layout
> > -- and I'm getting this error: Error was: 'module' object has no
> > attribute 'contact' -- It seems to happen with some of the
> > templatetags i.e., {% satchmo_search_form %}, {% url
> > satchmo_product_recently_added as recenturl %}, etc. If I comment
> > those tags the template is rendered. Thanks for any help.
>
> > Environment:
>
> > Request Method: GET
> > Request URL:http://localhost:8000/
> > Django Version: 1.2 pre-alpha SVN-11474
> > Python Version: 2.6.2
> > Installed Applications:
> > ['satchmo_store.shop',
> >  'django.contrib.admin',
> >  'django.contrib.admindocs',
> >  'django.contrib.auth',
> >  'django.contrib.contenttypes',
> >  'django.contrib.comments',
> >  'django.contrib.sessions',
> >  'django.contrib.sitemaps',
> >  'django.contrib.sites',
> >  'registration',
> >  'sorl.thumbnail',
> >  'satchmo',
> >  'keyedcache',
> >  'livesettings',
> >  'satchmo_store.contact',
> >  'product',
> >  'shipping',
> >  'payment',
> >  'payment.modules.giftcertificate',
> >  'satchmo_store.contact.supplier',
> >  'satchmo_utils',
> >  'satchmo_utils.thumbnail',
> >  'l10n',
> >  'tax',
> >  'satchmo_ext.wishlist',
> >  'satchmo_ext.upsell',
> >  'satchmo_ext.productratings',
> >  'app_plugins',
> >  'mysite.site']
> > 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')
>
> > Template error:
> > In template /Library/Frameworks/Python.framework/Versions/2.6/lib/
> > python2.6/site-packages/satchmo_store/shop/templates/base.html, error
> > at line 28
> >   Caught an exception while rendering: Tried contact in module
> > mysite.site.views. Error was: 'module' object has no attribute
> > 'contact'
> >   18 :
>
> >   19 :             <div id="navbar">
>
> >   20 :             <ul>
>
> >   21 :                 {% block navbar %}Breadcrumbs here{% endblock %}
>
> >   22 :                 </ul>
>
> >   23 :     </div>
>
> >   24 :
>
> >   25 :     <div id="sidebar-secondary">
>
> >   26 :                 {% block sidebar-secondary %}
>
> >   27 :                 <div>
>
> >   28 :                          {% satchmo_search_form %}
>
> >   29 :                 </div>
>
> >   30 :                 <div>
>
> >   31 :                         {% block sidebar %}
>
> >   32 :                         <h3>{% trans "Shop Categories" %}</h3>
>
> >   33 :                         {% block sidebar-categories %}
>
> >   34 :                         <div id="menu_container">
>
> >   35 :                 {% if category.id %}
>
> >   36 :                     {% category_tree category.id %}
>
> >   37 :                 {% else %}
>
> >   38 :                     {% if product.get_category %}
>
> > Traceback:
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/core/handlers/base.py" in get_response
> >  92.                 response = callback(request, *callback_args,
> > **callback_kwargs)
> > File "/Users/jasonnerida/django-projects/mysite/../mysite/site/
> > views.py" in home
> >  41.     return render_to_response(template, ctx)
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/shortcuts/__init__.py" in render_to_response
> >  20.     return HttpResponse(loader.render_to_string(*args,
> > **kwargs), **httpresponse_kwargs)
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/loader.py" in render_to_string
> >  108.     return t.render(context_instance)
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/__init__.py" in render
> >  178.         return self.nodelist.render(context)
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/__init__.py" in render
> >  779.                 bits.append(self.render_node(node, context))
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/debug.py" in render_node
> >  71.             result = node.render(context)
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/loader_tags.py" in render
> >  97.         return compiled_parent.render(context)
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/__init__.py" in render
> >  178.         return self.nodelist.render(context)
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/__init__.py" in render
> >  779.                 bits.append(self.render_node(node, context))
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/debug.py" in render_node
> >  71.             result = node.render(context)
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/loader_tags.py" in render
> >  97.         return compiled_parent.render(context)
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/__init__.py" in render
> >  178.         return self.nodelist.render(context)
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/__init__.py" in render
> >  779.                 bits.append(self.render_node(node, context))
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/debug.py" in render_node
> >  71.             result = node.render(context)
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/loader_tags.py" in render
> >  24.         result = self.nodelist.render(context)
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/__init__.py" in render
> >  779.                 bits.append(self.render_node(node, context))
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/debug.py" in render_node
> >  71.             result = node.render(context)
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/loader_tags.py" in render
> >  24.         result = self.nodelist.render(context)
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/__init__.py" in render
> >  779.                 bits.append(self.render_node(node, context))
> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > site-packages/django/template/debug.py" in render_node
> >  81.             raise wrapped
>
> > Exception Type: TemplateSyntaxError at /
> > Exception Value: Caught an exception while rendering: Tried contact in
> > module mysite.site.views. Error was: 'module' object has no attribute
> > 'contact'
--~--~---------~--~----~------------~-------~--~----~
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