I'm using the trunk (rev 1702, but I believe I have seen this quite a
ways back as well) below are the repro steps, if you have any info
that would be great:

1) I add a product to the store and save it.
2) Select that product from the products list
3) Click "Add ProductVariation" under Product Subtypes


I get:


TemplateSyntaxError at /admin/product/productvariation/add/

Caught an exception while rendering: Reverse for
'my_website.satchmo_admin_configurableproduct' with arguments
'(999999999,)' and keyword arguments '{}' not found.

Original Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/django/template/debug.py",
line 71, in render_node
    result = node.render(context)
  File "/usr/lib/python2.4/site-packages/django/template/
defaulttags.py", line 378, in render
    args=args, kwargs=kwargs)
  File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py",
line 251, in reverse
    return iri_to_uri(u'%s%s' % (prefix, get_resolver(urlconf).reverse
(viewname,
  File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py",
line 240, in reverse
    raise NoReverseMatch("Reverse for '%s' with arguments '%s' and
keyword "
NoReverseMatch: Reverse for
'my_website.satchmo_admin_configurableproduct' with arguments
'(999999999,)' and keyword arguments '{}' not found.

Request Method:         GET
Request URL:    http://www.mywebsite.com/admin/product/productvariation/add/
Exception Type:         TemplateSyntaxError
Exception Value:

Caught an exception while rendering: Reverse for
'my_website.satchmo_admin_configurableproduct' with arguments
'(999999999,)' and keyword arguments '{}' not found.

Original Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/django/template/debug.py",
line 71, in render_node
    result = node.render(context)
  File "/usr/lib/python2.4/site-packages/django/template/
defaulttags.py", line 378, in render
    args=args, kwargs=kwargs)
  File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py",
line 251, in reverse
    return iri_to_uri(u'%s%s' % (prefix, get_resolver(urlconf).reverse
(viewname,
  File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py",
line 240, in reverse
    raise NoReverseMatch("Reverse for '%s' with arguments '%s' and
keyword "
NoReverseMatch: Reverse for
'my_website.satchmo_admin_configurableproduct' with arguments
'(999999999,)' and keyword arguments '{}' not found.

Exception Location:     /usr/lib/python2.4/site-packages/django/template/
debug.py in render_node, line 81
Python Executable:      /usr/bin/python
Python Version:         2.4.3
Python Path:    ['/var/www/vhosts/mywebsite.com/django_projects', '/usr/
lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg', '/usr/lib/
python2.4/site-packages/pycrypto-2.0.1-py2.4-linux-i686.egg', '/usr/
lib/python2.4/site-packages/django_registration-0.7-py2.4.egg', '/usr/
lib/python2.4/site-packages/PyYAML-3.06-py2.4-linux-i686.egg', '/usr/
lib/python2.4/site-packages/elementtree-1.2.7_20070827_preview-
py2.4.egg', '/usr/lib/python2.4/site-packages/docutils-0.5-py2.4.egg',
'/usr/lib/python2.4/site-packages/python_memcached-1.43-py2.4.egg', '/
usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-
linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-
dynload', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-
packages/PIL']
Server time:    Mon, 17 Nov 2008 13:12:29 -0800
Template error

In template /usr/lib/python2.4/site-packages/satchmo/templates/admin/
product/productvariation/change_form.html, error at line 35
Caught an exception while rendering: Reverse for
'my_website.satchmo_admin_configurableproduct' with arguments
'(999999999,)' and keyword arguments '{}' not found.
25      if (opt_tag.value == sel_opt){
26      opt_tag.selected = true;
27      }
28      }
29      }
30      }
31      function getOptions(){
32      parent_tag = $("*#id_parent");
33      parent_id = parent_tag.attr("value");
34      if (parent_id) {
35      var url = "{% url satchmo_admin_configurableproduct 999999999 %}";
36      url = url.replace('/999999999/', '/' + parent_id + '/');
37      //$.get("../../configurableproduct/" + parent_id + "/getoptions/",
setOptions );
38      $.get(url, setOptions );
39      }
40      }
41
42      $(document).ready(function(){
43      parent_tag = $("*#id_parent");
44      parent_tag.change(getOptions);
--~--~---------~--~----~------------~-------~--~----~
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