I'm facing issue when I'm trying to start celeryd on my server. I'm getting TypeError: invalid arguments error.
python manage.py celeryd
/apps/python/current/lib/python2.7/site-packages/django/core/management/base.py:259: RemovedInDjango19Warning: "requires_model_validation" is deprecated in favor of "requires_system_checks".
Traceback (most recent call last):
File "manage.py", line 10, in <module>
File "/apps/python/current/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
File "/apps/python/current/lib/python2.7/site-packages/django/core/management/__init__.py", line 330, in execute
File "/apps/python/current/lib/python2.7/site-packages/djcelery/management/base.py", line 82, in run_from_argv
return super(CeleryCommand, self).run_from_argv(argv)
File "/apps/python/current/lib/python2.7/site-packages/django/core/management/base.py", line 381, in run_from_argv
parser = self.create_parser(argv, argv)
File "/apps/python/current/lib/python2.7/site-packages/django/core/management/base.py", line 315, in create_parser
help='Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output')
File "/apps/python/current/lib/python2.7/optparse.py", line 1018, in add_option
raise TypeError, "invalid arguments"
TypeError: invalid arguments
Centos : 6.6
Seems to be a bug with the version of Python you are running. I was seeing this with Python version 2.7. Then I upgraded to 2.7.9 and this works now.