|25 Jan 2020|
|16:01:47||kuhaku||I can only help with the latter|
|16:01:53||nolan||I imagine for Debian it's enough to run the pip3 install command in the README. It probably goes into PYTHONPATH. Docker is a bit more complicated since PYTHONPATH directories are all to read-only paths in the image.|
In reply to @kuhaku:nop.zone Obviously no. As I said this is a plain, ordinary debian with the deb installed from the official debian repo (well, experimental section, but anyway)
are you using docker or just a virtualenv?
|16:03:08||kuhaku||I would just try the global python env|
|16:03:11||grin|| nolan: I fear it screws up the system; does pip have some dry-run flags? |
|16:03:21||kuhaku||synapse will complain if it isn't able to find the module|
|16:04:04||grin||well there's no pip on the system, this suggests the possible negative implications of installing and running it.... ☹︎|
In reply to @kuhaku:nop.zone yes but I will complain if everything else stops working
synapse will complain if it isn't able to find the module
|16:04:56||grin||would be nice to do it pipless|
|16:06:01||nolan||Pretty sure there's a Pip Debian package, but I'm not a Python person. You may also be able to check it out somewhere.|
|16:06:05||kuhaku||can't help you in that case 🙂 |
|16:06:17||grin|| kuhaku: ok thanks. |
|16:06:46||grin|| nolan: there is, but it's fiddling with the rest of the system in nonstandard way. well, okay, had to try. |
|16:07:05||kuhaku|| grin: I would suggest compiling python from source and installing synapse there with a virtualenv |
|16:07:22||nolan||Then again, PYTHONPATH may not be enough, I imagine Synapse iterates through a directory somewhere to load all modules it contains. Where this directory is should probably be documented alongside each platform if we'll need to start using antispam modules. :(|
|16:07:20||grin||since it's a 5 line script I guess I can simply move it under the dir and had to include its name somewhere|
|16:07:54||grin|| yep, that somewhere is my specific problem. |
|16:08:12||kuhaku||I think synapse is just loading a plain old python module?|
In reply to @kuhaku:nop.zone Probably, but presumably it needs to distinguish its own addons from other modules installed via pip. It's probably enough to do a git clone...somewhere...
I think synapse is just loading a plain old python module?
|16:11:38||grin||how can I see the pythonpath by python3?|
|16:26:54||MiloIgnis_old_account joined the room.|
|16:29:07||grin|| miloignis: I see you. |
|16:29:14||grin|| miloignis: also try #ping:maunium.net |
In reply to @grin:grin.hu I can't see this on my room409.xyz side - is it possible that my server is somehow making only outgoing stuff and not receiving anything?
miloignis: I see you.
In reply to @grin:grin.hu Ok, I can join and ping it, but I receive no responses on the room409.xyz side, but I can see that the bots are responding from this account
miloignis: also try #ping:maunium.net
|16:33:41||grin|| MiloIgnis_old_account: I don't see any errors on your server locally |
|16:40:15||grin|| MiloIgnis_old_account: I have invited your old account to the direct chat as well |
|16:40:37||grin||but anyway, your well-known is bad AND your server refuses connection on 8448|