Giter VIP home page Giter VIP logo

Comments (4)

freelo avatar freelo commented on August 23, 2024

I think this is a general problem of the current axolotl layer, which catches any exception that occurs even in the user's own code. It is quite likely that your mentioned decode error originates from your own code, but the exception is caught and printed by the axolotl layer.

@jlguardi This seems to be a trap I ran into yesterday as well. Instead of honouring an exception in my reception code, axolotl simply retried and finally sent a receipt. That generic Exception catching was introduced in 0031df4, see line 256. I don't think an otherwise transparent axolotl layer should be doing such stuff. Yes, it does emit a warning concerning the actual error(without stack trace), but I rather want the exception to be seen in higher levels (a crashing application is better than a suppressed/conceiled error).

from yowsup.

jlguardi avatar jlguardi commented on August 23, 2024

@freelo Of course. But I got an axolotl genric Exception and I was trying to deal with:
yowsup/layers/axolotl/store/sqlite/liteprekeystore.py +20 -> raise Exception("No such prekeyRecord!")

At this moment, I'm getting this kind of errors and I can't avoid them. Just sending a message to the recipient.

from yowsup.

timoort avatar timoort commented on August 23, 2024

@jlguardi I am looking for support regarding yowsup. I was wondering if you are interested in helping us. Please contact me via [email protected]

from yowsup.

jlguardi avatar jlguardi commented on August 23, 2024

@bdbais
Are you using last master? on this version we have some coder improvements probably related with this error.
@freelo
I'm fixing it. By now, send a message to recipient and encryption will work again.

Do not delete axolotl.db or the error will come back.

from yowsup.

Related Issues (20)

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.