Advertisement
Guest User

AltCoinTipbot error +rates

a guest
Mar 27th, 2014
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DEBUG:cointipbot:CointipBot::main(): beginning main() iteration
  2. DEBUG:cointipbot:< CointipBot::refresh_ev(): DONE (skipping)
  3. DEBUG:cointipbot:> CointipBot::check_inbox()
  4. INFO:cointipbot:CointipBot::check_inbox(): message from tipbottester
  5. DEBUG:cointipbot:> check_action(None)
  6. DEBUG:cointipbot:check_action(): <SELECT * FROM t_action WHERE msg_id = '1p2gea'>
  7. DEBUG:cointipbot:< check_action() DONE (no)
  8. DEBUG:cointipbot:CointipBot::check_inbox(): checking whether user 'tipbottester' is banned...
  9. DEBUG:cointipbot:> CtbUser::__init__(tipbottester)
  10. DEBUG:cointipbot:< CtbUser::__init__(tipbottester) DONE
  11. DEBUG:cointipbot:> eval_message()
  12. DEBUG:cointipbot:eval_message(): match found
  13. DEBUG:cointipbot:eval_message(): creating action rates: from_user=tipbottester, to_addr=None, amount=None, coin=None, fiat=None
  14. DEBUG:cointipbot:> CtbAction::__init__({'fiat_val': None, 'fiat': None, 'msg_id': None, 'subr': None, 'keyword': None, 'atype': 'rates', 'self': <ctb.ctb_action.CtbAction object at 0x391f650>, 'from_user': Redditor(user_name='tipbottester'), 'to_addr': None, 'to_user': None, 'ctb': <cointipbot.CointipBot object at 0x3660590>, 'coin_val': None, 'msg': <praw.objects.Message object at 0x391f090>, 'coin': None})
  15. DEBUG:cointipbot:> CtbUser::__init__(tipbottester)
  16. DEBUG:cointipbot:< CtbUser::__init__(tipbottester) DONE
  17. DEBUG:cointipbot:CtbAction::__init__(): <CtbAction: type=rates, msg.body=+rates, from_user=<CtbUser: name=tipbottester, giftamnt=None, joindate=None, addr={'nobl': u'9gasHVwjpmwWrcd82R4vCakJhqbg5e3Bww'}, redditobj=tipbottester, banned=False>, to_user=None, to_addr=None, coin=None, fiat=None, coin_val=None, fiat_val=None, subreddit=None>
  18. DEBUG:cointipbot:< CtbAction::__init__(atype=rates, from_user=tipbottester) DONE
  19. INFO:cointipbot:CointipBot::check_inbox(): rates from tipbottester (m.id 1p2gea)
  20. DEBUG:cointipbot:CointipBot::check_inbox(): message body: <+rates>
  21. DEBUG:cointipbot:> CtbAction::do()
  22. DEBUG:cointipbot:> CtbAction::rates()
  23. DEBUG:cointipbot:CtbExchange::get_ticker_value(poloniex.com, nobl, btc): calling /public?command=returnTicker to get BTC_NOBL...
  24. DEBUG:cointipbot:CtbExchange::get_ticker_value(poloniex.com, nobl, btc): result: 0.000000
  25. DEBUG:cointipbot:CtbAction::rates(): {'nobl': {'poloniex': {'usd': 9.7228350000225e-05, 'btc': 1.8e-07}, 'average': {'usd': 9.7228350000225e-05, 'btc': 1.8e-07}, 'bitstamp': {'usd': None, 'btc': None}, 'blockchaininfo': {'usd': None, 'btc': None}, 'vircurex': {'usd': None, 'btc': None}, 'btce': {'usd': None, 'btc': None}}}
  26. ERROR:cointipbot:CointipBot::check_inbox(): 'ctb.ctb_misc.DotDict object' has no attribute 'btc'
  27. ERROR:cointipbot:CointipBot::main(): exception: 'ctb.ctb_misc.DotDict object' has no attribute 'btc'
  28. ERROR:cointipbot:CointipBot::main(): traceback: Traceback (most recent call last):
  29. File "cointipbot.py", line 558, in main
  30. self.check_inbox()
  31. File "cointipbot.py", line 241, in check_inbox
  32. action.do()
  33. File "ctb/ctb_action.py", line 331, in do
  34. return self.rates()
  35. File "ctb/ctb_action.py", line 905, in rates
  36. msg = self.ctb.jenv.get_template('rates.tpl').render(coins=sorted(coins), exchanges=sorted(exchanges), rates=rates, fiat=fiat, a=self, ctb=self.ctb)
  37. File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 969, in render
  38. return self.environment.handle_exception(exc_info, True)
  39. File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 742, in handle_exception
  40. reraise(exc_type, exc_value, tb)
  41. File "tpl/jinja2/rates.tpl", line 9, in top-level template code
  42. {{ "\n**%s&nbsp;(%s)**|%s%.6f^%s%.4f" % (ctb.conf.coins[c].name, c.upper(), ctb.conf.coins.btc.symbol, rates[c]['average'].btc, ctb.conf.fiat[fiat].symbol, rates[c]['average'][fiat]) }}{% for e in exchanges %}
  43. File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 397, in getattr
  44. return getattr(obj, attribute)
  45. UndefinedError: 'ctb.ctb_misc.DotDict object' has no attribute 'btc'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement