#24477: Error Outputting System Checks in django/core/management/base.py
--------------------------------------+----------------------
     Reporter:  DavidMuller           |      Owner:  nobody
         Type:  Uncategorized         |     Status:  new
    Component:  Core (System checks)  |    Version:  1.8beta2
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+----------------------
 I'm trying to install celery==3.1.17 with django 1.8b2 (following the
 [http://celery.readthedocs.org/en/latest/django/first-steps-with-
 django.html#starting-the-worker-process celery + django install
 instructions)].

 I get the following TypeError when I try to launch a celery worker AND
 have unresolved system warnings:

 Trying to launch celery worker...
 {{{
 celery -A my_project worker -l info
 }}}

 yields ...

 {{{
   File "/usr/local/etc/virtualenvs/gears/local/lib/python2.7/site-
 packages/celery/fixups/django.py", line 162, in validate_models
     cmd.check()
   File "/usr/local/etc/virtualenvs/gears/local/lib/python2.7/site-
 packages/django/core/management/base.py", line 530, in check
     self.stderr.write(msg, lambda x: x)
 TypeError: function takes exactly 1 argument (2 given)
 }}}

 It appears that Django is throwing a TypeError at
 
[https://github.com/django/django/blob/stable/1.8.x/django/core/management/base.py#L530
 this line in django/core/management/base.py]

 The problem "goes away" if I silence Django's system checks.

--
Ticket URL: <https://code.djangoproject.com/ticket/24477>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/054.ce85c1e482c2a04247bdff9a859ec821%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to