I agree...thanks very much for the fix - it worked for me as well.
However, I immediately encountered another problem. As has become my
practice when creating a new project, I tend to do a
satchmo_load_store before I load any of my own data just to make sure
everything is working correctly first. I'm getting a
RoundedDecimalError - Partial Unit Rounding Error, like so:

Traceback:
File "/Library/Python/2.5/site-packages/django/core/handlers/base.py"
in get_response
  86.                 response = callback(request, *callback_args,
**callback_kwargs)
File "/usr/local/satchmo/satchmo09svn/satchmo/apps/product/views/
__init__.py" in get_product
  146.         default_view_tax=default_view_tax)
File "/usr/local/satchmo/satchmo09svn/satchmo/apps/product/models.py"
in add_template_context
  1098.                 context = subtype.add_template_context
(context, *args, **kwargs)
File "/usr/local/satchmo/satchmo09svn/satchmo/apps/product/models.py"
in add_template_context
  1443.             request.user)
File "/usr/local/satchmo/satchmo09svn/satchmo/apps/product/utils.py"
in productvariation_details
  117.         detail['PRICE'][qtykey] = moneyfmt(price, curr=curr)
File "/usr/local/satchmo/satchmo09svn/satchmo/apps/l10n/utils.py" in
moneyfmt
  137.     val = trunc_decimal(val, places)
File "/usr/local/satchmo/satchmo09svn/satchmo/apps/satchmo_utils/
numbers.py" in trunc_decimal
  128.     return round_decimal(val=val, places=places,
roundfactor='0.01', normalize=True)
File "/usr/local/satchmo/satchmo09svn/satchmo/apps/satchmo_utils/
numbers.py" in round_decimal
  96.         raise RoundedDecimalError(val=places, id=4, msg='places
Exceeds Decimal Context Precision')

Exception Type: RoundedDecimalError at /store/product/neat-book/
Exception Value: RoundedDecimalError - Partial Unit Rounding Error
Exception Occured

This error occurs on the "Really Neat Book", the "Django Rocks Shirt",
and the "Robots Attack" Book (ie. everything with a variation) product
pages. Interestingly, the Python Rocks shirt product page is viewable,
but the product price is 100 times too high...ie. it's supposed to
sell for $19.50 (which is what is shown in the admin), but on the
product page it's shown as $1950.00 (that's some shirt...)

Also, totally separate issue: the base project settings file shows
"satchmo" as one of the installed apps...not "satchmo_store", but just
"satchmo" (line 108 of the settings.py in the base project file). My
install wouldn't work at all until I changed that to
"satchmo_store"...I'm guessing it's a accidental holdover from before
the reorganization...?

Thanks for everything,
bkev
--~--~---------~--~----~------------~-------~--~----~
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