YunoHost-Apps / synapse_ynh

Matrix server (synapse) package for YunoHost
https://matrix.org/
GNU General Public License v3.0
79 stars 42 forks source link

Fix issue with jinja2 dependency #309

Closed fflorent closed 2 years ago

fflorent commented 2 years ago

Problem

Error in CI: https://ci-apps-dev.yunohost.org/ci/job/657

1459129 WARNING     def safe_markup(raw_html: str) -> jinja2.Markup:
1459131 WARNING AttributeError: module 'jinja2' has no attribute 'Markup'
1460886 ERROR Unable to install synapse: An error occurred inside the app installation script
1460888 INFO The operation 'Install the 'synapse' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20220423-224355-app_install-synapse' to get help
1460982 WARNING Here's an extract of the logs before the crash. It might help debugging the error:

Solution

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

fflorent commented 2 years ago

!testme

yunohost-bot commented 2 years ago

:sunflower: Test Badge

Josue-T commented 2 years ago

Fixed by 3f2d2dc