Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#55202 - [matrix-synapse] Missing optional dependency

Attached to Project: Community Packages
Opened by Brendan Abolivier (babolivier) - Sunday, 20 August 2017, 00:19 GMT
Last edited by Johannes Löthberg (demize) - Monday, 21 August 2017, 12:36 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Johannes Löthberg (demize)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



To use Synapse's URL preview feature, the optional dependencies only mentions the `python2-netaddr` package. However `python2-lxml` is needed as well but isn't listed.

Additional info:
* package version(s): 0.22.1-2

Steps to reproduce:
* Install the package (and generate the configuration as prompted) and all of its optional dependencies
* Turn `url_preview_enabled` to true in the configuration
* Try starting the `synapse` systemd service. A `systemctl status synapse` will show it failed to start with this error: `Missing lxml library. This is required for URL preview API.`

Installing the `python2-lxml` solves it, but it would be nice not to have to crash Synapse to realise that the package is required for this feature.
This task depends upon

Closed by  Johannes Löthberg (demize)
Monday, 21 August 2017, 12:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.22.1-3
Comment by Johannes Löthberg (demize) - Monday, 21 August 2017, 12:36 GMT
(Note to self, report a bug against synapse/