Custom Query (1173 matches)
Results (181 - 183 of 1173)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#5375 | fixed | Video thumbnailer relies on function that has been removed from recent PIL | ||
Description |
A few users have come into IRC to report that their installations fail to process videos with the following error. File '/srv/mediagoblin.example.org/mediagoblin/mediagoblin/media_types/video/processing.py', line 396 in process self.generate_thumb(thumb_size=thumb_size) File '/srv/mediagoblin.example.org/mediagoblin/mediagoblin/media_types/video/processing.py', line 319 in generate_thumb thumb_size[0]) File '/srv/mediagoblin.example.org/mediagoblin/mediagoblin/media_types/video/transcoders.py', line 136 in capture_thumb buffer.extract_dup(0, buffer.get_size())) File '/usr/lib/python2.7/dist-packages/PIL/Image.py', line 2053 in fromstring "Please call frombytes() instead.") Exception: fromstring() has been removed. Please call frombytes() instead. |
|||
#5374 | fixed | "Deathorize applications" causes server error after federation migrations | ||
Description |
Clicking the "Deauthorize applications" link on current master causes a server error. Error - <class 'sqlalchemy.exc.InvalidRequestError'>: Entity '<class 'mediagoblin.db.models.AccessToken'>' has no property 'user' URL: https://goblinrefuge.com/mediagoblin/edit/deauthorize/ File '/path/to/mediagoblin/lib/python2.7/site-packages/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.10.1-py2.7.egg/werkzeug/wsgi.py', line 591 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 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/edit/views.py', line 296 in deauthorize_applications access_tokens = AccessToken.query.filter_by(user=request.user.id) File 'build/bdist.linux-x86_64/egg/sqlalchemy/orm/query.py', line 1256 in filter_by File 'build/bdist.linux-x86_64/egg/sqlalchemy/orm/util.py', line 1218 in _entity_descriptor InvalidRequestError: Entity '<class 'mediagoblin.db.models.AccessToken'>' has no property 'user' |
|||
#5373 | fixed | Latest flup removes Python 2 compatibility | ||
Description |
We recommend installing flup [1] for fcgi deployments. The latest version of flup on PyPI [2] claims to be a "Python 3.x-only version." Two people have reported issues with this version of flup in a Python 2 installation. One person shared the following log on IRC. File "build/bdist.linux-x86_64/egg/flup/server/paste_factory.py", line 125, in run_fcgi_fork File "build/bdist.linux-x86_64/egg/flup/server/fcgi_fork.py", line 60, in <module> File "build/bdist.linux-x86_64/egg/flup/server/fcgi_base.py", line 45, in <module> ImportError: No module named _dummy_thread I don't know if flup has abandoned Python 2 or if this is just a mistake, but it causes issues for people deploying fresh MediaGoblin installs. We could amend the documentation to suggest installing a specific version of flup, or perhaps we could just go ahead and add flup to setup.py, pinned to a specific version. [1] https://mediagoblin.readthedocs.org/en/latest/siteadmin/deploying.html?highlight=flup#install-mediagoblin-and-virtualenv [2] https://pypi.python.org/pypi/flup/1.0.3.dev20151210 |