Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(zenodo) rushal@rushal-Lenovo-B560:~/src/zenodo$ celery worker -A zenodo.celery -l INFO --purge
[2017-03-06 20:20:50,533] ERROR in app: Failed to initialize entry point: invenio_pidstore = invenio_pidstore:InvenioPIDStore
Traceback (most recent call last):
File "/usr/local/bin/celery", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/celery/__main__.py", line 30, in main
main()
File "/usr/local/lib/python2.7/dist-packages/celery/bin/celery.py", line 81, in main
cmd.execute_from_commandline(argv)
File "/usr/local/lib/python2.7/dist-packages/celery/bin/celery.py", line 793, in execute_from_commandline
super(CeleryCommand, self).execute_from_commandline(argv)))
File "/usr/local/lib/python2.7/dist-packages/celery/bin/base.py", line 309, in execute_from_commandline
argv = self.setup_app_from_commandline(argv)
File "/usr/local/lib/python2.7/dist-packages/celery/bin/base.py", line 469, in setup_app_from_commandline
self.app = self.find_app(app)
File "/usr/local/lib/python2.7/dist-packages/celery/bin/base.py", line 489, in find_app
return find_app(app, symbol_by_name=self.symbol_by_name)
File "/usr/local/lib/python2.7/dist-packages/celery/app/utils.py", line 238, in find_app
sym = imp(app)
File "/usr/local/lib/python2.7/dist-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)
File "/home/rushal/src/zenodo/zenodo/celery.py", line 34, in <module>
SENTRY_TRANSPORT='raven.transport.http.HTTPTransport'
File "/usr/local/lib/python2.7/dist-packages/invenio_base/app.py", line 120, in _create_app
modules=extensions,
File "/usr/local/lib/python2.7/dist-packages/invenio_base/app.py", line 179, in app_loader
modules=modules)
File "/usr/local/lib/python2.7/dist-packages/invenio_base/app.py", line 230, in _loader
init_func(ep.load())
File "/usr/local/lib/python2.7/dist-packages/invenio_base/app.py", line 178, in <lambda>
_loader(app, lambda ext: ext(app), entry_points=entry_points,
File "/usr/local/lib/python2.7/dist-packages/invenio_pidstore/ext.py", line 115, in __init__
fetchers_entry_point_group=fetchers_entry_point_group
File "/usr/local/lib/python2.7/dist-packages/invenio_pidstore/ext.py", line 168, in init_app
fetchers_entry_point_group=fetchers_entry_point_group,
File "/usr/local/lib/python2.7/dist-packages/invenio_pidstore/ext.py", line 60, in __init__
self.load_minters_entry_point_group(minters_entry_point_group)
File "/usr/local/lib/python2.7/dist-packages/invenio_pidstore/ext.py", line 88, in load_minters_entry_point_group
self.register_minter(ep.name, ep.load())
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2301, in load
self.require(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2324, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 854, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'invenio-migrator>=1.0.0a8' distribution was not found and is required by the application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment