Git Product home page Git Product logo

Comments (6)

djl0 avatar djl0 commented on August 19, 2024

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.

anoadragon453 avatar anoadragon453 commented on August 19, 2024

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.

djl0 avatar djl0 commented on August 19, 2024

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.

PeterSR avatar PeterSR commented on August 19, 2024

@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.

djl0 avatar djl0 commented on August 19, 2024

@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.

PeterSR avatar PeterSR commented on August 19, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.