[Bug 1311433] [NEW] REGRESSION: AttributeError: 'functools.partial' object has no attribute '__module__'
Julian Edwards
1311433 at bugs.launchpad.net
Wed Apr 23 02:41:01 UTC 2014
Public bug reported:
This seems to be a regression introduced in the latest security update
which is causing the error
AttributeError: 'functools.partial' object has no attribute
'__module__'
in the MAAS test suite.
Full stack trace:
_StringException: Traceback (most recent call last):
File "/home/ed/canonical/maas/trunk/src/maasserver/tests/test_api.py", line 477, in test_internal_error_generates_proper_api_response
response = self.client.post(reverse('nodes_handler'), {'op': 'new'})
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 528, in reverse
return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 399, in _reverse_with_prefix
self._populate()
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 286, in _populate
for name in pattern.reverse_dict:
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 311, in reverse_dict
self._populate()
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 286, in _populate
for name in pattern.reverse_dict:
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 311, in reverse_dict
self._populate()
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 272, in _populate
lookup_str = callback.__module__ + "." + callback.__class__.__name__
AttributeError: 'functools.partial' object has no attribute '__module__'
** Affects: python-django (Ubuntu)
Importance: Undecided
Status: Confirmed
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-django in Ubuntu.
https://bugs.launchpad.net/bugs/1311433
Title:
REGRESSION: AttributeError: 'functools.partial' object has no
attribute '__module__'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-django/+bug/1311433/+subscriptions
More information about the Ubuntu-server-bugs
mailing list