Custom Query (1173 matches)
Results (115 - 117 of 1173)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#442 | fixed | migration tests fail | ||
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) |
|||
#443 | fixed | gmg wipealldata fails if you don't have mongodb | ||
Description |
If you run Given that we're done with mongodb, this should handle the cases when mongodb isn't installed or running. 130 (M=d2eab local) saturn ~/projects/mediagoblin> ./bin/gmg wipealldata *** WARNING! *** Running this will destroy your mediagoblin database, remove all your media files in user_dev/, etc. ALSO: This command is currently a hack and will only remove things properly on the default setup! If you've customized your mediagoblin configs, it won't work (for now). Are you **SURE** you want to destroy your environment? (if so, type "yes")> yes nixing data in mongodb.... Traceback (most recent call last): File "./bin/gmg", line 9, in <module> load_entry_point('mediagoblin==0.3.0.dev', 'console_scripts', 'gmg')() File "/home/willkg/projects/mediagoblin/mediagoblin/gmg_commands/__init__.py", line 100, in main_cli args.func(args) File "/home/willkg/projects/mediagoblin/mediagoblin/gmg_commands/wipealldata.py", line 50, in wipe conn = pymongo.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)) pymongo.errors.AutoReconnect: could not connect to localhost:27017: [Errno 111] Connection refused Seems like this should be a blocker, too, since it's referred to in the Hacking HOWTO, but ... I'm going to just make it Critical. |
|||
#447 | fixed | A link to download the original audio file. | ||
Description |
Such a link is currently available for video, but not for audio. |