Custom Query (1173 matches)
Results (136 - 138 of 1173)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#5429 | fixed | Update documentation to reflect changes to mediagoblin.ini | ||
Description |
The latest documentation still recommends copying |
|||
#5427 | fixed | Deleting reported media gives server error | ||
Description |
On latest master, deleting media with a report on it leads to a server error and a partially deleted media entry. Steps to reproduce:
Here's the error log. Error - <class 'sqlalchemy.exc.IntegrityError'>: (sqlite3.IntegrityError) NOT NULL constraint failed: core__reports.object_id [SQL: u'UPDATE core__reports SET object_id=? WHERE core__reports.id = ?'] [parameters: (None, 1)] URL: http://pumpdev.goblinrefuge.com/u/machalus/m/42/confirm-delete/ File '/path/to/mediagoblin/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py', line 144 in __call__ app_iter = self.application(environ, sr_checker) File '/path/to/mediagoblin/mediagoblin/app.py', line 342 in __call__ return self.call_backend(environ, start_response) File '/path/to/mediagoblin/lib/python2.7/site-packages/Werkzeug-0.9.6-py2.7.egg/werkzeug/wsgi.py', line 588 in __call__ return self.app(environ, start_response) File '/path/to/mediagoblin/mediagoblin/app.py', line 276 in call_backend return self._finish_call_backend(request, environ, start_response) File '/path/to/mediagoblin/mediagoblin/app.py', line 318 in _finish_call_backend response = controller(request) File '/path/to/mediagoblin/mediagoblin/decorators.py', line 281 in wrapper return controller(request, media=media, *args, **kwargs) File '/path/to/mediagoblin/mediagoblin/decorators.py', line 47 in wrapper return controller(request, *args, **kwargs) File '/path/to/mediagoblin/mediagoblin/decorators.py', line 74 in new_controller_func return controller(request, *args, **kwargs) File '/path/to/mediagoblin/mediagoblin/decorators.py', line 135 in wrapper return controller(request, *args, **kwargs) File '/path/to/mediagoblin/mediagoblin/user_pages/views.py', line 338 in media_confirm_delete media.delete() File '/path/to/mediagoblin/mediagoblin/db/models.py', line 735 in delete super(MediaEntry, self).delete(**kwargs) File '/path/to/mediagoblin/mediagoblin/db/base.py', line 132 in delete report.save(commit=commit) File '/path/to/mediagoblin/mediagoblin/db/base.py', line 85 in save sess.commit() File 'build/bdist.linux-x86_64/egg/sqlalchemy/orm/session.py', line 801 in commit File 'build/bdist.linux-x86_64/egg/sqlalchemy/orm/session.py', line 392 in commit File 'build/bdist.linux-x86_64/egg/sqlalchemy/orm/session.py', line 372 in _prepare_impl File 'build/bdist.linux-x86_64/egg/sqlalchemy/orm/session.py', line 2019 in flush File 'build/bdist.linux-x86_64/egg/sqlalchemy/orm/session.py', line 2137 in _flush File 'build/bdist.linux-x86_64/egg/sqlalchemy/util/langhelpers.py', line 60 in __exit__ File 'build/bdist.linux-x86_64/egg/sqlalchemy/orm/session.py', line 2101 in _flush File 'build/bdist.linux-x86_64/egg/sqlalchemy/orm/unitofwork.py', line 373 in execute File 'build/bdist.linux-x86_64/egg/sqlalchemy/orm/unitofwork.py', line 532 in execute File 'build/bdist.linux-x86_64/egg/sqlalchemy/orm/persistence.py', line 170 in save_obj File 'build/bdist.linux-x86_64/egg/sqlalchemy/orm/persistence.py', line 706 in _emit_update_statements File 'build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py', line 914 in execute File 'build/bdist.linux-x86_64/egg/sqlalchemy/sql/elements.py', line 323 in _execute_on_connection File 'build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py', line 1010 in _execute_clauseelement File 'build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py', line 1146 in _execute_context File 'build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py', line 1341 in _handle_dbapi_exception File 'build/bdist.linux-x86_64/egg/sqlalchemy/util/compat.py', line 200 in raise_from_cause File 'build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py', line 1139 in _execute_context File 'build/bdist.linux-x86_64/egg/sqlalchemy/engine/default.py', line 450 in do_execute IntegrityError: (sqlite3.IntegrityError) NOT NULL constraint failed: core__reports.object_id [SQL: u'UPDATE core__reports SET object_id=? WHERE core__reports.id = ?'] [parameters: (None, 1)] |
|||
#5426 | invalid | lazycelery raises IndexError | ||
Description |
I have default mg 0.8.1 setup and trying to run ./lazycelery doesn't work for me with error: ("\nThe 'celeryd' command is deprecated, please use 'celery worker' instead:\n\n$ celery worker -B\n\n",) WARNING:mediagoblin.init.config:When setting up config section, could not import 'mediagoblin.media_types.image' WARNING:mediagoblin.init.config:When setting up config section, could not import 'mediagoblin.media_types.video' [2016-02-25 02:07:17,246: WARNING/MainProcess] /home/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/celery-3.1.20-py2.7.egg/celery/apps/worker.py:162: CDeprecationWarning: Starting from version 3.2 Celery will refuse to accept pickle by default. The pickle serializer is a security concern as it may give attackers the ability to execute any command. It's important to secure your broker from unauthorized access when using pickle, so we think that enabling pickle should require a deliberate action and not be the default choice. If you depend on pickle then you should set a setting to disable this warning and to be sure that everything will continue working when you upgrade to Celery 3.2:: CELERY_ACCEPT_CONTENT = ['pickle', 'json', 'msgpack', 'yaml'] You must only enable the serializers that you will actually use. warnings.warn(CDeprecationWarning(W_PICKLE_DEPRECATED)) -------------- celery@picnic v3.1.20 (Cipater) ---- **** ----- --- * *** * -- Linux-3.16.0-4-686-pae-i686-with-debian-8.3 -- * - **** --- - ** ---------- [config] - ** ---------- .> app: default:0xb6c3bb4c (.default.Loader) - ** ---------- .> transport: amqp://guest:**@localhost:5672// - ** ---------- .> results: disabled - *** --- * --- .> concurrency: 8 (prefork) -- ******* ---- --- ***** ----- [queues] -------------- .> celery exchange=celery(direct) key=celery [2016-02-25 02:07:17,250: ERROR/MainProcess] Unrecoverable error: IndexError('list index out of range',) Traceback (most recent call last): File "/home/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/celery-3.1.20-py2.7.egg/celery/worker/__init__.py", line 206, in start self.blueprint.start(self) File "/home/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/celery-3.1.20-py2.7.egg/celery/bootsteps.py", line 119, in start self.on_start() File "/home/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/celery-3.1.20-py2.7.egg/celery/apps/worker.py", line 173, in on_start self.set_process_status('-active-') File "/home/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/celery-3.1.20-py2.7.egg/celery/apps/worker.py", line 277, in set_process_status info='{0} ({1})'.format(info, platforms.strargv(sys.argv)), File "/home/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/celery-3.1.20-py2.7.egg/celery/platforms.py", line 718, in strargv arg_start = 2 if 'manage' in argv[0] else 1 IndexError: list index out of range Right now I am debugging another issue. Chris, could you please take a look if the bug is still in 0.9.0? |