Comments (6)
I appreciate your work on this. I'm following to see when you can help with this (along with libolm setup issue) because I think without store, I can't store the sync token, which is a pain. Thanks!
from nio-template.
Unfortunately this is an upstream problem with matrix-nio. I could possibly reintroduce storing the synctoken in the database, but it had a habit of killing the server: #2
Perhaps providing a docker image which has the dependencies already installed would help?
from nio-template.
a docker image would be amazing. In order to run this template even without encryption, I had to comment out a line in the Nio base_client which required the store class in the config. Not sure if I missed something, though.
Much thanks!
from nio-template.
@anoadragon453 Seems like you already have contributed with such a Docker image here: https://github.com/poljar/matrix-nio/tree/master/docker
But it would be nice to just be able to use it without encryption and OLM. @djl0, can you explain a bit more about what you did?
from nio-template.
@PeterSR apologies for the delay. This has been on the back burner for a while, so I don't remember exactly. I will try to pull it up at some point. It looks like the Nio code has changed a bit as well in the last couple of months, so maybe they fixed it? But I was just running this without encryption, there there were some errors in the Nio package regarding store
, and I just had to comment those out. It was in this file: https://github.com/poljar/matrix-nio/blob/master/nio/client/base_client.py
from nio-template.
@djl0 No worries, thank you for the reply. I ended up getting OLM to work and it fixed the problems I was facing, even when encryption is disabled in the client config.
If you commented out parts of matrix-nio, I guess you didn't install it via pip?
Edit: My main issue now is actually that sync tokens are not properly stored in the store (sqlite db) sometimes.
from nio-template.
Related Issues (14)
- Homeserver flood with sync messages HOT 3
- Factor out YAML config file reading
- Add docs for installing encryption deps and enabling encryption HOT 3
- Add quickstart guide HOT 4
- Add testing examples
- Timeout errors HOT 1
- Does not work with Synapse v1.38+
- Misleading in the way it fires `invite` events HOT 1
- ClientConnectionError HOT 1
- Don't (try to) react to messages older than max(session creation, room join)
- Pills aren't spec compliant HOT 1
- Include an message when bot doesn't support encrypted rooms but is in one
- Bot re-execute all commands after re-joining the room
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nio-template.