[Python-modules-team] Bug#742762: ImportError: cannot import name celeryd_multi

Brian May brian at microcomaustralia.com.au
Thu Mar 27 03:41:39 UTC 2014


Package: python-django-celery
Version: 2.5.5-2
Severity: Normal

In sid chroot:

+ kg-manage celeryd_multi start w1 --uid=www-data --gid=www-data
--workdir="/tmp/" --pidfile=/var/run/karaage/%n.pid
--logfile=/var/log/karaage/%n.log --loglevel=INFO --cmd=-m
celery.bin.celeryd_detach --time-limit=300 --concurrency=1
Traceback (most recent call last):
  File "/usr/bin/kg-manage", line 7, in <module>
    management.execute_from_command_line()
  File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
399, in execute_from_command_line
    utility.execute()
  File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
272, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
75, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line
40, in import_module
    __import__(name)
  File
"/usr/lib/python2.7/dist-packages/djcelery/management/commands/celeryd_multi.py",
line 8, in <module>
    from celery.bin import celeryd_multi
ImportError: cannot import name celeryd_multi

Suspect this broke with the latest version of python-celery. It looks like
it has celery.bin.multi, but not celery.bin.celeryd_multi

# dpkg -l python-celery python-django-celery
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                         Version             Architecture
 Description
+++-============================-===================-===================-=============================================================
ii  python-celery                3.1.9-1             all
async task/job queue based on message passing
ii  python-django-celery         2.5.5-2             all
Celery integration for Django

-- 
Brian May <brian at microcomaustralia.com.au>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140327/e06cd580/attachment.html>


More information about the Python-modules-team mailing list