
Traceback (most recent call last):


 "/home/User1/env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner

response = get_response(request)


 "/home/User1/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/home/User1/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/home/User1/env/lib/python2.7/site-packages/django/views/decorators/http.py", line 40, in inner

return func(request, *args, **kwargs)


 "/home/User1/env/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view

return view_func(*args, **kwargs)


 "/home/User1/env/lib/python2.7/site-packages/paypal/standard/ipn/views.py", line 104, in ipn

ipn_obj.send_signals()


 "/home/User1/env/lib/python2.7/site-packages/paypal/standard/ipn/models.py", line 39, in send_signals

valid_ipn_received.send(sender=self)


 "/home/User1/env/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 193, in send

for receiver in self._live_receivers(sender)


 "with_subscription/signals.py", line 29, in paypal_subscription_signals

'is_billing_agreement': ipn_obj.is_billing_agreement(),


 "/home/User1/env/lib/python2.7/site-packages/paypal/standard/models.py", line 330, in is_billing_agreement

return len(self.mp_id) > 0

TypeError: object of type 'NoneType' has no len()

Traceback (most recent call last):

 "/Users/.../env/lib/python2.7/site-packages/django/core/management/base.py", line 222, in run_from_argv
self.execute(*args, **options.__dict__)

 "/Users/.../lib/python2.7/site-packages/django/core/management/commands/test.py", line 72, in execute
super(Command, self).execute(*args, **options)

 "/Users/.../lib/python2.7/site-packages/django/core/management/base.py", line 255, in execute
output = self.handle(*args, **options)

 "/Users/.../lib/python2.7/site-packages/south/management/commands/test.py", line 8, in handle
super(Command, self).handle(*args, **kwargs)

 "/Users/.../lib/python2.7/site-packages/django/core/management/commands/test.py", line 89, in handle
failures = test_runner.run_tests(test_labels)

 "/Users/.../project/test_runner.py", line 11, in run_tests
return super(TestRunner, self).run_tests(test_labels, extra_tests, **kwargs)

 "/Users/.../lib/python2.7/site-packages/django/test/simple.py", line 369, in run_tests
suite = self.build_suite(test_labels, extra_tests)

 "/Users/.../lib/python2.7/site-packages/django/test/simple.py", line 260, in build_suite
suite.addTest(build_suite(app))

 "/Users/.../lib/python2.7/site-packages/django/test/simple.py", line 68, in build_suite
test_module = get_tests(app_module)

 "/Users/.../lib/python2.7/site-packages/django/test/simple.py", line 25, in get_tests
test_module = import_module('.'.join(prefix + [TEST_MODULE]))

 "/Users/.../lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)

 "/Users/.../lib/python2.7/site-packages/autocomplete_light/tests/__init__.py", line 4, in <module>
from .registry import RegistryTestCase

 "/Users/.../lib/python2.7/site-packages/autocomplete_light/tests/registry.py", line 21, in <module>
class Generic(autocomplete_light.AutocompleteGenericBase):

 "/Users/.../lib/python2.7/site-packages/autocomplete_light/tests/registry.py", line 23, in Generic
User.objects.all(),

 "/Users/.../lib/python2.7/site-packages/django/db/models/manager.py", line 256, in __get__
self.model._meta.object_name, self.model._meta.swappedAttributeError: Manager isn't available; User has been swapped for 'users.User'