Basic setup - all I've done is add 10 or so products with the minimum possible information in order to test it.
On Feb 3, 2:54 am, Dan Harris <[email protected]> wrote: > Are you using a basic Satchmo setup, or are you using tiered pricing > and other stuff? > > On Feb 2, 4:15 am, Greg <[email protected]> wrote: > > > Hmmm yes that seems plausible, I'm fairly new to django and very new > > to satchmo so wasn't really sure where to start looking, thanks for > > the tip. > > > Actually I forgot to mention that I've seen a similar error coming > > from product/models.py, on line 1896 (version 0.8.1) - the code is > > > try: > > if not type(val) is Decimal: > > val = Decimal(val) > > return val+delta > > except TypeError: > > return val+delta > > > ... which seems a little odd to say the least, and the error is the > > same TypeError, coming from the final line in that snippet. > > > On Feb 2, 7:40 pm, Dan Harris <[email protected]> wrote: > > > > weird, it seems like it might be a problem where one module is using > > > the build in python Decimal type, and the another is falling back on > > > django.utils._decimal > > > > ran a test as such: > > > > >>> from django.utils._decimal import Decimal as Dec > > > >>> from decimal import Decimal > > > >>> d1 = Dec("1.0") > > > >>> d1 > > > Decimal("1.0") > > > >>> d2 = Decimal("2.0") > > > >>> d1 + d2 > > > > Traceback (most recent call last): > > > File "<stdin>", line 1, in <module> > > > TypeError: unsupported operand type(s) for +: 'Decimal' and 'Decimal' > > > > So that is plausible I guess. It's late, I'll take a peek tomorrow if > > > no one else has by then. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
