Comments (7)
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.
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.
Oh, I guess it could be an issue with the message, but how can I get more info than the above?
from altcointip.
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.
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.
Thanks, error found and fixed in 7306299
from altcointip.
Thanks very much!
from altcointip.
Related Issues (20)
- Watchdog that alerts when ALTcointip process is down HOT 1
- Action that shows exchange rate summary for given coin/fiat HOT 1
- Listen to this
- Facebook support
- Twitter support
- Password prompting
- Lazy PRAW calls
- Fixing Crash on Sponsored posts HOT 2
- Bot ignores tips made while it's processing HOT 7
- Bug report: ignore quotes HOT 1
- After updating: "Sorry <user>, I didn't understand your comment. Please verify syntax and try again." HOT 5
- GPL is considered ineffective for web applications HOT 1
- Bug when trying to run on custom coind HOT 11
- Bot crashed and won't start again. HOT 3
- hi, tryin to set this up for my coin.. HOT 21
- tipbot for a different site
- Please verify syntax and try again. HOT 16
- Issue when adding a custom coin HOT 4
- Crashing issues with latest versions of praw HOT 4
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 altcointip.