Custom Query (1173 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (46 - 48 of 1173)

Ticket Resolution Summary Owner Reporter
#439 fixed lazycelery.sh kicks up KeyError: u'No such transport: sqlite' Christopher Allan Webber Will Kahn-Greene
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'

#441 fixed remove mongodb bits from documentation Will Kahn-Greene
Description

The documentation in docs/ talks about installing and configuring mongodb. That should be removed.

M=d2eab) saturn ~/projects/mediagoblin/docs/source> grin -i mongodb
./codebase.rst:
   85 :     ORM for MongoDB we're using which will make it easier to define
  151 : :models.py:  holds the mongodb schemas---these are the data structures
./deploying.rst:
  114 : Configure MongoDB
  122 : First, install MongoDB. On a DEB-based system run::
  124 :     sudo apt-get install mongodb
  128 :     yum install mongodb-server
  130 : After installing MongoDB some preliminary database configuration may
  133 : Ensure that MongoDB `journaling
  134 : <http://www.mongodb.org/display/DOCS/Journaling>`_ is enabled. Journaling
  135 : is enabled by default in version 2.0 and later 64-bit MongoDB instances.
  141 :    Running MongoDB without journaling risks general data corruption
  145 :    MediaGoblin recommends enabling MongoDB's journaling feature by
  149 : MongoDB can take a lot of space by default. If you're planning on
#442 fixed migration tests fail Will Kahn-Greene
Description

Given that we don't need mongodb things installed anymore and we're removing the installation instructions from the documentation, it shouldn't be the case that tests fail if you don't have it installed.

These tests should get fixed so that they get skipped if mongodb is either not installed or not running. nose is super duper for this sort of thing.

(M=d2eab local) saturn ~/projects/mediagoblin> ./runtests.sh 
Using ./bin/nosetests
..../home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-i686.egg/sqlalchemy/engine/default.py:461: SAWarning: Unicode type received non-unicode bind param value.
  param.append(processors[key](compiled_params[key]))
................/home/willkg/projects/mediagoblin/mediagoblin/db/sql/open.py:63: SAWarning: At least one scoped session is already present.  configure() can not affect sessions that have already been created.
  Session.configure(bind=engine)
.EEEEEEE..........................................
======================================================================
ERROR: Make sure that if we don't have a migration_status
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 381, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "/usr/lib/python2.7/dist-packages/nose/util.py", line 478, in try_run
    return func()
  File "/home/willkg/projects/mediagoblin/mediagoblin/tests/test_migrations.py", line 273, in setUp
    self.connection = Connection()
  File "/home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/pymongo-2.1.1-py2.7-linux-i686.egg/pymongo/connection.py", line 381, in __init__
    self.__find_node()
  File "/home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/pymongo-2.1.1-py2.7-linux-i686.egg/pymongo/connection.py", line 659, in __find_node
    raise AutoReconnect(', '.join(errors))
AutoReconnect: could not connect to localhost:27017: [Errno 111] Connection refused

======================================================================
ERROR: Make sure that migrations get registered and are sorted right
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 381, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "/usr/lib/python2.7/dist-packages/nose/util.py", line 478, in try_run
    return func()
  File "/home/willkg/projects/mediagoblin/mediagoblin/tests/test_migrations.py", line 273, in setUp
    self.connection = Connection()
  File "/home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/pymongo-2.1.1-py2.7-linux-i686.egg/pymongo/connection.py", line 381, in __init__
    self.__find_node()
  File "/home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/pymongo-2.1.1-py2.7-linux-i686.egg/pymongo/connection.py", line 659, in __find_node
    raise AutoReconnect(', '.join(errors))
AutoReconnect: could not connect to localhost:27017: [Errno 111] Connection refused

======================================================================
ERROR: Make sure we get the right list of migrations to run
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 381, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "/usr/lib/python2.7/dist-packages/nose/util.py", line 478, in try_run
    return func()
  File "/home/willkg/projects/mediagoblin/mediagoblin/tests/test_migrations.py", line 273, in setUp
    self.connection = Connection()
  File "/home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/pymongo-2.1.1-py2.7-linux-i686.egg/pymongo/connection.py", line 381, in __init__
    self.__find_node()
  File "/home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/pymongo-2.1.1-py2.7-linux-i686.egg/pymongo/connection.py", line 659, in __find_node
    raise AutoReconnect(', '.join(errors))
AutoReconnect: could not connect to localhost:27017: [Errno 111] Connection refused

======================================================================
ERROR: If we don't have the current migration set in the database,
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 381, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "/usr/lib/python2.7/dist-packages/nose/util.py", line 478, in try_run
    return func()
  File "/home/willkg/projects/mediagoblin/mediagoblin/tests/test_migrations.py", line 273, in setUp
    self.connection = Connection()
  File "/home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/pymongo-2.1.1-py2.7-linux-i686.egg/pymongo/connection.py", line 381, in __init__
    self.__find_node()
  File "/home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/pymongo-2.1.1-py2.7-linux-i686.egg/pymongo/connection.py", line 659, in __find_node
    raise AutoReconnect(', '.join(errors))
AutoReconnect: could not connect to localhost:27017: [Errno 111] Connection refused

======================================================================
ERROR: Make sure that if we don't have a migration_status
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 381, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "/usr/lib/python2.7/dist-packages/nose/util.py", line 478, in try_run
    return func()
  File "/home/willkg/projects/mediagoblin/mediagoblin/tests/test_migrations.py", line 273, in setUp
    self.connection = Connection()
  File "/home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/pymongo-2.1.1-py2.7-linux-i686.egg/pymongo/connection.py", line 381, in __init__
    self.__find_node()
  File "/home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/pymongo-2.1.1-py2.7-linux-i686.egg/pymongo/connection.py", line 659, in __find_node
    raise AutoReconnect(', '.join(errors))
AutoReconnect: could not connect to localhost:27017: [Errno 111] Connection refused

======================================================================
ERROR: Make sure that running the full migration suite from 0 updates
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 381, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "/usr/lib/python2.7/dist-packages/nose/util.py", line 478, in try_run
    return func()
  File "/home/willkg/projects/mediagoblin/mediagoblin/tests/test_migrations.py", line 273, in setUp
    self.connection = Connection()
  File "/home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/pymongo-2.1.1-py2.7-linux-i686.egg/pymongo/connection.py", line 381, in __init__
    self.__find_node()
  File "/home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/pymongo-2.1.1-py2.7-linux-i686.egg/pymongo/connection.py", line 659, in __find_node
    raise AutoReconnect(', '.join(errors))
AutoReconnect: could not connect to localhost:27017: [Errno 111] Connection refused

======================================================================
ERROR: Make sure that running full migration suite from 3 only runs
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 381, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "/usr/lib/python2.7/dist-packages/nose/util.py", line 478, in try_run
    return func()
  File "/home/willkg/projects/mediagoblin/mediagoblin/tests/test_migrations.py", line 273, in setUp
    self.connection = Connection()
  File "/home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/pymongo-2.1.1-py2.7-linux-i686.egg/pymongo/connection.py", line 381, in __init__
    self.__find_node()
  File "/home/willkg/projects/mediagoblin/local/lib/python2.7/site-packages/pymongo-2.1.1-py2.7-linux-i686.egg/pymongo/connection.py", line 659, in __find_node
    raise AutoReconnect(', '.join(errors))
AutoReconnect: could not connect to localhost:27017: [Errno 111] Connection refused

----------------------------------------------------------------------
Ran 70 tests in 86.665s

FAILED (errors=7)

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.