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
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
|
Details
Description:
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
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/python_dependencies.py)