Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

0.33.7 has a new hard-requirement on the "optional" psutil package #4070

Closed
tgurr opened this issue Oct 19, 2018 · 1 comment
Closed

0.33.7 has a new hard-requirement on the "optional" psutil package #4070

tgurr opened this issue Oct 19, 2018 · 1 comment

Comments

@tgurr
Copy link

tgurr commented Oct 19, 2018

Description

Upgrade to 0.33.7

● synapse.service - Synapse Matrix homeserver
   Loaded: loaded (/usr/x86_64-pc-linux-gnu/lib/systemd/system/synapse.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2018-10-19 15:46:00 CEST; 3s ago
  Process: 28759 ExecStart=/usr/bin/python2.7 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml (code=exited, status=1/FAILURE)
 Main PID: 28759 (code=exited, status=1/FAILURE)

Oct 19 15:46:00 host python2.7[28759]:     "__main__", fname, loader, pkg_name)
Oct 19 15:46:00 host python2.7[28759]:   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
Oct 19 15:46:00 host python2.7[28759]:     exec code in run_globals
Oct 19 15:46:00 host python2.7[28759]:   File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/synapse/app/homeserver.py", line 44, in <module>
Oct 19 15:46:00 host python2.7[28759]:     from synapse.app import _base
Oct 19 15:46:00 host python2.7[28759]:   File "/usr/lib/python2.7/site-packages/synapse/app/_base.py", line 20, in <module>
Oct 19 15:46:00 host python2.7[28759]:     import psutil
Oct 19 15:46:00 host python2.7[28759]: ImportError: No module named psutil
Oct 19 15:46:00 host systemd[1]: synapse.service: Main process exited, code=exited, status=1/FAILURE
Oct 19 15:46:00 host systemd[1]: synapse.service: Failed with result 'exit-code'.

See:

synapse/app/_base.py

import psutil

Steps to reproduce

  • don't have the previously optional psutil dependency installed
  • upgrade to 0.33.7
  • try to start 0.33.7

Version information

  • Homeserver: local

If not matrix.org:

  • Version: 0.33.7
  • Install method: package manager
  • Platform: plain linux
@tgurr
Copy link
Author

tgurr commented Oct 19, 2018

Duplicate of #4062

@tgurr tgurr closed this as completed Oct 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant