On Oct 27, 12:30 pm, Steve Jalim <
steveja...@gmail.com> wrote:
> Hi Tom
> What was your snag with WPP? I've had no problems with it so far -- which
> makes me want to check I've not got something painful waiting for me behind
> a tree, etc
Well, I wasn't exactly thorough in my testing, but I hit this
traceback:
===========================================================
Traceback:
File "/Users/tvon/Development/earthtreasures/vendor/django/core/
handlers/base.py" in get_response
92. response = callback(request, *callback_args,
**callback_kwargs)
File "/Users/tvon/Development/earthtreasures/apps/etj/orders/views.py"
in buy
88. return ppp(request)
File "/Users/tvon/Development/earthtreasures/vendor/paypal/pro/
views.py" in __call__
108. return self.validate_payment_form()
File "/Users/tvon/Development/earthtreasures/vendor/paypal/pro/
views.py" in validate_payment_form
139. if form.is_valid():
File "/Users/tvon/Development/earthtreasures/vendor/django/forms/
forms.py" in is_valid
120. return self.is_bound and not bool(self.errors)
File "/Users/tvon/Development/earthtreasures/vendor/django/forms/
forms.py" in _get_errors
111. self.full_clean()
File "/Users/tvon/Development/earthtreasures/vendor/django/forms/
forms.py" in full_clean
240. value = field.clean(value)
File "/Users/tvon/Development/earthtreasures/vendor/paypal/pro/
fields.py" in clean
21. self.card_type = verify_credit_card(value)
File "/Users/tvon/Development/earthtreasures/vendor/paypal/pro/
creditcard.py" in verify_credit_card
30. return CreditCard(number).verify()
File "/Users/tvon/Development/earthtreasures/vendor/paypal/pro/
creditcard.py" in verify
64. if self.is_number() and not self.is_test() and
self.is_mod10():
File "/Users/tvon/Development/earthtreasures/vendor/paypal/pro/
creditcard.py" in is_number
38. self.number = re.sub(r'[^\d]', '', self.number)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/re.py" in sub
150. return _compile(pattern, 0).sub(repl, string, count)
Exception Type: TypeError at /shop/cart/order/buy/
Exception Value: expected string or buffer
===========================================================
On a whim I updated to another github fork and it got past this error,
so I started wondering what the most official and/or current and/or
working branch was...
I could certainly just be doing something wrong though.
-Tom