Git Product home page Git Product logo

Comments (4)

doged avatar doged commented on July 3, 2024

@blixnood having same issue, but crash is different:

dude@ubuntu:~/reddittipbot/src# ./_start.sh
INFO:cointipbot:CointipBot::init_logging(): -------------------- logging initialized --------------------
DEBUG:cointipbot:CointipBot::connect_db(): connecting to database...
INFO:cointipbot:CointipBot::connect_db(): connected to database xxx
DEBUG:cointipbot:CtbCoin::init(): connecting to DogecoinDark...
DEBUG:bitcoin:Read 8 parameters from ~/.DogeCoinDark/DogeCoinDark.conf
DEBUG:bitcoin:Making HTTP connection to 127.0.0.1:8332
INFO:cointipbot:CtbCoin::init():: connected to DogecoinDark
INFO:cointipbot:Setting tx fee of 1.000000
DEBUG:bitcoin:Starting "settxfee" JSON-RPC request
DEBUG:bitcoin:Got 36 byte response from server in 4 ms
DEBUG:cointipbot:CtbExchange::init(): initialized exchange pubapi.cryptsy.com
DEBUG:cointipbot:CointipBot::connect_reddit(): connecting to Reddit...
Version 2.1.19 of praw is outdated. Version 3.2.1 was released Wednesday August 19, 2015.
Traceback (most recent call last):
File "", line 1, in
File "cointipbot.py", line 521, in init
self.reddit = self.connect_reddit()
File "cointipbot.py", line 125, in connect_reddit
conn.login(self.conf.reddit.auth.user, self.conf.reddit.auth.password)
File "/usr/local/lib/python2.7/dist-packages/praw/init.py", line 1266, in login
self.user = self.get_redditor(user)
File "/usr/local/lib/python2.7/dist-packages/praw/init.py", line 890, in get_redditor
return objects.Redditor(self, user_name, _args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/praw/objects.py", line 663, in init
fetch, info_url)
File "/usr/local/lib/python2.7/dist-packages/praw/objects.py", line 72, in init
self.has_fetched = self._populate(json_dict, fetch)
File "/usr/local/lib/python2.7/dist-packages/praw/objects.py", line 127, in _populate
json_dict = self._get_json_dict() if fetch else {}
File "/usr/local/lib/python2.7/dist-packages/praw/objects.py", line 120, in _get_json_dict
as_objects=False)
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 526, in request_json
data = json.loads(response, object_hook=hook)
File "/usr/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

from altcointip.

doged avatar doged commented on July 3, 2024

was working fine until a week or two ago.. just noticed this earlier today..

from altcointip.

evan4498 avatar evan4498 commented on July 3, 2024

FYI We are seeing the same thing...

Traceback (most recent call last):
File "bot.py", line 63, in
x = RedditBot()
File "bot.py", line 36, in init
self.check_loop()
File "bot.py", line 42, in check_loop
for comment in self.r.get_comments('maddenultimateteam', limit=50):
File "/usr/local/lib/python2.7/dist-packages/praw/init.py", line 549, in get_content
page_data = self.request_json(url, params=params)
File "", line 2, in request_json
File "/usr/local/lib/python2.7/dist-packages/praw/decorators.py", line 113, in raise_api_exceptions
return_value = function(_args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/praw/init.py", line 604, in request_json
retry_on_error=retry_on_error)
File "/usr/local/lib/python2.7/dist-packages/praw/init.py", line 437, in _request
_raise_response_exceptions(response)
File "/usr/local/lib/python2.7/dist-packages/praw/internal.py", line 207, in _raise_response_exceptions
raise HTTPException(_raw=exc.response)

from altcointip.

vindimy avatar vindimy commented on July 3, 2024

Merge #45 should address this.

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.