mediagoblin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error when enabeling embedcode plugin


From: k054
Subject: error when enabeling embedcode plugin
Date: Mon, 21 Mar 2022 23:15:00 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

hey everyone,

any idea on how can I fix this error? gmg works great as long as I don' enable the [[mediagoblin.plugins.embedcode]] plugin. As so as I do a go to any video I get this in the logs



root@media:/var/log# tail -f /var/log/mediagoblin/mediagoblin.log
2022-03-22 05:01:32,519 INFO [mediagoblin.init.plugins] Importing plugin module: mediagoblin.plugins.processing_info 2022-03-22 05:01:32,519 INFO [mediagoblin.init.plugins] Importing plugin module: mediagoblin.media_types.image 2022-03-22 05:01:32,519 INFO [mediagoblin.init.plugins] Importing plugin module: mediagoblin.plugins.basic_auth 2022-03-22 05:01:32,519 INFO [mediagoblin.init.plugins] Importing plugin module: mediagoblin.plugins.embedcode 2022-03-22 05:01:32,519 INFO [mediagoblin.init.plugins] Importing plugin module: mediagoblin.media_types.video 2022-03-22 05:01:32,519 INFO [mediagoblin.plugins.embedcode] Setting up embedcode plugin... 2022-03-22 05:01:32,519 INFO [mediagoblin.plugins.embedcode] Done setting up embedcode! 2022-03-22 05:01:32,584 INFO [mediagoblin.init.celery] Setting celery configuration from object "mediagoblin.init.celery.dummy_settings_module"
Starting server in PID 7049.
2022-03-22 05:01:32,586 INFO    [waitress] Serving on http://127.0.0.1:6543


2022-03-22 05:01:40,685 ERROR [waitress] Exception while serving /u/xxxxxxx/m/un-ga-freedom-of-expression-3be3/
Traceback (most recent call last):
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/lib/python3.7/site-packages/waitress-2.0.0-py3.7.egg/waitress/channel.py", line 397, in service
    task.service()
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/lib/python3.7/site-packages/waitress-2.0.0-py3.7.egg/waitress/task.py", line 168, in service
    self.execute()
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/lib/python3.7/site-packages/waitress-2.0.0-py3.7.egg/waitress/task.py", line 434, in execute
    app_iter = self.channel.server.application(environ, start_response)
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/app.py", line 345, in __call__
    return self.call_backend(environ, start_response)
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/lib/python3.7/site-packages/Werkzeug-0.16.1-py3.7.egg/werkzeug/middleware/shared_data.py", line 220, in __call__
    return self.app(environ, start_response)
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/app.py", line 279, in call_backend
    return self._finish_call_backend(request, environ, start_response)
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/app.py", line 321, in _finish_call_backend
    response = controller(request)
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/decorators.py", line 47, in wrapper
    return controller(request, *args, **kwargs)
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/decorators.py", line 210, in wrapper
    return controller(request, media=media, *args, **kwargs)
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/decorators.py", line 170, in wrapper
    return controller(request, page=page, *args, **kwargs)
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/user_pages/views.py", line 168, in media_home
    context)
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/tools/response.py", line 35, in render_to_response
    render_template(request, template, context),
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/tools/template.py", line 138, in render_template
    rendered = template.render(context)
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/lib/python3.7/site-packages/Jinja2-2.11.3-py3.7.egg/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/lib/python3.7/site-packages/Jinja2-2.11.3-py3.7.egg/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/lib/python3.7/site-packages/Jinja2-2.11.3-py3.7.egg/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/templates/mediagoblin/media_displays/video.html", line 19, in top-level template code
    {% extends 'mediagoblin/user_pages/media.html' %}
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/templates/mediagoblin/user_pages/media.html", line 21, in top-level template code
    {% from "mediagoblin/utils/pagination.html" import render_pagination %}
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/user_dev/themes/xxxxxxx/templates/mediagoblin/base.html", line 66, in top-level template code
    {% block mediagoblin_body %}
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/user_dev/themes/xxxxxxx/templates/mediagoblin/base.html", line 194, in block "mediagoblin_body"
    {% block mediagoblin_content %}
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/templates/mediagoblin/user_pages/media.html", line 243, in block "mediagoblin_content"
    {% template_hook("media_sideinfo") %}
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/plugins/embedcode/templates/mediagoblin/plugins/embedcode/embed_code.html", line 19, in top-level template code
    {% block embed_code -%}
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/plugins/embedcode/templates/mediagoblin/plugins/embedcode/embed_code.html", line 23, in block "embed_code" {% set file_url = request.app.public_store.file_url(media.media_files.webm_video) %} File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/storage/filestorage.py", line 109, in file_url
    '/'.join(clean_listy_filepath(filepath)))
File "/srv/media.xxxxxxxxxxxx.org/mediagoblin/mediagoblin/storage/__init__.py", line 225, in clean_listy_filepath
    for filepath in listy_filepath]
jinja2.exceptions.UndefinedError: 'sqlalchemy.ext.associationproxy._AssociationDict object' has no attribute 'webm_video'


and this in the web interface

I also have these other modules enabled


[plugins]
[[mediagoblin.plugins.geolocation]]
[[mediagoblin.plugins.processing_info]]
[[mediagoblin.plugins.basic_auth]]
[[mediagoblin.media_types.image]]
[[mediagoblin.media_types.video]]
available_resolutions = 480p,720p
default_resolution = 720p
#[[mediagoblin.plugins.embedcode]]


thanks in advance!

~/k054




Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]