Opened 13 years ago
Closed 13 years ago
#439 closed defect (fixed)
lazycelery.sh kicks up KeyError: u'No such transport: sqlite'
Reported by: | Will Kahn-Greene | Owned by: | Christopher Allan Webber |
---|---|---|---|
Priority: | major | Milestone: | 0.3.0 |
Component: | programming | Keywords: | |
Cc: | jorgean@… | Parent Tickets: |
Description
I followed the steps in the Hacking Howto. I'm using git master 7798f911ab31622efd6517585057c657454cebb0.
When I run lazycelery.sh, I get this:
[2012-04-21 16:47:04,899: WARNING/MainProcess] Traceback (most recent call last):
[2012-04-21 16:47:04,900: WARNING/MainProcess] File "./bin/celeryd", line 9, in <module>
[2012-04-21 16:47:04,900: WARNING/MainProcess] load_entry_point('celery==2.5.3', 'console_scripts', 'celeryd')()
[2012-04-21 16:47:04,900: WARNING/MainProcess] File "/home/willg/projects/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/celery-2.5.3-py2.7.egg/celery/bin/celeryd.py", line 201, in main
[2012-04-21 16:47:04,900: WARNING/MainProcess] worker.execute_from_commandline()
[2012-04-21 16:47:04,900: WARNING/MainProcess] File "/home/willg/projects/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/celery-2.5.3-py2.7.egg/celery/bin/base.py", line 87, in execute_from_commandline
[2012-04-21 16:47:04,900: WARNING/MainProcess] return self.handle_argv(prog_name, argv[1:])
[2012-04-21 16:47:04,901: WARNING/MainProcess] File "/home/willg/projects/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/celery-2.5.3-py2.7.egg/celery/bin/base.py", line 125, in handle_argv
[2012-04-21 16:47:04,901: WARNING/MainProcess] return self.run(*args, options)
[2012-04-21 16:47:04,901: WARNING/MainProcess] File "/home/willg/projects/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/celery-2.5.3-py2.7.egg/celery/bin/celeryd.py", line 101, in run
[2012-04-21 16:47:04,901: WARNING/MainProcess] return self.app.Worker(kwargs).run()
[2012-04-21 16:47:04,901: WARNING/MainProcess] File "/home/willg/projects/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/celery-2.5.3-py2.7.egg/celery/apps/worker.py", line 141, in run
[2012-04-21 16:47:04,901: WARNING/MainProcess] print(str(self.colored.cyan(" \n", self.startup_info())) +
[2012-04-21 16:47:04,902: WARNING/MainProcess] File "/home/willg/projects/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/celery-2.5.3-py2.7.egg/celery/apps/worker.py", line 206, in startup_info
[2012-04-21 16:47:04,902: WARNING/MainProcess] "conninfo": self.app.broker_connection().as_uri(),
[2012-04-21 16:47:04,902: WARNING/MainProcess] File "/home/willg/projects/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/kombu-2.1.5-py2.7.egg/kombu/connection.py", line 367, in as_uri
[2012-04-21 16:47:04,902: WARNING/MainProcess] fields = self.info()
[2012-04-21 16:47:04,902: WARNING/MainProcess] File "/home/willg/projects/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/kombu-2.1.5-py2.7.egg/kombu/connection.py", line 343, in info
[2012-04-21 16:47:04,902: WARNING/MainProcess] defaults = self.transport.default_connection_params
[2012-04-21 16:47:04,903: WARNING/MainProcess] File "/home/willg/projects/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/kombu-2.1.5-py2.7.egg/kombu/connection.py", line 569, in transport
[2012-04-21 16:47:04,903: WARNING/MainProcess] self._transport = self.create_transport()
[2012-04-21 16:47:04,903: WARNING/MainProcess] File "/home/willg/projects/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/kombu-2.1.5-py2.7.egg/kombu/connection.py", line 324, in create_transport
[2012-04-21 16:47:04,903: WARNING/MainProcess] return self.get_transport_cls()(client=self)
[2012-04-21 16:47:04,903: WARNING/MainProcess] File "/home/willg/projects/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/kombu-2.1.5-py2.7.egg/kombu/connection.py", line 331, in get_transport_cls
[2012-04-21 16:47:04,904: WARNING/MainProcess] transport_cls = get_transport_cls(transport_cls)
[2012-04-21 16:47:04,904: WARNING/MainProcess] File "/home/willg/projects/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/kombu-2.1.5-py2.7.egg/kombu/transport/init.py", line 94, in get_transport_cls
[2012-04-21 16:47:04,904: WARNING/MainProcess] _transport_cache[transport] = _get_transport_cls(transport)
[2012-04-21 16:47:04,904: WARNING/MainProcess] File "/home/willg/projects/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/kombu-2.1.5-py2.7.egg/kombu/transport/init.py", line 75, in _get_transport_cls
[2012-04-21 16:47:04,904: WARNING/MainProcess] transport_module_name, transport_cls_name = resolve_transport(transport)
[2012-04-21 16:47:04,904: WARNING/MainProcess] File "/home/willg/projects/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/kombu-2.1.5-py2.7.egg/kombu/transport/init.py", line 70, in resolve_transport
[2012-04-21 16:47:04,905: WARNING/MainProcess] raise KeyError("No such transport: %s" % (transport, ))
[2012-04-21 16:47:04,905: WARNING/MainProcess] KeyError
[2012-04-21 16:47:04,905: WARNING/MainProcess] :
[2012-04-21 16:47:04,905: WARNING/MainProcess] u'No such transport: sqlite'
Change History (5)
comment:1 by , 13 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 13 years ago
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 13 years ago
Cc: | added |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
I still have the same error, checking paster.log I see the error message.
this is my easy_install.pth file
[goblinartists@goblinartists mediagoblin]$ cat lib/python2.7/site-packages/easy-install.pth import sys; sys.__plen = len(sys.path) ./setuptools-0.6c11-py2.7.egg ./pip-1.1-py2.7.egg /srv/http/goblinartists.net/mediagoblin ./sqlalchemy_migrate-0.7.2-py2.7.egg ./SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg ./configobj-4.7.2-py2.7.egg ./WebTest-1.3.3-py2.7.egg ./argparse-1.2.1-py2.7.egg ./translitcodec-0.3-py2.7.egg ./Babel-0.9.6-py2.7.egg ./Sphinx-1.1.3-py2.7.egg ./celery-2.5.3-py2.7.egg ./Werkzeug-0.8.3-py2.7.egg ./nose-1.1.2-py2.7.egg ./py_bcrypt-0.2-py2.7-linux-x86_64.egg ./WTForms-1.0.1-py2.7.egg ./WebOb-1.1.1-py2.7.egg ./mongokit-0.7.2-py2.7.egg ./pymongo-2.1.1-py2.7-linux-x86_64.egg ./Routes-1.13-py2.7.egg ./Beaker-1.6.3-py2.7.egg ./PasteScript-1.7.5-py2.7.egg ./Tempita-0.5.1-py2.7.egg ./decorator-3.3.2-py2.7.egg ./python_dateutil-1.5-py2.7.egg ./anyjson-0.3.1-py2.7.egg ./repoze.lru-0.5-py2.7.egg ./PasteDeploy-1.5.0-py2.7.egg ./Paste-1.7.5.1-py2.7.egg ./amqplib-1.0.2-py2.7.egg /usr/lib/python2.7/site-packages/flup-1.0.3.dev_20110405-py2.7.egg ./python_cloudfiles-1.7.10-py2.7.egg /usr/lib/python2.7/site-packages/chardet-1.0.1-py2.7.egg ./numpy-1.6.1-py2.7-linux-x86_64.egg ./scikits.audiolab-0.11.0-py2.7-linux-x86_64.egg ./Markdown-2.1.1-py2.7.egg ./PIL-1.1.7-py2.7-linux-x86_64.egg ./Jinja2-2.6-py2.7.egg ./docutils-0.8.1-py2.7.egg ./Pygments-1.5-py2.7.egg ./kombu-2.1.5-py2.7.egg import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)
and here is the modules installed in my virtualenv
[goblinartists@goblinartists mediagoblin]$ ls lib/python2.7/site-packages/ -1h amqplib-1.0.2-py2.7.egg anyjson-0.3.1-py2.7.egg argparse-1.2.1-py2.7.egg Babel-0.9.6-py2.7.egg Beaker-1.6.3-py2.7.egg celery-2.5.3-py2.7.egg configobj-4.7.2-py2.7.egg decorator-3.3.2-py2.7.egg docutils-0.8.1-py2.7.egg easy-install.pth Jinja2-2.6-py2.7.egg kombu-2.1.5-py2.7.egg Markdown-2.1.1-py2.7.egg mediagoblin.egg-link mongokit-0.7.2-py2.7.egg nose-1.1.2-py2.7.egg numpy-1.6.1-py2.7-linux-x86_64.egg Paste-1.7.5.1-py2.7.egg PasteDeploy-1.5.0-py2.7.egg PasteScript-1.7.5-py2.7.egg PIL-1.1.7-py2.7-linux-x86_64.egg pip-1.1-py2.7.egg py_bcrypt-0.2-py2.7-linux-x86_64.egg Pygments-1.5-py2.7.egg pymongo-2.1.1-py2.7-linux-x86_64.egg python_cloudfiles-1.7.10-py2.7.egg python_dateutil-1.5-py2.7.egg repoze.lru-0.5-py2.7.egg Routes-1.13-py2.7.egg scikits.audiolab-0.11.0-py2.7-linux-x86_64.egg setuptools-0.6c11-py2.7.egg setuptools.pth Sphinx-1.1.3-py2.7.egg SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg sqlalchemy_migrate-0.7.2-py2.7.egg Tempita-0.5.1-py2.7.egg translitcodec-0.3-py2.7.egg WebOb-1.1.1-py2.7.egg WebTest-1.3.3-py2.7.egg Werkzeug-0.8.3-py2.7.egg WTForms-1.0.1-py2.7.egg [goblinartists@goblinartists mediagoblin]$
weird, huh?
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Not sure what was going on there, but I re-removed the kombu-sqlalchemy line from easy_install.pth, ./bin/easy_install -U celery
and it seemed to work fine after that. Re-closing.
Should be fixed. See http://lists.mediagoblin.org/pipermail/devel/2012-April/000178.html for details on how to avoid dependency issues when upgrading.