Git Product home page Git Product logo

Comments (7)

vindimy avatar vindimy commented on June 24, 2024

Hey there,
I don't see that error coming up on my end. Could you post the debug output as well as the tip comment that caused it? Thanks.

from altcointip.

 avatar commented on June 24, 2024

DEBUG:cointipbot:> CointipBot::check_inbox()
INFO:cointipbot:CointipBot::check_inbox(): message from ViewSauce
DEBUG:cointipbot:> check_action(None)
DEBUG:cointipbot:check_action(): <SELECT * FROM t_action WHERE msg_id = '1i3oyu'>
DEBUG:cointipbot:< check_action() DONE (no)
DEBUG:cointipbot:CointipBot::check_inbox(): checking whether user 'ViewSauce' is banned...
DEBUG:cointipbot:> CtbUser::init(ViewSauce)
DEBUG:cointipbot:< CtbUser::init(ViewSauce) DONE
DEBUG:cointipbot:> eval_message()
DEBUG:cointipbot:eval_message(): match found
DEBUG:cointipbot:eval_message(): creating action givetip: from_user=ViewSauce, to_addr=None, amount=1, coin=ltc, fiat=None
DEBUG:cointipbot:> CtbAction::init({'fiat_val': None, 'fiat': None, 'msg_id': None, 'subr': None, 'keyword': None, 'atype': 'givetip', 'self': <ctb.ctb_action.CtbAction object at 0x36a0d90>, 'from_user': Redditor(user_name='ViewSauce'), 'to_addr': None, 'to_user': None, 'ctb': <cointipbot.CointipBot object at 0x337e7d0>, 'coin_val': u'1', 'msg': <praw.objects.Message object at 0x36a0690>, 'coin': 'ltc'})
DEBUG:cointipbot:> CtbUser::init(ViewSauce)
DEBUG:cointipbot:< CtbUser::init(ViewSauce) DONE
ERROR:cointipbot:CointipBot::check_inbox(): CtbAction::init(atype=givetip, from_user=ViewSauce): u_to xor addr_to must be set
ERROR:cointipbot:CointipBot::main(): exception: CtbAction::init(atype=givetip, from_user=ViewSauce): u_to xor addr_to must be set
ERROR:cointipbot:CointipBot::main(): traceback: Traceback (most recent call last):
File "cointipbot.py", line 558, in main
self.check_inbox()
File "cointipbot.py", line 235, in check_inbox
action = ctb_action.eval_message(m, self)
File "ctb/ctb_action.py", line 1074, in eval_message
ctb=ctb)
File "ctb/ctb_action.py", line 87, in init
raise Exception("CtbAction::init(atype=%s, from_user=%s): u_to xor addr_to must be set" % (self.type, self.u_from.name))
Exception: CtbAction::init(atype=givetip, from_user=ViewSauce): u_to xor addr_to must be set

from altcointip.

 avatar commented on June 24, 2024

Oh, I guess it could be an issue with the message, but how can I get more info than the above?

from altcointip.

vindimy avatar vindimy commented on June 24, 2024

I can try to locate an issue if you paste the tip message here. Also, there was an issue with sending tips thru PM (same error as yours) but it was fixed a few weeks back. Do you have the latest version of the code?

from altcointip.

 avatar commented on June 24, 2024

Oh, the reddit bot messaged my bot and threw it into a loop were my bot was replying to it with the same error message. That happened for an hour until i logged in through the site and also restarted the bot.

Damn, I logged in and checked the messages and the message ID in the error above is this:

ViewSauceinfo
[–] from ViewSauce sent 4 hours ago
+/u/litetip 1 LTC LKG9YhbXrSCKwZdoq36RnBwC5phPUf6pct
permalink

A private message tip.

Also, yes, current version.

from altcointip.

vindimy avatar vindimy commented on June 24, 2024

Thanks, error found and fixed in 7306299

from altcointip.

 avatar commented on June 24, 2024

Thanks very much!

from altcointip.

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.