-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Demo scripts don't fail to start if poetry install
hasn't been run
#14337
Comments
Do you have logs? I'm wondering why the server would even start at all and get as far as giving you internal server errors if you hadn't |
I have
(truncated in length, I'm afraid). It looks like the error occurred when Element attempted to log in a user, rather than immediately on server start. After |
(I wonder if this is just unfortunate timing and would now be fixed by the Rust source hash verification at import time? If not, it probably should ...?) |
Hm? What's this? |
https://github.com/matrix-org/synapse/pull/13759/files makes it so the Rust library has, embedded within it, a hash of the source files it was compiled from. For editable installs, the Python code in Synapse checks this hash matches the files on disk at import time. |
I can reproduce it with the following steps:
|
I would add logging to https://github.com/matrix-org/synapse/pull/13759/files#diff-bcd0248ee6210ff2315a5728748a1e831c02794f01411492c97ed6019d63f8cdR23-R46 and rerun the demo script. I would guess that the demo scripts launch synapse with a different PWD, meaning that they don't find |
In fact, from the comment it looks like it's supposed to be looking for |
I got a bit confused today while running the demo scripts. I received an internal server error in my client, which was remedied by remembering to run
poetry install
aftergit pull
ingdevelop
.We made Synapse fail to start if there was a pending
poetry install
in #13759. It would be nice if a similar error appeared when trying to run the demo scripts.The text was updated successfully, but these errors were encountered: