Git Product home page Git Product logo

Comments (3)

vindimy avatar vindimy commented on June 24, 2024

It might have something to do with your version of Python SQL library .. Try upgrading it.

Sent from my iPad

On Jun 19, 2014, at 4:52 PM, blixnood [email protected] wrote:

crash

WARNING 2014-06-18 15:35:51,393 eval_message(): CtbAction::init(atype=withdraw, from_user=): couldn't determine coinval from keyword 'all' (not float)
ERROR 2014-06-18 15:48:38,147 get_actions(): error executing <SELECT * FROM t_action WHERE type = 'givetip' AND state = 'pending' AND to_user = '**
_'>: can't set attribute
ERROR 2014-06-18 15:48:38,147 CointipBot::check_inbox(): can't set attribute
ERROR 2014-06-18 15:48:38,147 CointipBot::main(): exception: can't set attribute
ERROR 2014-06-18 15:48:38,236 CointipBot::main(): traceback: Traceback (most recent call last):
File "cointipbot.py", line 558, in main
self.check_inbox()
File "cointipbot.py", line 241, in check_inbox
action.do()
File "ctb/ctb_action.py", line 303, in do
return self.accept()
File "ctb/ctb_action.py", line 379, in accept
actions = get_actions(atype='givetip', to_user=self.u_from.name, state='pending', ctb=self.ctb)
File "ctb/ctb_action.py", line 1254, in get_actions
submission = ctb_misc.praw_call(ctb.reddit.get_submission, m['msg_link'])
File "ctb/ctb_misc.py", line 38, in praw_call
res = prawFunc(_extraArgs, *_extraKwArgs)
File "/usr/local/lib/python2.7/dist-packages/praw/init.py", line 888, in get_submission
comment_sort=comment_sort)
File "/usr/local/lib/python2.7/dist-packages/praw/decorators.py", line 323, in wrapped
return function(cls, *args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/praw/objects.py", line 842, in from_url
s_info, c_info = reddit_session.request_json(url, params=params)
File "/usr/local/lib/python2.7/dist-packages/praw/decorators.py", line 161, in wrapped
return_value = function(reddit_session, _args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/praw/init.py", line 496, in request_json
data = json.loads(response, object_hook=hook)
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return cls(encoding=encoding, **kw).decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 381, in raw_decode
obj, end = self.scan_once(s, idx)
File "/usr/local/lib/python2.7/dist-packages/praw/init.py", line 391, in _json_reddit_objecter
return object_class.from_api_response(self, json_data['data'])
File "/usr/local/lib/python2.7/dist-packages/praw/objects.py", line 56, in from_api_response
return cls(reddit_session, json_dict=json_dict)
File "/usr/local/lib/python2.7/dist-packages/praw/objects.py", line 510, in init
underscore_names=['replies'])
File "/usr/local/lib/python2.7/dist-packages/praw/objects.py", line 70, in init
self.has_fetched = self._populate(json_dict, fetch)
File "/usr/local/lib/python2.7/dist-packages/praw/objects.py", line 137, in _populate
setattr(self, name, value)
File "/usr/local/lib/python2.7/dist-packages/praw/objects.py", line 98, in setattr
object.setattr(self, name, value)
AttributeError: can't set attribute

ERROR 2014-06-19 03:24:08,351 get_actions(): error executing <SELECT * FROM t_action WHERE type = 'givetip' AND state = 'pending' AND coin = 'ltc'>: can't set attribute
ERROR 2014-06-19 03:24:21,654 get_actions(): error executing <SELECT * FROM t_action WHERE type = 'givetip' AND state = 'pending' AND coin = 'ltc'>: can't set attribute
info.log when trying to restart

INFO 2014-06-19 03:43:46,523 : can't set attribute
end of debug.log when trying to restart

DEBUG 2014-06-19 03:43:47,040 get_actions(): <SELECT * FROM t_action WHERE type = 'givetip' AND state = 'pending' AND coin = 'ltc'>
DEBUG 2014-06-19 03:43:47,043 get_actions(): found http://www.reddit.com/r/teenagers/comments/28cuzp/discussion_thirst_thread/ci9owg4 / ci9owg4
ERROR 2014-06-19 03:43:48,582 get_actions(): error executing : can't set attribute

Reply to this email directly or view it on GitHub.

from altcointip.

 avatar commented on June 24, 2024

I don't see why that would suddenly cause an error after many months but I'll look into it.

from altcointip.

 avatar commented on June 24, 2024

Something that didn't get written to the log: praw was updated 10 hours ago. That's what was causing the failure.

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.