Comments (1)
I have the same problem playing with the client
in the shell
.
In [10]: client.get_forum_list(user_api_key=settings.DISQUS_API_KEY)
http://disqus.com/api/get_forum_list/?api_version=1.1
---------------------------------------------------------------------------
HTTPError Traceback (most recent call last)
<ipython-input-10-61ba99fc5336> in <module>()
----> 1 client.get_forum_list(user_api_key=settings.DISQUS_API_KEY)
~/Proyectos/Works/kornov/lib/python3.6/site-packages/disqus/api.py in call_method(**kwargs)
59 if attr in self.METHODS:
60 def call_method(**kwargs):
---> 61 return self.call(attr, **kwargs)
62 return call_method
63 raise AttributeError
~/Proyectos/Works/kornov/lib/python3.6/site-packages/disqus/api.py in call(self, method, **params)
86 request = self._get_request(url, self.METHODS[method], **params)
87 try:
---> 88 response = urlopen(request)
89 except URLError:
90 raise
/usr/lib64/python3.6/urllib/request.py in urlopen(url, data, timeout, cafile, capath, cadefault, context)
221 else:
222 opener = _opener
--> 223 return opener.open(url, data, timeout)
224
225 def install_opener(opener):
/usr/lib64/python3.6/urllib/request.py in open(self, fullurl, data, timeout)
530 for processor in self.process_response.get(protocol, []):
531 meth = getattr(processor, meth_name)
--> 532 response = meth(req, response)
533
534 return response
/usr/lib64/python3.6/urllib/request.py in http_response(self, request, response)
640 if not (200 <= code < 300):
641 response = self.parent.error(
--> 642 'http', request, response, code, msg, hdrs)
643
644 return response
/usr/lib64/python3.6/urllib/request.py in error(self, proto, *args)
568 if http_err:
569 args = (dict, 'default', 'http_error_default') + orig_args
--> 570 return self._call_chain(*args)
571
572 # XXX probably also want an abstract factory that knows when it makes
/usr/lib64/python3.6/urllib/request.py in _call_chain(self, chain, kind, meth_name, *args)
502 for handler in handlers:
503 func = getattr(handler, meth_name)
--> 504 result = func(*args)
505 if result is not None:
506 return result
/usr/lib64/python3.6/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs)
648 class HTTPDefaultErrorHandler(BaseHandler):
649 def http_error_default(self, req, fp, code, msg, hdrs):
--> 650 raise HTTPError(req.full_url, code, msg, hdrs, fp)
651
652 class HTTPRedirectHandler(BaseHandler):
HTTPError: HTTP Error 400: BAD REQUEST
from django-disqus.
Related Issues (20)
- Hardcoded HTTP protocol HOT 1
- pip installs develop branch HOT 3
- Disqus API Key Link Update
- Embed code doesn't work properly on https sites HOT 1
- Deprecated 'disqus_developer' var
- DeprecationWarning: django.utils.simplejson is deprecated; use json instead. HOT 9
- Comments showing in all posts
- link from documentation doesn't work
- Problems with encodings HOT 2
- Key Error 'request' HOT 2
- ImportError: No module named disqus HOT 2
- disqus change locale
- More tests
- django 1.4.8 No module named urllib.parse HOT 1
- Comments is not showing. HOT 2
- Update with latest disqus? HOT 6
- Got disqus working without this extension. cant get api key anymore without pro upgrade HOT 1
- disqus_identifier not being set HOT 7
- All comments on one page
- Order a recipe queryset by replies number using django-disqus
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 django-disqus.