#13111: 1.1.X: decorators broken by r12763
---------------------------+------------------------------------------------
 Reporter:  kmtracey       |       Owner:  nobody    
   Status:  new            |   Milestone:  1.2       
Component:  Uncategorized  |     Version:  SVN       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 Since r12763 we're getting about 100 test errors on the 1.1.X branch, all
 (I'm guessing, I did not actually look at them all) like this:

 {{{
 ======================================================================
 ERROR: test_callable_process_view_middleware
 (regressiontests.utils.decorators.DecoratorFromMiddlewareTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/buildbot/slave-
 
py2.4/parts/ubuntu9.10-py2.4-sqlite/django-1.1.X_ubuntu9.10-py2.4-sqlite/build/tests/regressiontests/utils/decorators.py",
 line 19, in test_callable_process_view_middleware
     self.client.get('/utils/class_xview/')
   File "/home/buildbot/slave-
 
py2.4/parts/ubuntu9.10-py2.4-sqlite/django-1.1.X_ubuntu9.10-py2.4-sqlite/build/django/test/client.py",
 line 281, in get
     response = self.request(**r)
   File "/home/buildbot/slave-
 
py2.4/parts/ubuntu9.10-py2.4-sqlite/django-1.1.X_ubuntu9.10-py2.4-sqlite/build/django/core/handlers/base.py",
 line 89, in get_response
     callback, callback_args, callback_kwargs = resolver.resolve(
   File "/home/buildbot/slave-
 
py2.4/parts/ubuntu9.10-py2.4-sqlite/django-1.1.X_ubuntu9.10-py2.4-sqlite/build/django/core/urlresolvers.py",
 line 222, in resolve
     sub_match = pattern.resolve(new_path)
   File "/home/buildbot/slave-
 
py2.4/parts/ubuntu9.10-py2.4-sqlite/django-1.1.X_ubuntu9.10-py2.4-sqlite/build/django/core/urlresolvers.py",
 line 220, in resolve
     for pattern in self.url_patterns:
   File "/home/buildbot/slave-
 
py2.4/parts/ubuntu9.10-py2.4-sqlite/django-1.1.X_ubuntu9.10-py2.4-sqlite/build/django/core/urlresolvers.py",
 line 249, in _get_url_patterns
     patterns = getattr(self.urlconf_module, "urlpatterns",
 self.urlconf_module)
   File "/home/buildbot/slave-
 
py2.4/parts/ubuntu9.10-py2.4-sqlite/django-1.1.X_ubuntu9.10-py2.4-sqlite/build/django/core/urlresolvers.py",
 line 244, in _get_urlconf_module
     self._urlconf_module = import_module(self.urlconf_name)
   File "/home/buildbot/slave-
 
py2.4/parts/ubuntu9.10-py2.4-sqlite/django-1.1.X_ubuntu9.10-py2.4-sqlite/build/django/utils/importlib.py",
 line 35, in import_module
     __import__(name)
   File "/home/buildbot/slave-
 
py2.4/parts/ubuntu9.10-py2.4-sqlite/django-1.1.X_ubuntu9.10-py2.4-sqlite/build/tests/regressiontests/utils/urls.py",
 line 3, in ?
     import views
   File "/home/buildbot/slave-
 
py2.4/parts/ubuntu9.10-py2.4-sqlite/django-1.1.X_ubuntu9.10-py2.4-sqlite/build/tests/regressiontests/utils/views.py",
 line 17, in ?
     class_xview = xview_dec(ClassXView())
   File "/home/buildbot/slave-
 
py2.4/parts/ubuntu9.10-py2.4-sqlite/django-1.1.X_ubuntu9.10-py2.4-sqlite/build/django/utils/decorators.py",
 line 37, in _decorator_from_middleware
     middleware = middleware_class(*args, **kwargs)
 TypeError: default __new__ takes no parameters
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13111>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" 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/django-updates?hl=en.

Reply via email to