OpenPhilology / Iris

The OCR pipeline to succeed Rigaudon
2 stars 0 forks source link

Celery not starting! #12

Open sonofmun opened 9 years ago

sonofmun commented 9 years ago

I have the latest revision from Ben_Iris. When I type:

celery -A iris.tasks worker

I get the following error

Traceback (most recent call last):
  File "/home/mmunson/envs/Ben_Iris/bin/celery", line 11, in <module>
    sys.exit(main())
  File "/home/mmunson/envs/Ben_Iris/local/lib/python2.7/site-packages/celery/__main__.py", line 30, in main
    main()
  File "/home/mmunson/envs/Ben_Iris/local/lib/python2.7/site-packages/celery/bin/celery.py", line 81, in main
    cmd.execute_from_commandline(argv)
  File "/home/mmunson/envs/Ben_Iris/local/lib/python2.7/site-packages/celery/bin/celery.py", line 769, in execute_from_commandline
    super(CeleryCommand, self).execute_from_commandline(argv)))
  File "/home/mmunson/envs/Ben_Iris/local/lib/python2.7/site-packages/celery/bin/base.py", line 305, in execute_from_commandline
    argv = self.setup_app_from_commandline(argv)
  File "/home/mmunson/envs/Ben_Iris/local/lib/python2.7/site-packages/celery/bin/base.py", line 465, in setup_app_from_commandline
    self.app = self.find_app(app)
  File "/home/mmunson/envs/Ben_Iris/local/lib/python2.7/site-packages/celery/bin/base.py", line 485, in find_app
    return find_app(app, symbol_by_name=self.symbol_by_name)
  File "/home/mmunson/envs/Ben_Iris/local/lib/python2.7/site-packages/celery/app/utils.py", line 248, in find_app
    symbol_by_name=symbol_by_name, imp=imp,
  File "/home/mmunson/envs/Ben_Iris/local/lib/python2.7/site-packages/celery/app/utils.py", line 232, in find_app
    sym = imp(app)
  File "/home/mmunson/envs/Ben_Iris/local/lib/python2.7/site-packages/celery/utils/imports.py", line 101, in import_from_cwd
    return imp(module, package=package)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named celery

I ran pip install . from the iris directory, installing into a virtualenv. As stated in a previous issue, python setup.py download does not seem to work. And Celery is installed. I can import it as normal from a Python interpreter.